ATLAS Offline Software
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AthenaMonManager::Imp Class Reference
Collaboration diagram for AthenaMonManager::Imp:

Classes

class  HistLeakChecker
 
class  ToolBench
 

Public Types

typedef std::map< std::string, TObject * > ObjMap_t
 

Public Member Functions

 Imp (AthenaMonManager *man, const std::string &name)
 
 ~Imp ()
 
template<class T >
void toolAudStart (const T &tool)
 
void toolAudEnd ()
 
ToolBenchgetToolBench (IMonitorToolBase *t)
 

Public Attributes

ObjMap_t m_objMap
 
AthenaMonManagerm_theManager
 
SmartIF< ISGAudSvcm_sgAudSvc
 
bool m_isPrimaryManager
 
long m_everyNevents
 
long m_eventCounter
 
std::string m_fileKeyProp
 
bool m_manualDataTypeSetupProp
 
std::string m_dataTypeProp
 
std::string m_environmentProp
 
unsigned int m_LBsLowStatProp
 
unsigned int m_LBsMedStatProp
 
unsigned int m_LBsHigStatProp
 
bool m_manualRunLBProp
 
unsigned int m_runProp
 
unsigned int m_lumiBlockProp
 
unsigned m_nMonGroupCopies
 
bool m_forkedProcess
 
pid_t m_lastPID
 
bool m_rootBackend
 
bool m_doResourceMon
 
std::map< IMonitorToolBase *, ToolBench * > m_toolbenchmarks
 

Static Public Attributes

static std::atomic< ISvcLocator * > s_svcLocator {nullptr}
 
static std::atomic< bool > s_staticDataAreInit {false}
 
static std::string s_dataTypeStr ATLAS_THREAD_SAFE {"userDefined"}
 
static std::string s_environmentStr ATLAS_THREAD_SAFE {"user"}
 
static DataType_t s_dataType ATLAS_THREAD_SAFE {userDefined}
 
static Environment_t s_environment ATLAS_THREAD_SAFE {user}
 
static bool s_runLBOverridden ATLAS_THREAD_SAFE {false}
 
static unsigned int s_lumiBlock ATLAS_THREAD_SAFE {0}
 
static unsigned int s_run ATLAS_THREAD_SAFE {0}
 
static unsigned int s_fill ATLAS_THREAD_SAFE {0}
 
static unsigned int s_LBsLowStat ATLAS_THREAD_SAFE {0}
 
static unsigned int s_LBsMedStat ATLAS_THREAD_SAFE {0}
 
static unsigned int s_LBsHigStat ATLAS_THREAD_SAFE {0}
 

Detailed Description

Definition at line 36 of file AthenaMonManager.cxx.

Member Typedef Documentation

◆ ObjMap_t

typedef std::map<std::string,TObject*> AthenaMonManager::Imp::ObjMap_t

Definition at line 72 of file AthenaMonManager.cxx.

Constructor & Destructor Documentation

◆ Imp()

AthenaMonManager::Imp::Imp ( AthenaMonManager man,
const std::string &  name 
)
inline

Definition at line 38 of file AthenaMonManager.cxx.

38  : m_theManager(man),
39  m_sgAudSvc(0),
40  m_isPrimaryManager(false),
41  m_everyNevents(-1),
42  m_eventCounter(-1),
45  m_dataTypeProp("userDefined"),
46  m_environmentProp("user"),
47  m_LBsLowStatProp(10),
48  m_LBsMedStatProp(30),
49  m_LBsHigStatProp(90),
50  m_manualRunLBProp(false),
51  m_runProp(0),
52  m_lumiBlockProp(0),
54  m_forkedProcess(false),
55  m_lastPID(0),
56  m_rootBackend(false),
57  m_doResourceMon(false)
58  {}

◆ ~Imp()

AthenaMonManager::Imp::~Imp ( )
inline

Definition at line 60 of file AthenaMonManager.cxx.

61  {
63 
64  for (it=m_toolbenchmarks.begin(),itE=m_toolbenchmarks.end(); it!=itE; ++it) {
65  delete it->second;
66  }
67 
68  m_toolbenchmarks.clear();
69  }

Member Function Documentation

◆ getToolBench()

ToolBench* AthenaMonManager::Imp::getToolBench ( IMonitorToolBase t)
inline

Definition at line 150 of file AthenaMonManager.cxx.

150  {
152  if (it==m_toolbenchmarks.end()) {
153  ToolBench*tb =new ToolBench(t);
154  m_toolbenchmarks[t] = tb;
155  return tb;
156  }
157  return it->second;
158  }

◆ toolAudEnd()

void AthenaMonManager::Imp::toolAudEnd ( )
inline

Definition at line 119 of file AthenaMonManager.cxx.

