ATLAS Offline Software
Loading...
Searching...
No Matches
AFPHitAnalysis.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AFP_HIT_ANALYSIS_H
6#define AFP_HIT_ANALYSIS_H
7
11
12
14
15 public:
17 ~AFPHitAnalysis() = default;
18
19 virtual StatusCode initialize() override final;
20 virtual StatusCode execute() override final;
21
22 private:
23
25 TH1* m_h_hitID{nullptr};
26 TH1* m_h_pdgID{nullptr};
27 TH1* m_h_trackID{nullptr};
28 TH1* m_h_kine{nullptr};
29 TH1* m_h_edep{nullptr};
30 TH1* m_h_stepX{nullptr};
31 TH1* m_h_stepY{nullptr};
32 TH1* m_h_stepZ{nullptr};
33 TH1* m_h_time{nullptr};
34 TH1* m_h_stationID{nullptr};
35 TH1* m_h_detID{nullptr};
36 TH1* m_h_pixelRow{nullptr};
37 TH1* m_h_pixelCol{nullptr};
38
39 std::vector<float>* m_hitID{nullptr};
40 std::vector<float>* m_pdgID{nullptr};
41 std::vector<float>* m_trackID{nullptr};
42 std::vector<float>* m_kine{nullptr};
43 std::vector<float>* m_edep{nullptr};
44 std::vector<float>* m_stepX{nullptr};
45 std::vector<float>* m_stepY{nullptr};
46 std::vector<float>* m_stepZ{nullptr};
47 std::vector<float>* m_time{nullptr};
48 std::vector<int>* m_stationID{nullptr};
49 std::vector<int>* m_detID{nullptr};
50 std::vector<int>* m_pixelRow{nullptr};
51 std::vector<int>* m_pixelCol{nullptr};
52
53 TTree * m_tree{nullptr};
54 Gaudi::Property<std::string> m_ntupleFileName{this, "NtupleFileName", "/AFPHitAnalysis/" };
55 Gaudi::Property<std::string> m_path{this, "HistPath", "/AFPHitAnalysis/"};
56 SG::ReadHandleKey<AFP_SIDSimHitCollection> m_readKey{this, "InpuKey", "AFP_SIDSimHitCollection"};
57
58
59
60};
61
62#endif // AFP_HIT_ANALYSIS_H
Property holding a SG store/key/clid from which a ReadHandle is made.
std::vector< float > * m_stepZ
std::vector< float > * m_edep
std::vector< float > * m_hitID
virtual StatusCode initialize() override final
std::vector< int > * m_pixelCol
Gaudi::Property< std::string > m_ntupleFileName
std::vector< float > * m_pdgID
~AFPHitAnalysis()=default
SG::ReadHandleKey< AFP_SIDSimHitCollection > m_readKey
std::vector< int > * m_detID
std::vector< float > * m_stepY
virtual StatusCode execute() override final
std::vector< int > * m_stationID
std::vector< float > * m_stepX
Gaudi::Property< std::string > m_path
std::vector< float > * m_trackID
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
TH1 * m_h_hitID
Some histograms.
std::vector< float > * m_kine
std::vector< float > * m_time
std::vector< int > * m_pixelRow
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
#define private