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  LWHistLeakChecker
 
class  ToolBench
 

Public Types

typedef std::map< std::string, TObject * > ObjMap_t
 
typedef std::map< std::string, LWHist * > ObjMapLW_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
 
ObjMapLW_t m_objMapLW
 
AthenaMonManagerm_theManager
 
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
 
long m_nActiveLWHists
 
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 40 of file AthenaMonManager.cxx.

Member Typedef Documentation

◆ ObjMap_t

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

Definition at line 77 of file AthenaMonManager.cxx.

◆ ObjMapLW_t

typedef std::map<std::string,LWHist*> AthenaMonManager::Imp::ObjMapLW_t

Definition at line 80 of file AthenaMonManager.cxx.

Constructor & Destructor Documentation

◆ Imp()

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

Definition at line 42 of file AthenaMonManager.cxx.

42  : m_theManager(man),
43  m_sgAudSvc(0),
44  m_isPrimaryManager(false),
45  m_everyNevents(-1),
46  m_eventCounter(-1),
49  m_dataTypeProp("userDefined"),
50  m_environmentProp("user"),
51  m_LBsLowStatProp(10),
52  m_LBsMedStatProp(30),
53  m_LBsHigStatProp(90),
54  m_manualRunLBProp(false),
55  m_runProp(0),
56  m_lumiBlockProp(0),
59  m_forkedProcess(false),
60  m_lastPID(0),
61  m_rootBackend(false),
62  m_doResourceMon(false)
63  {}

◆ ~Imp()

AthenaMonManager::Imp::~Imp ( )
inline

Definition at line 65 of file AthenaMonManager.cxx.

66  {
68 
69  for (it=m_toolbenchmarks.begin(),itE=m_toolbenchmarks.end(); it!=itE; ++it) {
70  delete it->second;
71  }
72 
73  m_toolbenchmarks.clear();
74  }

Member Function Documentation

◆ getToolBench()

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

Definition at line 163 of file AthenaMonManager.cxx.

163  {
165  if (it==m_toolbenchmarks.end()) {
166  ToolBench*tb =new ToolBench(t);
167  m_toolbenchmarks[t] = tb;
168  return tb;
169  }
170  return it->second;
171  }

◆ toolAudEnd()

void AthenaMonManager::Imp::toolAudEnd ( )
inline

Definition at line 130 of file AthenaMonManager.cxx.

130  {
132  }

◆ toolAudStart()

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

Definition at line 127 of file AthenaMonManager.cxx.

127  {
128  if (m_sgAudSvc) m_sgAudSvc->setFakeCurrentAlg(m_theManager->name()+"_MT_"+tool->name());
129  }

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/11]

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

Definition at line 182 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [2/11]

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

Definition at line 183 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [3/11]

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

Definition at line 184 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [4/11]

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

Definition at line 185 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [5/11]

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

Definition at line 187 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [6/11]

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

Definition at line 188 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [7/11]

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

Definition at line 189 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [8/11]

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

Definition at line 190 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [9/11]

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

Definition at line 191 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [10/11]

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

Definition at line 192 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [11/11]

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

Definition at line 193 of file AthenaMonManager.cxx.

◆ m_dataTypeProp

std::string AthenaMonManager::Imp::m_dataTypeProp

Definition at line 94 of file AthenaMonManager.cxx.

◆ m_doResourceMon

bool AthenaMonManager::Imp::m_doResourceMon

Definition at line 134 of file AthenaMonManager.cxx.

◆ m_environmentProp

std::string AthenaMonManager::Imp::m_environmentProp

Definition at line 95 of file AthenaMonManager.cxx.

◆ m_eventCounter

long AthenaMonManager::Imp::m_eventCounter

Definition at line 89 of file AthenaMonManager.cxx.

◆ m_everyNevents

long AthenaMonManager::Imp::m_everyNevents

Definition at line 88 of file AthenaMonManager.cxx.

◆ m_fileKeyProp

std::string AthenaMonManager::Imp::m_fileKeyProp

Definition at line 91 of file AthenaMonManager.cxx.

◆ m_forkedProcess

bool AthenaMonManager::Imp::m_forkedProcess

Definition at line 106 of file AthenaMonManager.cxx.

◆ m_isPrimaryManager

bool AthenaMonManager::Imp::m_isPrimaryManager

Definition at line 86 of file AthenaMonManager.cxx.

◆ m_lastPID

pid_t AthenaMonManager::Imp::m_lastPID

Definition at line 107 of file AthenaMonManager.cxx.

◆ m_LBsHigStatProp

unsigned int AthenaMonManager::Imp::m_LBsHigStatProp

Definition at line 96 of file AthenaMonManager.cxx.

◆ m_LBsLowStatProp

unsigned int AthenaMonManager::Imp::m_LBsLowStatProp

Definition at line 96 of file AthenaMonManager.cxx.

◆ m_LBsMedStatProp

unsigned int AthenaMonManager::Imp::m_LBsMedStatProp

Definition at line 96 of file AthenaMonManager.cxx.

◆ m_lumiBlockProp

unsigned int AthenaMonManager::Imp::m_lumiBlockProp

Definition at line 101 of file AthenaMonManager.cxx.

◆ m_manualDataTypeSetupProp