119  {
120  if (m_sgAudSvc) m_sgAudSvc->clearFakeCurrentAlg();
121  }

◆ toolAudStart()

template<class T >
void AthenaMonManager::Imp::toolAudStart ( const T &  tool)
inline

Definition at line 116 of file AthenaMonManager.cxx.

116  {
117  if (m_sgAudSvc) m_sgAudSvc->setFakeCurrentAlg(m_theManager->name()+"_MT_"+tool->name());
118  }

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/11]

std::string s_dataTypeStr AthenaMonManager::Imp::ATLAS_THREAD_SAFE {"userDefined"}
inlinestatic

Definition at line 169 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [2/11]

std::string s_environmentStr AthenaMonManager::Imp::ATLAS_THREAD_SAFE {"user"}
inlinestatic

Definition at line 170 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [3/11]

DataType_t s_dataType AthenaMonManager::Imp::ATLAS_THREAD_SAFE {userDefined}
inlinestatic

Definition at line 171 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [4/11]

Environment_t s_environment AthenaMonManager::Imp::ATLAS_THREAD_SAFE {user}
inlinestatic

Definition at line 172 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [5/11]

bool s_runLBOverridden AthenaMonManager::Imp::ATLAS_THREAD_SAFE {false}
inlinestatic

Definition at line 174 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [6/11]

unsigned int s_lumiBlock AthenaMonManager::Imp::ATLAS_THREAD_SAFE {0}
inlinestatic

Definition at line 175 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [7/11]

unsigned int s_run AthenaMonManager::Imp::ATLAS_THREAD_SAFE {0}
inlinestatic

Definition at line 176 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [8/11]

unsigned int s_fill AthenaMonManager::Imp::ATLAS_THREAD_SAFE {0}
inlinestatic

Definition at line 177 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [9/11]

unsigned int s_LBsLowStat AthenaMonManager::Imp::ATLAS_THREAD_SAFE {0}
inlinestatic

Definition at line 178 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [10/11]

unsigned int s_LBsMedStat AthenaMonManager::Imp::ATLAS_THREAD_SAFE {0}
inlinestatic

Definition at line 179 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [11/11]

unsigned int s_LBsHigStat AthenaMonManager::Imp::ATLAS_THREAD_SAFE {0}
inlinestatic

Definition at line 180 of file AthenaMonManager.cxx.

◆ m_dataTypeProp

std::string AthenaMonManager::Imp::m_dataTypeProp

Definition at line 86 of file AthenaMonManager.cxx.

◆ m_doResourceMon

bool AthenaMonManager::Imp::m_doResourceMon

Definition at line 123 of file AthenaMonManager.cxx.

◆ m_environmentProp

std::string AthenaMonManager::Imp::m_environmentProp

Definition at line 87 of file AthenaMonManager.cxx.

◆ m_eventCounter

long AthenaMonManager::Imp::m_eventCounter

Definition at line 81 of file AthenaMonManager.cxx.

◆ m_everyNevents

long AthenaMonManager::Imp::m_everyNevents

Definition at line 80 of file AthenaMonManager.cxx.

◆ m_fileKeyProp

std::string AthenaMonManager::Imp::m_fileKeyProp

Definition at line 83 of file AthenaMonManager.cxx.

◆ m_forkedProcess

bool AthenaMonManager::Imp::m_forkedProcess

Definition at line 97 of file AthenaMonManager.cxx.

◆ m_isPrimaryManager

bool AthenaMonManager::Imp::m_isPrimaryManager

Definition at line 78 of file AthenaMonManager.cxx.

◆ m_lastPID

pid_t AthenaMonManager::Imp::m_lastPID

Definition at line 98 of file AthenaMonManager.cxx.

◆ m_LBsHigStatProp

unsigned int AthenaMonManager::Imp::m_LBsHigStatProp

Definition at line 88 of file AthenaMonManager.cxx.

◆ m_LBsLowStatProp

unsigned int AthenaMonManager::Imp::m_LBsLowStatProp

Definition at line 88 of file AthenaMonManager.cxx.

◆ m_LBsMedStatProp

unsigned int AthenaMonManager::Imp::m_LBsMedStatProp

Definition at line 88 of file AthenaMonManager.cxx.

◆ m_lumiBlockProp

unsigned int AthenaMonManager::Imp::m_lumiBlockProp

Definition at line 93 of file AthenaMonManager.cxx.

◆ m_manualDataTypeSetupProp

bool AthenaMonManager::Imp::m_manualDataTypeSetupProp

Definition at line 85 of file AthenaMonManager.cxx.

◆ m_manualRunLBProp

bool AthenaMonManager::Imp::m_manualRunLBProp

Definition at line 90 of file AthenaMonManager.cxx.

◆ m_nMonGroupCopies

