ATLAS Offline Software
Loading...
Searching...
No Matches
LucidHitAnalysis.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LUCID_HIT_ANALYSIS_H
6#define LUCID_HIT_ANALYSIS_H
7
11
13
14 public:
15
17 ~LucidHitAnalysis() = default;
18
19 virtual StatusCode initialize() override final;
20 virtual StatusCode execute() override final;
21
22 private:
23
25 TH1* m_h_hit_x{nullptr};
26 TH1* m_h_hit_y{nullptr};
27 TH1* m_h_hit_z{nullptr};
28 TH2* m_h_xy{nullptr};
29 TH2* m_h_zr{nullptr};
30 TH1* m_h_hit_post_x{nullptr};
31 TH1* m_h_hit_post_y{nullptr};
32 TH1* m_h_hit_post_z{nullptr};
33 TH1* m_h_hit_edep{nullptr};
34 TH1* m_h_hit_pdgid{nullptr};
35 TH1* m_h_hit_pretime{nullptr};
36 TH1* m_h_hit_posttime{nullptr};
37 TH1* m_h_genvolume{nullptr};
38 TH1* m_h_wavelength{nullptr};
39
40 std::vector<float>* m_hit_x{nullptr};
41 std::vector<float>* m_hit_y{nullptr};
42 std::vector<float>* m_hit_z{nullptr};
43 std::vector<float>* m_hit_post_x{nullptr};
44 std::vector<float>* m_hit_post_y{nullptr};
45 std::vector<float>* m_hit_post_z{nullptr};
46 std::vector<float>* m_hit_edep{nullptr};
47 std::vector<float>* m_hit_pdgid{nullptr};
48 std::vector<float>* m_hit_pretime{nullptr};
49 std::vector<float>* m_hit_posttime{nullptr};
50 std::vector<float>* m_gen_volume{nullptr};
51 std::vector<float>* m_wavelength{nullptr};
52
53 TTree * m_tree{nullptr};
54
55 StringProperty m_ntupleFileName{this, "NtupleFileName", "/LucidHitAnalysis/"};
56 StringProperty m_path{this, "HistPath", "/LucidHitAnalysis/"};
57 SG::ReadHandleKey<LUCID_SimHitCollection> m_readKey{this, "InputKey", "LucidSimHitsVector"};
58
59};
60
61#endif // LUCID_HIT_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:
StringProperty m_ntupleFileName
std::vector< float > * m_wavelength
~LucidHitAnalysis()=default
std::vector< float > * m_hit_posttime
std::vector< float > * m_hit_z
SG::ReadHandleKey< LUCID_SimHitCollection > m_readKey
TH1 * m_h_hit_x
Some histograms.
StringProperty m_path
std::vector< float > * m_hit_x
virtual StatusCode initialize() override final
std::vector< float > * m_hit_pdgid
std::vector< float > * m_hit_pretime
std::vector< float > * m_gen_volume
std::vector< float > * m_hit_post_y
std::vector< float > * m_hit_post_x
std::vector< float > * m_hit_y
virtual StatusCode execute() override final
std::vector< float > * m_hit_post_z
std::vector< float > * m_hit_edep
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