ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_TrkTimePerformanceStudies.h
Go to the documentation of this file.
1
12
13#ifndef HGTD_ANALYSIS_TRKTIMEPERFORMANCESTUDIES_H
14#define HGTD_ANALYSIS_TRKTIMEPERFORMANCESTUDIES_H
15
17
18#include "GaudiKernel/ToolHandle.h"
28
29#include "TEfficiency.h"
30#include "TH1F.h"
31
32#include <string>
33#include <vector>
34
36
37public:
38 HGTD_TrkTimePerformanceStudies(const std::string& name,
39 ISvcLocator* svc_locator);
40
42
43 virtual StatusCode initialize() override;
44 virtual StatusCode execute(const EventContext& ctx) override;
45
46private:
58
59 ToolHandleArray<IHGTD_ExpertTrackTimeAccessor> m_track_time_tools{
60 this,
61 "TrackTimeTools",
62 {},
63 "Tools to retrieve a specified track-time working point"};
64
65 ToolHandleArray<IHGTD_TrackSelectionTool> m_track_sel_tools{
66 this,
67 "TrackSelectionTools",
68 {},
69 "Tools to retrieve a HGTD specified track selection"};
70
72 this, "TrackParticleContainerName", "InDetTrackParticles",
73 "Name of the track particle container that should be retrieved in the "
74 "execute"};
75
77 this, "TruthEventsContainerName", "TruthEvents",
78 "Name of the truth event container that should be retrieved"};
79
82 this, "TruthPileupEventsContainerName", "TruthPileupEvents",
83 "Name of the pileup truth event container that should be retrieved"};
84
86 const std::vector<std::string> m_primes_fractions = {
87 "AllPrimes",
88 "HalfPrimesHasPrimes",
89 "LessThanHalfPrimes",
90 "MoreThanHalfPrimes",
91 "NoPrimesNoPossiblePrimes",
92 "NoPrimes1PossiblePrimes",
93 "NoPrimes2PossiblePrimes",
94 "NoPrimes3PossiblePrimes",
95 "NoPrimes4PossiblePrimes"};
96
98 getTruthVertex(const xAOD::TruthParticle* truth_particle);
99};
100
101#endif // HGTD_ANALYSIS_TRKTIMEPERFORMANCESTUDIES_H
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
HGTD_AnalysisAlgBase(const std::string &name, ISvcLocator *svc_locator)
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truth_event_container_key
const std::vector< std::string > m_primes_fractions
Histogram-name suffixes, indexed by PrimesFractions.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_track_particles_key
SG::ReadHandleKey< xAOD::TruthPileupEventContainer > m_pileup_truth_container_key
ToolHandleArray< IHGTD_ExpertTrackTimeAccessor > m_track_time_tools
ToolHandleArray< IHGTD_TrackSelectionTool > m_track_sel_tools
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
const xAOD::TruthVertex * getTruthVertex(const xAOD::TruthParticle *truth_particle)
HGTD_TrkTimePerformanceStudies(const std::string &name, ISvcLocator *svc_locator)
Property holding a SG store/key/clid from which a ReadHandle is made.
TruthVertex_v1 TruthVertex
Typedef to implementation.
Definition TruthVertex.h:15
TruthParticle_v1 TruthParticle
Typedef to implementation.