ATLAS Offline Software
SingleTrackValidation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARG4VALIDATION_SINGLETRACKVALIDATION_H
6 #define LARG4VALIDATION_SINGLETRACKVALIDATION_H
7 
13 #include "GaudiKernel/IPartPropSvc.h"
14 #include "GaudiKernel/ITHistSvc.h"
15 // For MC Truth information:
17 
18 #include "TH1F.h"
19 
21 
22 public:
23 
24  SingleTrackValidation(const std::string & name, ISvcLocator *pSvcLocator);
26  StatusCode initialize() override;
27  StatusCode execute() override;
28  StatusCode finalize() override;
29 
30 private:
31 
32  SG::ReadHandleKey<McEventCollection> m_truthKey { this, "TruthKey", "TruthEvent" };
33 
35  , "CaloDetDescrManager"
36  , "CaloDetDescrManager"
37  , "SG Key for CaloDetDescrManager in the Condition Store" };
38 
39  // Read handle for conditions object to get the field cache
41  , "AtlasFieldCacheCondObj"
42  , "fieldCondObj"
43  , "Name of the Magnetic Field conditions object key"};
44 
45  ServiceHandle<IPartPropSvc> m_ppSvc{this, "PartPropSvc", "PartPropSvc"};
46  ServiceHandle<ITHistSvc> m_histSvc { this, "THistSvc", "THistSvc", "Histogramming svc" };
47  class Clockwork;
49 
50  TH1F* m_histos[162]{};
51 
54 };
55 
56 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SingleTrackValidation::execute
StatusCode execute() override
Definition: SingleTrackValidation.cxx:257
SingleTrackValidation::m_ppSvc
ServiceHandle< IPartPropSvc > m_ppSvc
Definition: SingleTrackValidation.h:45
AtlasFieldCacheCondObj.h
SingleTrackValidation::m_c
Clockwork * m_c
Definition: SingleTrackValidation.h:47
SingleTrackValidation::m_histos
TH1F * m_histos[162]
Definition: SingleTrackValidation.h:50
SingleTrackValidation::operator=
SingleTrackValidation & operator=(const SingleTrackValidation &)
SG::ReadHandleKey< McEventCollection >
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
AthAlgorithm.h
SingleTrackValidation::initialize
StatusCode initialize() override
Definition: SingleTrackValidation.cxx:118
SingleTrackValidation::SingleTrackValidation
SingleTrackValidation(const SingleTrackValidation &)
McEventCollection.h
SingleTrackValidation::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: SingleTrackValidation.h:34
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SingleTrackValidation::m_truthKey
SG::ReadHandleKey< McEventCollection > m_truthKey
Definition: SingleTrackValidation.h:32
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
SingleTrackValidation::m_histSvc
ServiceHandle< ITHistSvc > m_histSvc
Definition: SingleTrackValidation.h:46
SingleTrackValidation::m_fieldCacheCondObjInputKey
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCacheCondObjInputKey
Definition: SingleTrackValidation.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SG::ReadCondHandleKey< CaloDetDescrManager >
SingleTrackValidation::SingleTrackValidation
SingleTrackValidation(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SingleTrackValidation.cxx:108
SingleTrackValidation::finalize
StatusCode finalize() override
Definition: SingleTrackValidation.cxx:549
SingleTrackValidation
Definition: SingleTrackValidation.h:20
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
SingleTrackValidation::~SingleTrackValidation
~SingleTrackValidation()
Definition: SingleTrackValidation.cxx:114
SingleTrackValidation::Clockwork
Definition: SingleTrackValidation.cxx:65
ServiceHandle< IPartPropSvc >