ATLAS Offline Software
Loading...
Searching...
No Matches
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 35 of file AthenaMonManager.cxx.

Member Typedef Documentation

◆ ObjMap_t

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

Definition at line 71 of file AthenaMonManager.cxx.

Constructor & Destructor Documentation

◆ Imp()

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

Definition at line 37 of file AthenaMonManager.cxx.

37 : m_theManager(man),
38 m_sgAudSvc(0),
39 m_isPrimaryManager(false),
42 m_fileKeyProp(name),
44 m_dataTypeProp("userDefined"),
45 m_environmentProp("user"),
49 m_manualRunLBProp(false),
50 m_runProp(0),
53 m_forkedProcess(false),
54 m_lastPID(0),
55 m_rootBackend(false),
56 m_doResourceMon(false)
57 {}
AthenaMonManager * m_theManager
SmartIF< ISGAudSvc > m_sgAudSvc

◆ ~Imp()

AthenaMonManager::Imp::~Imp ( )
inline

Definition at line 59 of file AthenaMonManager.cxx.

60 {
61 std::map<IMonitorToolBase*,ToolBench*>::iterator it, itE;
62
63 for (it=m_toolbenchmarks.begin(),itE=m_toolbenchmarks.end(); it!=itE; ++it) {
64 delete it->second;
65 }
66
67 m_toolbenchmarks.clear();
68 }
std::map< IMonitorToolBase *, ToolBench * > m_toolbenchmarks

Member Function Documentation

◆ getToolBench()

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

Definition at line 149 of file AthenaMonManager.cxx.

149 {
150 std::map<IMonitorToolBase*,ToolBench*>::iterator it = m_toolbenchmarks.find(t);
151 if (it==m_toolbenchmarks.end()) {
152 ToolBench*tb =new ToolBench(t);
154 return tb;
155 }
156 return it->second;
157 }

◆ toolAudEnd()

void AthenaMonManager::Imp::toolAudEnd ( )
inline

Definition at line 118 of file AthenaMonManager.cxx.

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

◆ toolAudStart()

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

Definition at line 115 of file AthenaMonManager.cxx.

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

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/11]

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

Definition at line 168 of file AthenaMonManager.cxx.

168{"userDefined"};

◆ ATLAS_THREAD_SAFE [2/11]

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

Definition at line 169 of file AthenaMonManager.cxx.

169{"user"};

◆ ATLAS_THREAD_SAFE [3/11]

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

Definition at line 170 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [4/11]

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

Definition at line 171 of file AthenaMonManager.cxx.

◆ ATLAS_THREAD_SAFE [5/11]

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

Definition at line 173 of file AthenaMonManager.cxx.

173{false};

◆ ATLAS_THREAD_SAFE [6/11]

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

Definition at line 174 of file AthenaMonManager.cxx.

174{0};

◆ ATLAS_THREAD_SAFE [7/11]

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

Definition at line 175 of file AthenaMonManager.cxx.

175{0};

◆ ATLAS_THREAD_SAFE [8/11]

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

Definition at line 176 of file AthenaMonManager.cxx.

176{0};

◆ ATLAS_THREAD_SAFE [9/11]

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

Definition at line 177 of file AthenaMonManager.cxx.

177{0};

◆ ATLAS_THREAD_SAFE [10/11]

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

Definition at line 178 of file AthenaMonManager.cxx.

178{0};

◆ ATLAS_THREAD_SAFE [11/11]

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

Definition at line 179 of file AthenaMonManager.cxx.

179{0};

◆ m_dataTypeProp

std::string AthenaMonManager::Imp::m_dataTypeProp

Definition at line 85 of file AthenaMonManager.cxx.

◆ m_doResourceMon

bool AthenaMonManager::Imp::m_doResourceMon

Definition at line 122 of file AthenaMonManager.cxx.

◆ m_environmentProp

std::string AthenaMonManager::Imp::m_environmentProp

Definition at line 86 of file AthenaMonManager.cxx.

◆ m_eventCounter

long AthenaMonManager::Imp::m_eventCounter

Definition at line 80 of file AthenaMonManager.cxx.

◆ m_everyNevents

long AthenaMonManager::Imp::m_everyNevents

Definition at line 79 of file AthenaMonManager.cxx.

◆ m_fileKeyProp

std::string AthenaMonManager::Imp::m_fileKeyProp

Definition at line 82 of file AthenaMonManager.cxx.

◆ m_forkedProcess

bool AthenaMonManager::Imp::m_forkedProcess

Definition at line 96 of file AthenaMonManager.cxx.

◆ m_isPrimaryManager

bool AthenaMonManager::Imp::m_isPrimaryManager

Definition at line 77 of file AthenaMonManager.cxx.

◆ m_lastPID

pid_t AthenaMonManager::Imp::m_lastPID

Definition at line 97 of file AthenaMonManager.cxx.

◆ m_LBsHigStatProp

unsigned int AthenaMonManager::Imp::m_LBsHigStatProp

Definition at line 87 of file AthenaMonManager.cxx.

◆ m_LBsLowStatProp

unsigned int AthenaMonManager::Imp::m_LBsLowStatProp

Definition at line 87 of file AthenaMonManager.cxx.

◆ m_LBsMedStatProp

unsigned int AthenaMonManager::Imp::m_LBsMedStatProp

Definition at line 87 of file AthenaMonManager.cxx.

◆ m_lumiBlockProp

unsigned int AthenaMonManager::Imp::m_lumiBlockProp

Definition at line 92 of file AthenaMonManager.cxx.

◆ m_manualDataTypeSetupProp

bool AthenaMonManager::Imp::m_manualDataTypeSetupProp

Definition at line 84 of file AthenaMonManager.cxx.

◆ m_manualRunLBProp

bool AthenaMonManager::Imp::m_manualRunLBProp

Definition at line 89 of file AthenaMonManager.cxx.

◆ m_nMonGroupCopies

unsigned AthenaMonManager::Imp::m_nMonGroupCopies

Definition at line 94 of file AthenaMonManager.cxx.

◆ m_objMap

ObjMap_t AthenaMonManager::Imp::m_objMap

Definition at line 72 of file AthenaMonManager.cxx.

◆ m_rootBackend

bool AthenaMonManager::Imp::m_rootBackend

Definition at line 99 of file AthenaMonManager.cxx.

◆ m_runProp

unsigned int AthenaMonManager::Imp::m_runProp

Definition at line 91 of file AthenaMonManager.cxx.

◆ m_sgAudSvc

SmartIF<ISGAudSvc> AthenaMonManager::Imp::m_sgAudSvc

Definition at line 75 of file AthenaMonManager.cxx.

◆ m_theManager

AthenaMonManager* AthenaMonManager::Imp::m_theManager

Definition at line 74 of file AthenaMonManager.cxx.

◆ m_toolbenchmarks

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

Definition at line 148 of file AthenaMonManager.cxx.

◆ s_staticDataAreInit

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

Definition at line 166 of file AthenaMonManager.cxx.

166{false};

◆ s_svcLocator

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

Definition at line 164 of file AthenaMonManager.cxx.

164{nullptr};

The documentation for this class was generated from the following file: