ATLAS Offline Software
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 
9 
10 #include "GaudiKernel/ServiceHandle.h"
11 #include "GaudiKernel/ITHistSvc.h"
12 
13 #include <string>
14 #include <vector>
15 #include "TH1.h"
16 #include "TH2.h"
17 #include "TTree.h"
18 
19 class TH1;
20 class TH2;
21 class TTree;
22 
23 
25 
26  public:
27 
28  LucidHitAnalysis(const std::string& name, ISvcLocator* pSvcLocator);
30 
31  virtual StatusCode initialize();
32  virtual StatusCode execute();
33 
34  private:
35 
37  TH1* m_h_hit_x;
38  TH1* m_h_hit_y;
39  TH1* m_h_hit_z;
40  TH2* m_h_xy;
41  TH2* m_h_zr;
51 
52  std::vector<float>* m_hit_x;
53  std::vector<float>* m_hit_y;
54  std::vector<float>* m_hit_z;
55  std::vector<float>* m_hit_post_x;
56  std::vector<float>* m_hit_post_y;
57  std::vector<float>* m_hit_post_z;
58  std::vector<float>* m_hit_edep;
59  std::vector<float>* m_hit_pdgid;
60  std::vector<float>* m_hit_pretime;
61  std::vector<float>* m_hit_posttime;
62  std::vector<float>* m_gen_volume;
63  std::vector<float>* m_wavelength;
64 
65  TTree * m_tree;
66  std::string m_ntupleFileName;
67  std::string m_path;
69 
70 };
71 
72 #endif // LUCID_HIT_ANALYSIS_H
LucidHitAnalysis::m_hit_y
std::vector< float > * m_hit_y
Definition: LucidHitAnalysis.h:53
LucidHitAnalysis::m_h_hit_y
TH1 * m_h_hit_y
Definition: LucidHitAnalysis.h:38
LucidHitAnalysis::m_h_hit_edep
TH1 * m_h_hit_edep
Definition: LucidHitAnalysis.h:45
LucidHitAnalysis::m_h_hit_pretime
TH1 * m_h_hit_pretime
Definition: LucidHitAnalysis.h:47
LucidHitAnalysis::m_path
std::string m_path
Definition: LucidHitAnalysis.h:67
LucidHitAnalysis::m_hit_posttime
std::vector< float > * m_hit_posttime
Definition: LucidHitAnalysis.h:61
LucidHitAnalysis::m_h_hit_x
TH1 * m_h_hit_x
Some histograms.
Definition: LucidHitAnalysis.h:37
LucidHitAnalysis::~LucidHitAnalysis
~LucidHitAnalysis()
Definition: LucidHitAnalysis.h:29
LucidHitAnalysis::m_gen_volume
std::vector< float > * m_gen_volume
Definition: LucidHitAnalysis.h:62
LucidHitAnalysis::m_hit_pretime
std::vector< float > * m_hit_pretime
Definition: LucidHitAnalysis.h:60
LucidHitAnalysis::m_h_genvolume
TH1 * m_h_genvolume
Definition: LucidHitAnalysis.h:49
LucidHitAnalysis::m_wavelength
std::vector< float > * m_wavelength
Definition: LucidHitAnalysis.h:63
AthAlgorithm.h
LucidHitAnalysis::m_hit_post_y
std::vector< float > * m_hit_post_y
Definition: LucidHitAnalysis.h:56
LucidHitAnalysis::m_hit_post_z
std::vector< float > * m_hit_post_z
Definition: LucidHitAnalysis.h:57
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LucidHitAnalysis::m_hit_edep
std::vector< float > * m_hit_edep
Definition: LucidHitAnalysis.h:58
LucidHitAnalysis::m_h_hit_post_x
TH1 * m_h_hit_post_x
Definition: LucidHitAnalysis.h:42
LucidHitAnalysis::m_h_hit_pdgid
TH1 * m_h_hit_pdgid
Definition: LucidHitAnalysis.h:46
LucidHitAnalysis::m_h_wavelength
TH1 * m_h_wavelength
Definition: LucidHitAnalysis.h:50
LucidHitAnalysis
Definition: LucidHitAnalysis.h:24
LucidHitAnalysis::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition: LucidHitAnalysis.h:68
LucidHitAnalysis::m_hit_z
std::vector< float > * m_hit_z
Definition: LucidHitAnalysis.h:54
AthAlgorithm
Definition: AthAlgorithm.h:47
LucidHitAnalysis::LucidHitAnalysis
LucidHitAnalysis(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LucidHitAnalysis.cxx:19
LucidHitAnalysis::m_hit_post_x
std::vector< float > * m_hit_post_x
Definition: LucidHitAnalysis.h:55
LucidHitAnalysis::m_hit_pdgid
std::vector< float > * m_hit_pdgid
Definition: LucidHitAnalysis.h:59
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LucidHitAnalysis::m_h_hit_z
TH1 * m_h_hit_z
Definition: LucidHitAnalysis.h:39
LucidHitAnalysis::m_h_hit_posttime
TH1 * m_h_hit_posttime
Definition: LucidHitAnalysis.h:48
LucidHitAnalysis::m_h_xy
TH2 * m_h_xy
Definition: LucidHitAnalysis.h:40
LucidHitAnalysis::m_h_zr
TH2 * m_h_zr
Definition: LucidHitAnalysis.h:41
LucidHitAnalysis::m_hit_x
std::vector< float > * m_hit_x
Definition: LucidHitAnalysis.h:52
LucidHitAnalysis::m_h_hit_post_z
TH1 * m_h_hit_post_z
Definition: LucidHitAnalysis.h:44
LucidHitAnalysis::execute
virtual StatusCode execute()
Definition: LucidHitAnalysis.cxx:148
LucidHitAnalysis::m_ntupleFileName
std::string m_ntupleFileName
Definition: LucidHitAnalysis.h:66
LucidHitAnalysis::m_h_hit_post_y
TH1 * m_h_hit_post_y
Definition: LucidHitAnalysis.h:43
LucidHitAnalysis::initialize
virtual StatusCode initialize()
Definition: LucidHitAnalysis.cxx:58
LucidHitAnalysis::m_tree
TTree * m_tree
Definition: LucidHitAnalysis.h:65
ServiceHandle< ITHistSvc >