ATLAS Offline Software
MMHitAnalysis.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 MM_HIT_ANALYSIS_H
6 #define MM_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 
20 
21 class TH1;
22 class TH2;
23 class TTree;
24 
25 class MMHitAnalysis : public AthAlgorithm {
26 
27  public:
28 
29  MMHitAnalysis(const std::string& name, ISvcLocator* pSvcLocator);
31 
32  virtual StatusCode initialize();
33  virtual StatusCode execute();
34 
35  private:
36 
40  TH1 *m_h_S1_r_A;
43  TH1 *m_h_S1_r_C;
46  TH1 *m_h_S2_r_A;
49  TH1 *m_h_S2_r_C;
50  TH2 *m_h_S_xy_A;
51  TH2 *m_h_S_xy_C;
52  TH2 *m_h_S_rz_A;
53  TH2 *m_h_S_rz_C;
54 
55  TH2 *m_h_xy_A;
56  TH2 *m_h_xy_C;
57  TH2 *m_h_rz_A;
58  TH2 *m_h_rz_C;
59 
62  TH1 *m_h_L1_r_A;
65  TH1 *m_h_L1_r_C;
68  TH1 *m_h_L2_r_A;
71  TH1 *m_h_L2_r_C;
72 
73  TH2 *m_h_L_xy_A;
74  TH2 *m_h_L_xy_C;
75  TH2 *m_h_L_rz_A;
76  TH2 *m_h_L_rz_C;
77 
78  std::vector<float>* m_hits_x;
79 
80  TTree * m_tree = nullptr;
81  std::string m_ntupleFileName;
82 
83  std::string m_path;
85 
86 };
87 
88 #endif // MM_HIT_ANALYSIS_H
MMHitAnalysis::m_h_S1_xy_C
TH2 * m_h_S1_xy_C
Definition: MMHitAnalysis.h:41
MMHitAnalysis::m_h_L2_rz_A
TH2 * m_h_L2_rz_A
Definition: MMHitAnalysis.h:67
MMHitAnalysis::m_h_S1_xy_A
TH2 * m_h_S1_xy_A
Some variables.
Definition: MMHitAnalysis.h:38
MMHitAnalysis::m_h_xy_A
TH2 * m_h_xy_A
Definition: MMHitAnalysis.h:55
MMHitAnalysis::m_h_L_rz_A
TH2 * m_h_L_rz_A
Definition: MMHitAnalysis.h:75
MMHitAnalysis::m_h_S2_xy_A
TH2 * m_h_S2_xy_A
Definition: MMHitAnalysis.h:44
MMHitAnalysis::m_h_L1_r_A
TH1 * m_h_L1_r_A
Definition: MMHitAnalysis.h:62
MMHitAnalysis
Definition: MMHitAnalysis.h:25
MMHitAnalysis::m_h_S2_xy_C
TH2 * m_h_S2_xy_C
Definition: MMHitAnalysis.h:47
MMHitAnalysis::~MMHitAnalysis
~MMHitAnalysis()
Definition: MMHitAnalysis.h:30
MMHitAnalysis::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition: MMHitAnalysis.h:84
MMHitAnalysis::m_h_S1_rz_C
TH2 * m_h_S1_rz_C
Definition: MMHitAnalysis.h:42
MMHitAnalysis::m_h_L_xy_A
TH2 * m_h_L_xy_A
Definition: MMHitAnalysis.h:73
AthAlgorithm.h
MMHitAnalysis::m_h_L1_rz_C
TH2 * m_h_L1_rz_C
Definition: MMHitAnalysis.h:64
MMHitAnalysis::m_h_L1_xy_C
TH2 * m_h_L1_xy_C
Definition: MMHitAnalysis.h:63
MMHitAnalysis::m_h_S2_rz_A
TH2 * m_h_S2_rz_A
Definition: MMHitAnalysis.h:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MMHitAnalysis::m_tree
TTree * m_tree
Definition: MMHitAnalysis.h:80
MMHitAnalysis::m_h_S_rz_A
TH2 * m_h_S_rz_A
Definition: MMHitAnalysis.h:52
MMHitAnalysis::m_h_L2_xy_A
TH2 * m_h_L2_xy_A
Definition: MMHitAnalysis.h:66
MMHitAnalysis::m_h_S2_r_C
TH1 * m_h_S2_r_C
Definition: MMHitAnalysis.h:49
MMHitAnalysis::m_h_S1_r_C
TH1 * m_h_S1_r_C
Definition: MMHitAnalysis.h:43
MMHitAnalysis::m_path
std::string m_path
Definition: MMHitAnalysis.h:83
AthAlgorithm
Definition: AthAlgorithm.h:47
MMHitAnalysis::m_h_L1_xy_A
TH2 * m_h_L1_xy_A
Definition: MMHitAnalysis.h:60
MMHitAnalysis::m_h_L1_rz_A
TH2 * m_h_L1_rz_A
Definition: MMHitAnalysis.h:61
MMHitAnalysis::m_h_xy_C
TH2 * m_h_xy_C
Definition: MMHitAnalysis.h:56
MMHitAnalysis::m_h_L2_rz_C
TH2 * m_h_L2_rz_C
Definition: MMHitAnalysis.h:70
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MMHitAnalysis::m_ntupleFileName
std::string m_ntupleFileName
Definition: MMHitAnalysis.h:81
MMHitAnalysis::m_h_S_xy_C
TH2 * m_h_S_xy_C
Definition: MMHitAnalysis.h:51
MMHitAnalysis::m_h_S2_rz_C
TH2 * m_h_S2_rz_C
Definition: MMHitAnalysis.h:48
MMHitAnalysis::m_h_S2_r_A
TH1 * m_h_S2_r_A
Definition: MMHitAnalysis.h:46
MMHitAnalysis::m_h_L_xy_C
TH2 * m_h_L_xy_C
Definition: MMHitAnalysis.h:74
MMHitAnalysis::m_h_L_rz_C
TH2 * m_h_L_rz_C
Definition: MMHitAnalysis.h:76
MMHitAnalysis::m_h_S1_r_A
TH1 * m_h_S1_r_A
Definition: MMHitAnalysis.h:40
MMHitAnalysis::m_h_S_rz_C
TH2 * m_h_S_rz_C
Definition: MMHitAnalysis.h:53
MMHitAnalysis::MMHitAnalysis
MMHitAnalysis(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MMHitAnalysis.cxx:29
MMHitAnalysis::m_h_rz_C
TH2 * m_h_rz_C
Definition: MMHitAnalysis.h:58
MMHitAnalysis::m_h_L1_r_C
TH1 * m_h_L1_r_C
Definition: MMHitAnalysis.h:65
MMHitAnalysis::m_h_S1_rz_A
TH2 * m_h_S1_rz_A
Definition: MMHitAnalysis.h:39
MMHitAnalysis::m_h_L2_r_A
TH1 * m_h_L2_r_A
Definition: MMHitAnalysis.h:68
MMHitAnalysis::m_hits_x
std::vector< float > * m_hits_x
Definition: MMHitAnalysis.h:78
MMHitAnalysis::initialize
virtual StatusCode initialize()
Definition: MMHitAnalysis.cxx:77
MMHitAnalysis::execute
virtual StatusCode execute()
Definition: MMHitAnalysis.cxx:261
MMHitAnalysis::m_h_S_xy_A
TH2 * m_h_S_xy_A
Definition: MMHitAnalysis.h:50
MMHitAnalysis::m_h_rz_A
TH2 * m_h_rz_A
Definition: MMHitAnalysis.h:57
MMHitAnalysis::m_h_L2_r_C
TH1 * m_h_L2_r_C
Definition: MMHitAnalysis.h:71
ServiceHandle< ITHistSvc >
MMHitAnalysis::m_h_L2_xy_C
TH2 * m_h_L2_xy_C
Definition: MMHitAnalysis.h:69