bool AthenaMonManager::Imp::m_manualDataTypeSetupProp

Definition at line 93 of file AthenaMonManager.cxx.

◆ m_manualRunLBProp

bool AthenaMonManager::Imp::m_manualRunLBProp

Definition at line 98 of file AthenaMonManager.cxx.

◆ m_nActiveLWHists

long AthenaMonManager::Imp::m_nActiveLWHists

Definition at line 104 of file AthenaMonManager.cxx.

◆ m_nMonGroupCopies

unsigned AthenaMonManager::Imp::m_nMonGroupCopies

Definition at line 103 of file AthenaMonManager.cxx.

◆ m_objMap

ObjMap_t AthenaMonManager::Imp::m_objMap

Definition at line 78 of file AthenaMonManager.cxx.

◆ m_objMapLW

ObjMapLW_t AthenaMonManager::Imp::m_objMapLW

Definition at line 81 of file AthenaMonManager.cxx.

◆ m_rootBackend

bool AthenaMonManager::Imp::m_rootBackend

Definition at line 109 of file AthenaMonManager.cxx.

◆ m_runProp

unsigned int AthenaMonManager::Imp::m_runProp

Definition at line 100 of file AthenaMonManager.cxx.

◆ m_sgAudSvc

ISGAudSvc* AthenaMonManager::Imp::m_sgAudSvc

Definition at line 84 of file AthenaMonManager.cxx.

◆ m_theManager

AthenaMonManager* AthenaMonManager::Imp::m_theManager

Definition at line 83 of file AthenaMonManager.cxx.

◆ m_toolbenchmarks

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

Definition at line 162 of file AthenaMonManager.cxx.

◆ s_staticDataAreInit

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

Definition at line 180 of file AthenaMonManager.cxx.

◆ s_svcLocator

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

Definition at line 178 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:162
AthenaMonManager::Imp::m_eventCounter
long m_eventCounter
Definition: AthenaMonManager.cxx:89
AthenaMonManager::Imp::m_everyNevents
long m_everyNevents
Definition: AthenaMonManager.cxx:88
skel.it
it
Definition: skel.GENtoEVGEN.py:423
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ISGAudSvc::setFakeCurrentAlg
virtual void setFakeCurrentAlg(const std::string &)
Definition: ISGAudSvc.h:37
AthenaMonManager::Imp::m_nActiveLWHists
long m_nActiveLWHists
Definition: AthenaMonManager.cxx:104
ISGAudSvc::clearFakeCurrentAlg
virtual void clearFakeCurrentAlg()
Definition: ISGAudSvc.h:38
TruthTest.itE
itE
Definition: TruthTest.py:25
AthenaMonManager::Imp::m_runProp
unsigned int m_runProp
Definition: AthenaMonManager.cxx:100
AthenaMonManager::Imp::m_isPrimaryManager
bool m_isPrimaryManager
Definition: AthenaMonManager.cxx:86
AthenaMonManager::Imp::m_sgAudSvc
ISGAudSvc * m_sgAudSvc
Definition: AthenaMonManager.cxx:84
AthenaMonManager::Imp::m_environmentProp
std::string m_environmentProp
Definition: AthenaMonManager.cxx:95
Execution.tb
tb
Definition: Execution.py:15
AthenaMonManager::Imp::m_dataTypeProp
std::string m_dataTypeProp
Definition: AthenaMonManager.cxx:94
AthenaMonManager::Imp::m_LBsLowStatProp
unsigned int m_LBsLowStatProp
Definition: AthenaMonManager.cxx:96
AthenaMonManager::Imp::m_nMonGroupCopies
unsigned m_nMonGroupCopies
Definition: AthenaMonManager.cxx:103
AthenaMonManager::Imp::m_manualDataTypeSetupProp
bool m_manualDataTypeSetupProp
Definition: AthenaMonManager.cxx:93
AthenaMonManager::Imp::m_manualRunLBProp
bool m_manualRunLBProp
Definition: AthenaMonManager.cxx:98
AthenaMonManager::Imp::m_LBsMedStatProp
unsigned int m_LBsMedStatProp
Definition: AthenaMonManager.cxx:96
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
AthenaMonManager::Imp::m_fileKeyProp
std::string m_fileKeyProp
Definition: AthenaMonManager.cxx:91
AthenaMonManager::Imp::m_theManager
AthenaMonManager * m_theManager
Definition: AthenaMonManager.cxx:83
AthenaMonManager::Imp::m_doResourceMon
bool m_doResourceMon
Definition: AthenaMonManager.cxx:134
AthenaMonManager::Imp::m_forkedProcess
bool m_forkedProcess
Definition: AthenaMonManager.cxx:106
AthenaMonManager::Imp::m_rootBackend
bool m_rootBackend
Definition: AthenaMonManager.cxx:109
AthenaMonManager::Imp::m_lumiBlockProp
unsigned int m_lumiBlockProp
Definition: AthenaMonManager.cxx:101
AthenaMonManager::Imp::m_lastPID
pid_t m_lastPID
Definition: AthenaMonManager.cxx:107
AthenaMonManager::Imp::m_LBsHigStatProp
unsigned int m_LBsHigStatProp
Definition: AthenaMonManager.cxx:96