![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Top Algorithm of the Inner Detector Global Monitoring.
More...
#include <InDetGlobalManager.h>
|
enum | Environment_t {
user = 0,
noOutput,
online,
tier0,
tier0Raw,
tier0ESD,
AOD,
altprod
} |
| An enumeration of the different types of running environment the monitoring application may be in. More...
|
|
enum | DataType_t {
userDefined = 0,
monteCarlo,
collisions,
cosmics,
heavyIonCollisions
} |
| An enumeration of the different types of data the monitoring application may be running over. More...
|
|
|
| InDetGlobalManager (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | execute () |
|
virtual StatusCode | finalize () |
|
bool | forkedProcess () |
|
virtual StatusCode | start () |
|
virtual StatusCode | stop () |
|
virtual std::string | fileKey () const |
|
virtual void | passOwnership (TObject *h, const std::string &key) |
| Pass ownership of a TObject/LWHist to this manager so that it will be deleted appropriately. More...
|
|
virtual void | passOwnership (LWHist *h, const std::string &key) |
|
virtual void | writeAndDelete (const std::string &key) |
| If the TObject is owned by this manager, its Write() method is called and it is deleted. More...
|
|
virtual LWHist * | ownedLWHistOfKey (const std::string &key) const |
|
virtual LWHist * | writeAndDeleteLWHist (const std::string &key, const std::string &streamName) |
|
virtual void | writeAndDeleteLWHist (LWHist *lwh) |
|
virtual LWHist * | writeAndResetLWHist (const std::string &key, const std::string &streamName) |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
Gaudi::Property< bool > | m_doTopBottom {this,"doTopBottom", false, "Check differences between top and bottom of detector (seems deprecated...)"} |
|
Gaudi::Property< bool > | m_doPixel {this, "doPixel", true, "Pixel is available in this data"} |
|
Gaudi::Property< bool > | m_doSCT {this, "doSCT", true, "SCT is available in this data"} |
|
Gaudi::Property< bool > | m_doTRT {this, "doTRT", true, "TRT is available in this data"} |
|
Gaudi::Property< bool > | m_doBCM {this, "doBCM", false, "BCM is available in this data"} |
|
Gaudi::Property< bool > | m_doTiming {this, "doTiming", false, "Timing containers are available (data, not MC)"} |
|
Gaudi::Property< bool > | m_doTRTPhase {this, "doTRTPhase", false, "TRT Phase Information available (cosmics)"} |
|
Imp * | m_d |
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
|
Names of objects to retrieve and feed into the monitoring AlgTools
Name of combined inner detector tracks container
|
SG::ReadHandleKey< TrackCollection > | m_CombinedTracksName {this,"CombinedTrackName", "ExtendedTracks", "Combined Track Collection For Monitoring"} |
|
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > | m_TRT_DriftCircleName {this,"TRT_DriftCircleName", "TRT_DriftCircles", "TRT Drift Circle Collection For Monitoring"} |
| Name of trt drift circle container. More...
|
|
SG::ReadHandleKey< BCM_RDO_Container > | m_BCM_RDOs {this, "BCMRDOName", "BCM_RDOs", "BCM Clusters for Monitoring"} |
|
SG::ReadHandleKey< PixelRDO_Container > | m_PixelRDOs {this, "PixelRDOName", "PixelRDOs", "Pixel Clusters for Monitoring"} |
|
SG::ReadHandleKey< SCT_RDO_Container > | m_SCT_RDOs {this, "SCTRDOName", "SCT_RDOs", "SCT Clusters for monitoring"} |
|
SG::ReadHandleKey< InDetTimeCollection > | m_PixelLVL1ID {this, "PixelLVL1IDName", "PixelLVL1ID", "Pixel LVL1 ID for Monitoring"} |
|
SG::ReadHandleKey< InDetTimeCollection > | m_SCT_LVL1ID {this, "SCTLVL1IDName", "SCT_LVL1ID", "SCT LVL1 ID for Monitoring"} |
|
SG::ReadHandleKey< InDetTimeCollection > | m_TRT_LVL1ID {this, "TRTLVL1IDName", "TRT_LVL1ID", "TRT LVL1 ID for Monitoring"} |
|
SG::ReadHandleKey< InDetTimeCollection > | m_PixelBCID {this, "PixelBCIDName", "PixelBCID", "Pixel BCID for Monitoring"} |
|
SG::ReadHandleKey< InDetTimeCollection > | m_SCT_BCID {this, "SCTBCIDName", "SCT_BCID", "SCT BCID for Monitoring"} |
|
SG::ReadHandleKey< InDetTimeCollection > | m_TRT_BCID {this, "TRTBCIDName", "TRT_BCID", "TRT BCID For Monitoring"} |
|
SG::ReadHandleKey< ComTime > | m_TRT_Phase {this, "TRTPhaseName", "TRT_Phase", "TRT Phase for Monitoring"} |
|
Top Algorithm of the Inner Detector Global Monitoring.
Definition at line 42 of file InDetGlobalManager.h.
◆ StoreGateSvc_t
◆ DataType_t
An enumeration of the different types of data the monitoring application may be running over.
This can be used to select which histograms to produce, e.g., to prevent the production of colliding-beam histograms when running on cosmic-ray data. Strings of the same names may be given as jobOptions.
Enumerator |
---|
userDefined | |
monteCarlo | |
collisions | |
cosmics | |
heavyIonCollisions | |
Definition at line 58 of file AthenaMonManager.h.
◆ Environment_t
An enumeration of the different types of running environment the monitoring application may be in.
The running environment may be used to select which histograms are produced, and where they are located in the output. For example, the output paths of the histograms are different for the "user", "online" and the various offline flags. The 'tier0Raw' and 'tier0ESD' are used to select sets of histograms for production either during the RAW --> ESD transform or during the ESD --> AOD transform (but not both!) Strings of the same names may be given as jobOptions.
Enumerator |
---|
user | |
noOutput | |
online | |
tier0 | |
tier0Raw | |
tier0ESD | |
AOD | |
altprod | |
Definition at line 49 of file AthenaMonManager.h.
◆ InDetGlobalManager()
InDetGlobalManager::InDetGlobalManager |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase objects determine which histograms to produce.
Definition at line 337 of file AthenaMonManager.cxx.
340 return Imp::s_dataType;
◆ dataTypeStringToEnum()
Converts a string to a DataType_t of the same name.
Definition at line 289 of file AthenaMonManager.cxx.
292 std::string lcstr( strToLower(
str) );
294 if( lcstr ==
"userdefined" )
296 else if( lcstr ==
"montecarlo" )
298 else if( lcstr ==
"collisions" )
300 else if( lcstr ==
"cosmics" )
302 else if( lcstr ==
"heavyioncollisions" )
308 if(
sc.isSuccess() ) {
309 MsgStream
log(
ms,
"AthenaMonManager::dataTypeStringToEnum()" );
310 log << MSG::WARNING <<
"Unknown AthenaMonManager::DataType_t \""
311 <<
str <<
"\", returning \"userDefined\"" <<
endmsg;
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ environment()
◆ envStringToEnum()
Converts a string to an Environment_t of the same name.
static method (shared by all AthenaMonManager instances during run-time)
Definition at line 252 of file AthenaMonManager.cxx.
255 std::string lcstr( strToLower(
str) );
257 if( lcstr ==
"user" )
259 else if( lcstr ==
"nooutput" )
261 else if( lcstr ==
"online" )
263 else if( lcstr ==
"tier0" )
265 else if( lcstr ==
"tier0raw" )
267 else if( lcstr ==
"tier0esd" )
269 else if( lcstr ==
"aod" )
271 else if( lcstr ==
"altprod" )
277 if(
sc.isSuccess() ) {
278 MsgStream
log(
ms,
"AthenaMonManager::envStringToEnum()" );
279 log << MSG::WARNING <<
"Unknown AthenaMonManager::Environment_t \""
280 <<
str <<
"\", returning \"user\"" <<
endmsg;
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode InDetGlobalManager::execute |
( |
| ) |
|
|
virtual |
Reimplemented from AthenaMonManager.
Definition at line 113 of file InDetGlobalManager.cxx.
122 if (combined_tracks.isValid()){
127 msg(MSG::ERROR) <<
"No combined tracks in StoreGate"<<
endmsg;
128 return StatusCode::FAILURE;
136 if (bcmRdoContainer.isValid()){
139 int_BCM_RDOs = bcmRdoContainer.cptr();
142 msg(MSG::ERROR) <<
"No BCM RDOs in StoreGate"<<
endmsg;
143 return StatusCode::FAILURE;
148 int_BCM_RDOs =
nullptr;
158 if (pixRdoContainer.isValid()){
161 int_Pixel_RDOs = pixRdoContainer.cptr();
164 msg(MSG::ERROR) <<
"No Pixel RDOs in StoreGate"<<
endmsg;
165 return StatusCode::FAILURE;
169 if (pixel_LVL1IDColl.isValid()){
170 msg(
MSG::DEBUG) <<
"found Pixel LVL1ID information in StoreGate "
172 int_Pixel_LVL1ID = pixel_LVL1IDColl.cptr();
175 msg(MSG::ERROR) <<
"No Pixel LVL1ID information in StoreGate"<<
endmsg;
176 return StatusCode::FAILURE;
180 if (pixel_BCIDColl.isValid()){
181 msg(
MSG::DEBUG) <<
"found Pixel BCID information in StoreGate "
183 int_Pixel_BCID = pixel_BCIDColl.cptr();
186 msg(MSG::ERROR) <<
"No Pixel BCID information in StoreGate"<<
endmsg;
187 return StatusCode::FAILURE;
191 int_Pixel_LVL1ID =
nullptr;
192 int_Pixel_BCID =
nullptr;
197 int_Pixel_RDOs =
nullptr;
198 int_Pixel_LVL1ID =
nullptr;
199 int_Pixel_BCID =
nullptr;
209 if (sctRdoContainer.isValid()){
212 int_SCT_RDOs = sctRdoContainer.cptr();
215 msg(MSG::ERROR) <<
"No SCT RDOs in StoreGate"<<
endmsg;
216 return StatusCode::FAILURE;
221 if (sct_LVL1IDColl.isValid()){
222 msg(
MSG::DEBUG) <<
"found SCT LVL1ID information in StoreGate "
224 int_SCT_LVL1ID = sct_LVL1IDColl.cptr();
227 msg(MSG::ERROR) <<
"No SCT LVL1ID information in StoreGate"<<
endmsg;
228 return StatusCode::FAILURE;
232 if (sct_BCIDColl.isValid()){
235 int_SCT_BCID = sct_BCIDColl.cptr();
238 msg(MSG::ERROR) <<
"No SCT BCID information in StoreGate"<<
endmsg;
239 return StatusCode::FAILURE;
243 int_SCT_LVL1ID=
nullptr;
244 int_SCT_BCID =
nullptr;
249 int_SCT_RDOs =
nullptr;
250 int_SCT_LVL1ID=
nullptr;
251 int_SCT_BCID =
nullptr;
263 if (driftCircleContainer.isValid()){
266 int_DriftCircles = driftCircleContainer.cptr();
269 msg(MSG::ERROR) <<
"No TRT driftcircles in StoreGate"<<
endmsg;
270 return StatusCode::FAILURE;
275 if (trt_LVL1IDColl.isValid()){
276 msg(
MSG::DEBUG) <<
"found TRT LVL1ID information in StoreGate "
278 int_TRT_LVL1ID = trt_LVL1IDColl.cptr();
281 msg(MSG::ERROR) <<
"No TRT LVL1ID information in StoreGate"<<
endmsg;
282 return StatusCode::FAILURE;
286 if (trt_BCIDColl.isValid()){
289 int_TRT_BCID = trt_BCIDColl.cptr();
292 msg(MSG::ERROR) <<
"No TRT BCID information in StoreGate"<<
endmsg;
293 return StatusCode::FAILURE;
297 int_TRT_LVL1ID =
nullptr;
298 int_TRT_BCID =
nullptr;
303 if (trtPhase.isValid()){
304 msg(
MSG::DEBUG) <<
"found TRT event phase information in StoreGate "
306 int_TRT_Phase = trtPhase.cptr();
310 msg(MSG::ERROR) <<
"No TRT event phase information in StoreGate"<<
endmsg;
311 return StatusCode::FAILURE;
314 else int_TRT_Phase =
nullptr;
318 int_DriftCircles =
nullptr;
319 int_TRT_LVL1ID =
nullptr;
320 int_TRT_BCID =
nullptr;
321 int_TRT_Phase =
nullptr;
329 i != monToolsEnd; ++
i ) {
330 ToolHandle<IMonitorToolBase>&
tool = *
i;
335 if( managed !=
nullptr ) {
337 <<
"Loop over InDetGlobalMonTool " <<managed <<
endmsg;
339 managed->
fillRDOContainers(int_BCM_RDOs, int_Pixel_RDOs, int_SCT_RDOs, int_DriftCircles);
340 managed->
fillTimeContainers( int_Pixel_LVL1ID,int_SCT_LVL1ID,int_TRT_LVL1ID, int_Pixel_BCID, int_SCT_BCID, int_TRT_BCID, int_TRT_Phase );
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ fileKey()
std::string AthenaMonManager::fileKey |
( |
| ) |
const |
|
virtualinherited |
◆ fillNumber()
unsigned int AthenaMonManager::fillNumber |
( |
| ) |
|
|
staticinherited |
◆ finalize()
StatusCode InDetGlobalManager::finalize |
( |
| ) |
|
|
virtual |
◆ forkedProcess()
bool AthenaMonManager::forkedProcess |
( |
| ) |
|
|
inherited |
◆ getLBsHigStat()
unsigned int AthenaMonManager::getLBsHigStat |
( |
| ) |
|
|
staticinherited |
◆ getLBsLowStat()
unsigned int AthenaMonManager::getLBsLowStat |
( |
| ) |
|
|
staticinherited |
◆ getLBsMedStat()
unsigned int AthenaMonManager::getLBsMedStat |
( |
| ) |
|
|
staticinherited |
◆ initialize()
StatusCode InDetGlobalManager::initialize |
( |
| ) |
|
|
virtual |
Reimplemented from AthenaMonManager.
Definition at line 48 of file InDetGlobalManager.cxx.
53 const TRT_ID *trtID =
nullptr;
56 return StatusCode::FAILURE;
60 const SCT_ID *sctID =
nullptr;
63 return StatusCode::FAILURE;
67 const PixelID *pixelID =
nullptr;
70 return StatusCode::FAILURE;
80 if( !
sc.isSuccess() )
return sc;
84 i != monToolsEnd; ++
i ) {
85 ToolHandle<IMonitorToolBase>&
tool = *
i;
89 if( managed !=
nullptr ) {
108 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ lumiBlockNumber()
unsigned int AthenaMonManager::lumiBlockNumber |
( |
| ) |
|
|
staticinherited |
Definition at line 351 of file AthenaMonManager.cxx.
354 if (Imp::s_runLBOverridden) {
355 return Imp::s_lumiBlock;
357 return Gaudi::Hive::currentContext().eventID().lumi_block();
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ ownedLWHistOfKey()
LWHist * AthenaMonManager::ownedLWHistOfKey |
( |
const std::string & |
key | ) |
const |
|
virtualinherited |
◆ passOwnership() [1/2]
void AthenaMonManager::passOwnership |
( |
LWHist * |
h, |
|
|
const std::string & |
key |
|
) |
| |
|
virtualinherited |
◆ passOwnership() [2/2]
void AthenaMonManager::passOwnership |
( |
TObject * |
h, |
|
|
const std::string & |
key |
|
) |
| |
|
virtualinherited |
Pass ownership of a TObject/LWHist to this manager so that it will be deleted appropriately.
Definition at line 706 of file AthenaMonManager.cxx.
709 Imp::ObjMap_t::value_type valToInsert(
key,
h );
◆ renounce()
◆ renounceArray()
◆ runNumber()
unsigned int AthenaMonManager::runNumber |
( |
| ) |
|
|
staticinherited |
Definition at line 363 of file AthenaMonManager.cxx.
366 if (Imp::s_runLBOverridden) {
369 return Gaudi::Hive::currentContext().eventID().run_number();
◆ start()
StatusCode AthenaMonManager::start |
( |
| ) |
|
|
virtualinherited |
Definition at line 662 of file AthenaMonManager.cxx.
665 Imp::LWHistLeakChecker
lc(
m_d);
672 ToolHandle<IMonitorToolBase>&
tool = *
i;
681 tb->m_bench_algexec_bookHists += bench_tmp;
683 if( !
sc.isSuccess() ) {
684 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"IMonitorToolBase::bookHists() unsuccessful" <<
endmsg;
693 return StatusCode::SUCCESS;
◆ stop()
StatusCode AthenaMonManager::stop |
( |
| ) |
|
|
virtualinherited |
Definition at line 606 of file AthenaMonManager.cxx.
609 Imp::LWHistLeakChecker
lc(
m_d);
616 ToolHandle<IMonitorToolBase>&
tool = *
i;
620 if( !
sc.isSuccess() ) {
621 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"IMonitorToolBase::runStat() unsuccessful" <<
endmsg;
626 tb->m_bench_algfin_finalHists.startMeasurement();
629 tb->m_bench_algfin_finalHists.finishMeasurement();
630 if( !
sc.isSuccess() ) {
631 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"IMonitorToolBase::finalHists() unsuccessful" <<
endmsg;
634 tb->m_bench_algfin_checkHists.startMeasurement();
635 sc =
tool->checkHists(
true);
637 tb->m_bench_algfin_checkHists.finishMeasurement();
638 if( !
sc.isSuccess() ) {
639 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"IMonitorToolBase::checkHists() unsuccessful" <<
endmsg;
642 tb->m_bench_algfin_convertLWHists.startMeasurement();
643 sc =
tool->convertLWHists();
645 tb->m_bench_algfin_convertLWHists.finishMeasurement();
646 if( !
sc.isSuccess() ) {
647 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"IMonitorToolBase::convertLWHists() unsuccessful" <<
endmsg;
654 msg(
MSG::DEBUG) <<
" --> Done calling IMonitorToolBase::finalHists() and IMonitorToolBase::checkHists()" <<
endmsg;
657 return StatusCode::SUCCESS;
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ writeAndDelete()
void AthenaMonManager::writeAndDelete |
( |
const std::string & |
key | ) |
|
|
virtualinherited |
If the TObject is owned by this manager, its Write() method is called and it is deleted.
Definition at line 869 of file AthenaMonManager.cxx.
877 TObject* o =
i->second;
878 TH1*
h =
dynamic_cast<TH1*
>( o );
884 bool doRecursiveReferenceDelete = gROOT->MustClean();
885 gROOT->SetMustClean(
false);
886 TDirectory*
dir =
h->GetDirectory();
894 if( !
sc.isSuccess() ) {
895 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"AthenaMonManager::WriteAndDeleteHist(): Failure to deReg( TObject* )" <<
endmsg;
898 gROOT->SetMustClean(doRecursiveReferenceDelete);
◆ writeAndDeleteLWHist() [1/2]
LWHist * AthenaMonManager::writeAndDeleteLWHist |
( |
const std::string & |
key, |
|
|
const std::string & |
streamName |
|
) |
| |
|
virtualinherited |
Definition at line 742 of file AthenaMonManager.cxx.
752 LWHist * lwhist =iLW->second;
773 bool doRecursiveReferenceDelete = gROOT->MustClean();
774 gROOT->SetMustClean(
false);
775 TDirectory*
dir =
h->GetDirectory();
783 if( !
sc.isSuccess() )
785 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"AthenaMonManager::WriteAndDeleteHist(): Failure to deReg( TObject* )" <<
endmsg;
792 gROOT->SetMustClean(doRecursiveReferenceDelete);
◆ writeAndDeleteLWHist() [2/2]
void AthenaMonManager::writeAndDeleteLWHist |
( |
LWHist * |
lwh | ) |
|
|
virtualinherited |
◆ writeAndResetLWHist()
LWHist * AthenaMonManager::writeAndResetLWHist |
( |
const std::string & |
key, |
|
|
const std::string & |
streamName |
|
) |
| |
|
virtualinherited |
Definition at line 801 of file AthenaMonManager.cxx.
811 LWHist * lwhist =iLW->second;
832 bool doRecursiveReferenceDelete = gROOT->MustClean();
833 gROOT->SetMustClean(
false);
834 TDirectory*
dir =
h->GetDirectory();
842 if( !
sc.isSuccess() )
844 if (
msgLvl(MSG::WARNING))
msg(MSG::WARNING) <<
"AthenaMonManager::WriteAndDeleteHist(): Failure to deReg( TObject* )" <<
endmsg;
859 gROOT->SetMustClean(doRecursiveReferenceDelete);
◆ m_BCM_RDOs
◆ m_CombinedTracksName
◆ m_d
Imp* AthenaMonManager::m_d |
|
privateinherited |
◆ m_detStore
◆ m_doBCM
Gaudi::Property<bool> InDetGlobalManager::m_doBCM {this, "doBCM", false, "BCM is available in this data"} |
|
private |
◆ m_doPixel
Gaudi::Property<bool> InDetGlobalManager::m_doPixel {this, "doPixel", true, "Pixel is available in this data"} |
|
private |
◆ m_doSCT
Gaudi::Property<bool> InDetGlobalManager::m_doSCT {this, "doSCT", true, "SCT is available in this data"} |
|
private |
◆ m_doTiming
Gaudi::Property<bool> InDetGlobalManager::m_doTiming {this, "doTiming", false, "Timing containers are available (data, not MC)"} |
|
private |
◆ m_doTopBottom
Gaudi::Property<bool> InDetGlobalManager::m_doTopBottom {this,"doTopBottom", false, "Check differences between top and bottom of detector (seems deprecated...)"} |
|
private |
◆ m_doTRT
Gaudi::Property<bool> InDetGlobalManager::m_doTRT {this, "doTRT", true, "TRT is available in this data"} |
|
private |
◆ m_doTRTPhase
Gaudi::Property<bool> InDetGlobalManager::m_doTRTPhase {this, "doTRTPhase", false, "TRT Phase Information available (cosmics)"} |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_monTools
◆ m_PixelBCID
◆ m_PixelLVL1ID
◆ m_PixelRDOs
◆ m_SCT_BCID
◆ m_SCT_LVL1ID
◆ m_SCT_RDOs
◆ m_THistSvc
ITHistSvc* AthenaMonManager::m_THistSvc |
|
protectedinherited |
◆ m_TRT_BCID
◆ m_TRT_DriftCircleName
◆ m_TRT_LVL1ID
◆ m_TRT_Phase
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
SG::ReadHandleKey< InDetTimeCollection > m_SCT_LVL1ID
SG::ReadHandleKey< SCT_RDO_Container > m_SCT_RDOs
Gaudi::Property< bool > m_doTRT
SG::ReadHandleKey< BCM_RDO_Container > m_BCM_RDOs
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode finalize()
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
SG::ReadHandleKey< PixelRDO_Container > m_PixelRDOs
bool msgLvl(const MSG::Level lvl) const
Gaudi::Property< bool > m_doSCT
SG::ReadHandleKey< InDetTimeCollection > m_TRT_BCID
Gaudi::Property< bool > m_doPixel
SG::ReadHandleKey< InDetTimeCollection > m_PixelBCID
static std::atomic< ISvcLocator * > s_svcLocator
Gaudi::Property< bool > m_doTRTPhase
void toolAudStart(const T &tool)
Gaudi::Property< bool > m_doTiming
SG::ReadHandleKey< InDetTimeCollection > m_SCT_BCID
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
static const std::string & streamName(LWHist *)
bool usingROOTBackend() const
virtual StatusCode sysInitialize() override
Override sysInitialize.
static const std::string & key(LWHist *)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
ToolHandleArray< IMonitorToolBase > m_monTools
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_TRT_DriftCircleName
Name of trt drift circle container.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
SG::ReadHandleKey< ComTime > m_TRT_Phase
Trk::PrepRawDataContainer< TRT_DriftCircleCollection > TRT_DriftCircleContainer
std::vector< std::pair< uint32_t, unsigned int > > InDetTimeCollection
Gaudi::Property< bool > m_doBCM
virtual StatusCode execute()
std::string m_fileKeyProp
ToolBench * getToolBench(IMonitorToolBase *t)
void setOwnsROOTHisto(bool b)
DataObjIDColl m_extendedExtraObjects
SG::ReadHandleKey< InDetTimeCollection > m_PixelLVL1ID
static void deleteLWHist(LWHist *)
AthenaMonManager(const std::string &name, ISvcLocator *pSvcLocator)
#define ATH_MSG_WARNING(x)
SG::ReadHandleKey< InDetTimeCollection > m_TRT_LVL1ID
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
SG::ReadHandleKey< TrackCollection > m_CombinedTracksName
virtual TH1 * getROOTHistBase()=0
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
virtual StatusCode initialize()