unsigned AthenaMonManager::Imp::m_nMonGroupCopies

Definition at line 95 of file AthenaMonManager.cxx.

◆ m_objMap

ObjMap_t AthenaMonManager::Imp::m_objMap

Definition at line 73 of file AthenaMonManager.cxx.

◆ m_rootBackend

bool AthenaMonManager::Imp::m_rootBackend

Definition at line 100 of file AthenaMonManager.cxx.

◆ m_runProp

unsigned int AthenaMonManager::Imp::m_runProp

Definition at line 92 of file AthenaMonManager.cxx.

◆ m_sgAudSvc

SmartIF<ISGAudSvc> AthenaMonManager::Imp::m_sgAudSvc

Definition at line 76 of file AthenaMonManager.cxx.

◆ m_theManager

AthenaMonManager* AthenaMonManager::Imp::m_theManager

Definition at line 75 of file AthenaMonManager.cxx.

◆ m_toolbenchmarks

std::map<IMonitorToolBase*,ToolBench*> AthenaMonManager::Imp::m_toolbenchmarks

Definition at line 149 of file AthenaMonManager.cxx.

◆ s_staticDataAreInit

std::atomic<bool> AthenaMonManager::Imp::s_staticDataAreInit {false}
inlinestatic

Definition at line 167 of file AthenaMonManager.cxx.

◆ s_svcLocator

std::atomic<ISvcLocator*> AthenaMonManager::Imp::s_svcLocator {nullptr}
inlinestatic

Definition at line 165 of file AthenaMonManager.cxx.


The documentation for this class was generated from the following file:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
AthenaMonManager::Imp::m_toolbenchmarks
std::map< IMonitorToolBase *, ToolBench * > m_toolbenchmarks
Definition: AthenaMonManager.cxx:149
AthenaMonManager::Imp::m_eventCounter
long m_eventCounter
Definition: AthenaMonManager.cxx:81
AthenaMonManager::Imp::m_everyNevents
long m_everyNevents
Definition: AthenaMonManager.cxx:80
skel.it
it
Definition: skel.GENtoEVGEN.py:396
AthenaMonManager::Imp::m_sgAudSvc
SmartIF< ISGAudSvc > m_sgAudSvc
Definition: AthenaMonManager.cxx:76
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TruthTest.itE
itE
Definition: TruthTest.py:25
AthenaMonManager::Imp::m_runProp
unsigned int m_runProp
Definition: AthenaMonManager.cxx:92
AthenaMonManager::Imp::m_isPrimaryManager
bool m_isPrimaryManager
Definition: AthenaMonManager.cxx:78
AthenaMonManager::Imp::m_environmentProp
std::string m_environmentProp
Definition: AthenaMonManager.cxx:87
Execution.tb
tb
Definition: Execution.py:15
AthenaMonManager::Imp::m_dataTypeProp
std::string m_dataTypeProp
Definition: AthenaMonManager.cxx:86
AthenaMonManager::Imp::m_LBsLowStatProp
unsigned int m_LBsLowStatProp
Definition: AthenaMonManager.cxx:88
AthenaMonManager::Imp::m_nMonGroupCopies
unsigned m_nMonGroupCopies
Definition: AthenaMonManager.cxx:95
AthenaMonManager::Imp::m_manualDataTypeSetupProp
bool m_manualDataTypeSetupProp
Definition: AthenaMonManager.cxx:85
AthenaMonManager::Imp::m_manualRunLBProp
bool m_manualRunLBProp
Definition: AthenaMonManager.cxx:90
AthenaMonManager::Imp::m_LBsMedStatProp
unsigned int m_LBsMedStatProp
Definition: AthenaMonManager.cxx:88
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
AthenaMonManager::Imp::m_fileKeyProp
std::string m_fileKeyProp
Definition: AthenaMonManager.cxx:83
AthenaMonManager::Imp::m_theManager
AthenaMonManager * m_theManager
Definition: AthenaMonManager.cxx:75
AthenaMonManager::Imp::m_doResourceMon
bool m_doResourceMon
Definition: AthenaMonManager.cxx:123
AthenaMonManager::Imp::m_forkedProcess
bool m_forkedProcess
Definition: AthenaMonManager.cxx:97
AthenaMonManager::Imp::m_rootBackend
bool m_rootBackend
Definition: AthenaMonManager.cxx:100
AthenaMonManager::Imp::m_lumiBlockProp
unsigned int m_lumiBlockProp
Definition: AthenaMonManager.cxx:93
AthenaMonManager::Imp::m_lastPID
pid_t m_lastPID
Definition: AthenaMonManager.cxx:98
AthenaMonManager::Imp::m_LBsHigStatProp
unsigned int m_LBsHigStatProp
Definition: AthenaMonManager.cxx:88