ATLAS Offline Software
Loading...
Searching...
No Matches
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
22public:
23
24 SingleTrackValidation(const std::string & name, ISvcLocator *pSvcLocator);
26 StatusCode initialize() override;
27 StatusCode execute() override;
28 StatusCode finalize() override;
29
30private:
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
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
ServiceHandle< IPartPropSvc > m_ppSvc
ServiceHandle< ITHistSvc > m_histSvc
StatusCode execute() override
SG::ReadHandleKey< McEventCollection > m_truthKey
StatusCode finalize() override
StatusCode initialize() override
SingleTrackValidation(const SingleTrackValidation &)
SingleTrackValidation(const std::string &name, ISvcLocator *pSvcLocator)
SingleTrackValidation & operator=(const SingleTrackValidation &)
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCacheCondObjInputKey