ATLAS Offline Software
Loading...
Searching...
No Matches
TrackRecordAnalysis.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 TRACK_RECORD_ANALYSIS_H
6#define TRACK_RECORD_ANALYSIS_H
7
11
12
14
15 public:
18
19 virtual StatusCode initialize()override;
20 virtual StatusCode execute()override;
21
22 private:
23
25 TH1* m_h_hits_x{nullptr};
26 TH1* m_h_hits_y{nullptr};
27 TH1* m_h_hits_z{nullptr};
28 TH1* m_h_hits_r{nullptr};
29 TH2* m_h_xy{nullptr};
30 TH2* m_h_zr{nullptr};
31 TH1* m_h_hits_eta{nullptr};
32 TH1* m_h_hits_phi{nullptr};
33 TH1* m_h_hits_px{nullptr};
34 TH1* m_h_hits_py{nullptr};
35 TH1* m_h_hits_pz{nullptr};
36 TH1* m_h_hits_pt{nullptr};
37 TH1* m_h_time{nullptr};
38 TH1* m_h_edep{nullptr};
39 TH1* m_h_pdg{nullptr};
40
41 std::vector<float>* m_x{nullptr};
42 std::vector<float>* m_y{nullptr};
43 std::vector<float>* m_z{nullptr};
44 std::vector<float>* m_r{nullptr};
45 std::vector<float>* m_eta{nullptr};
46 std::vector<float>* m_phi{nullptr};
47 std::vector<float>* m_px{nullptr};
48 std::vector<float>* m_py{nullptr};
49 std::vector<float>* m_pz{nullptr};
50 std::vector<float>* m_pt{nullptr};
51 std::vector<float>* m_time{nullptr};
52 std::vector<float>* m_edep{nullptr};
53 std::vector<float>* m_pdg{nullptr};
54
55 SG::ReadHandleKey<TrackRecordCollection> m_readKey{this, "CollectionName", "CaloEntryLayer"};
56
57 TTree * m_tree{nullptr};
58 Gaudi::Property<std::string> m_ntupleFileName{this, "NtupleFileName", "/TrackRecordAnalysis/"};
59 Gaudi::Property<std::string> m_path{this, "HistPath", "/TrackRecordAnalysis/"};
60
61};
62
63#endif // TRACK_RECORD_ANALYSIS_H
Property holding a SG store/key/clid from which a ReadHandle is made.
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< std::string > m_path
std::vector< float > * m_pdg
std::vector< float > * m_edep
std::vector< float > * m_y
Gaudi::Property< std::string > m_ntupleFileName
std::vector< float > * m_x
std::vector< float > * m_pt
std::vector< float > * m_px
std::vector< float > * m_time
TH1 * m_h_hits_x
Some variables.
std::vector< float > * m_eta
std::vector< float > * m_r
~TrackRecordAnalysis()=default
SG::ReadHandleKey< TrackRecordCollection > m_readKey
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override
std::vector< float > * m_z
std::vector< float > * m_py
virtual StatusCode initialize() override
std::vector< float > * m_phi
std::vector< float > * m_pz