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/ITHistSvc.h"
14// For MC Truth information:
16
17#include "TH1F.h"
18
20
21public:
22
23 SingleTrackValidation(const std::string & name, ISvcLocator *pSvcLocator);
25 StatusCode initialize() override;
26 StatusCode execute(const EventContext& ctx) override;
27 StatusCode finalize() override;
28
29private:
30
31 SG::ReadHandleKey<McEventCollection> m_truthKey { this, "TruthKey", "TruthEvent" };
32
34 , "CaloDetDescrManager"
35 , "CaloDetDescrManager"
36 , "SG Key for CaloDetDescrManager in the Condition Store" };
37
38 // Read handle for conditions object to get the field cache
40 , "AtlasFieldCacheCondObj"
41 , "fieldCondObj"
42 , "Name of the Magnetic Field conditions object key"};
43 ServiceHandle<ITHistSvc> m_histSvc { this, "THistSvc", "THistSvc", "Histogramming svc" };
44 class Clockwork;
46
47 TH1F* m_histos[162]{};
48
51};
52
53#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.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
ServiceHandle< ITHistSvc > m_histSvc
SG::ReadHandleKey< McEventCollection > m_truthKey
StatusCode finalize() override
StatusCode initialize() override
SingleTrackValidation(const SingleTrackValidation &)
StatusCode execute(const EventContext &ctx) override
Execute method.
SingleTrackValidation(const std::string &name, ISvcLocator *pSvcLocator)
SingleTrackValidation & operator=(const SingleTrackValidation &)
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCacheCondObjInputKey