ATLAS Offline Software
Loading...
Searching...
No Matches
MaterialMapperTree.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 MaterialMapperTree_h
6#define MaterialMapperTree_h
7
8#include <TProfile.h>
9#include <TROOT.h>
10#include <TChain.h>
11#include <TFile.h>
12#include <vector>
13
15public :
16 TTree *fChain;
17 Int_t fCurrent;
18
19 // Declaration of leave types
20 Float_t Angle;
21
22 Float_t Eta;
23 Float_t Phi;
24
27 Float_t BeamPipeA;
28 Float_t BeamPipeZ;
29 Float_t BeamPipeRho;
30 Float_t BeamPipePath;
31
34 Float_t PixelA;
35 Float_t PixelZ;
36 Float_t PixelRho;
37 Float_t PixelPath;
38
39 Float_t SctPathInX0;
40 Float_t SctPathInL0;
41 Float_t SctA;
42 Float_t SctZ;
43 Float_t SctRho;
44 Float_t SctPath;
45
46 Float_t TrtPathInX0;
47 Float_t TrtPathInL0;
48 Float_t TrtA;
49 Float_t TrtZ;
50 Float_t TrtRho;
51 Float_t TrtPath;
52
55 Float_t InDetServA;
56 Float_t InDetServZ;
57 Float_t InDetServRho;
59
62 Float_t InDetA;
63 Float_t InDetZ;
64 Float_t InDetRho;
65 Float_t InDetPath;
66
69 Float_t SolenoidA;
70 Float_t SolenoidZ;
71 Float_t SolenoidRho;
72 Float_t SolenoidPath;
73
74 Float_t LArPathInX0;
75 Float_t LArPathInL0;
76 Float_t LArA;
77 Float_t LArZ;
78 Float_t LArRho;
79 Float_t LArPath;
80
81 Float_t TilePathInX0;
82 Float_t TilePathInL0;
83 Float_t TileA;
84 Float_t TileZ;
85 Float_t TileRho;
86 Float_t TilePath;
87
90 Float_t CaloServA;
91 Float_t CaloServZ;
92 Float_t CaloServRho;
93 Float_t CaloServPath;
94
95 Float_t CaloPathInX0;
96 Float_t CaloPathInL0;
97 Float_t CaloA;
98 Float_t CaloZ;
99 Float_t CaloRho;
100 Float_t CaloPath;
101
104 Float_t TotalA;
105 Float_t TotalZ;
106 Float_t TotalRho;
107 Float_t TotalPath;
108
109 // List of branches
110 TBranch *b_Eta;
111 TBranch *b_Phi;
112
115 TBranch *b_BeamPipeA;
116 TBranch *b_BeamPipeZ;
117 TBranch *b_BeamPipeRho;
118 TBranch *b_BeamPipePath;
119
122 TBranch *b_PixelA;
123 TBranch *b_PixelZ;
124 TBranch *b_PixelRho;
125 TBranch *b_PixelPath;
126
127 TBranch *b_SctPathInX0;
128 TBranch *b_SctPathInL0;
129 TBranch *b_SctA;
130 TBranch *b_SctZ;
131 TBranch *b_SctRho;
132 TBranch *b_SctPath;
133
134 TBranch *b_TrtPathInX0;
135 TBranch *b_TrtPathInL0;
136 TBranch *b_TrtA;
137 TBranch *b_TrtZ;
138 TBranch *b_TrtRho;
139 TBranch *b_TrtPath;
140
143 TBranch *b_InDetServA;
144 TBranch *b_InDetServZ;
145 TBranch *b_InDetServRho;
147
150 TBranch *b_InDetA;
151 TBranch *b_InDetZ;
152 TBranch *b_InDetRho;
153 TBranch *b_InDetPath;
154
157 TBranch *b_SolenoidA;
158 TBranch *b_SolenoidZ;
159 TBranch *b_SolenoidRho;
160 TBranch *b_SolenoidPath;
161
162 TBranch *b_LArPathInX0;
163 TBranch *b_LArPathInL0;
164 TBranch *b_LArA;
165 TBranch *b_LArZ;
166 TBranch *b_LArRho;
167 TBranch *b_LArPath;
168
169 TBranch *b_TilePathInX0;
170 TBranch *b_TilePathInL0;
171 TBranch *b_TileA;
172 TBranch *b_TileZ;
173 TBranch *b_TileRho;
174 TBranch *b_TilePath;
175
178 TBranch *b_CaloServA;
179 TBranch *b_CaloServZ;
180 TBranch *b_CaloServRho;
181 TBranch *b_CaloServPath;
182
183 TBranch *b_CaloPathInX0;
184 TBranch *b_CaloPathInL0;
185 TBranch *b_CaloA;
186 TBranch *b_CaloZ;
187 TBranch *b_CaloRho;
188 TBranch *b_CaloPath;
189
192 TBranch *b_TotalA;
193 TBranch *b_TotalZ;
194 TBranch *b_TotalRho;
195 TBranch *b_TotalPath;
196
199 virtual Int_t Cut(Long64_t entry);
200 virtual Int_t GetEntry(Long64_t entry);
201 virtual Long64_t LoadTree(Long64_t entry);
202 void Init(TTree *tree);
203 virtual std::vector<TProfile*>* profileHistograms(int bin, TString type, bool etaphi=true);
204 virtual Bool_t Notify();
205 virtual void Show(Long64_t entry = -1);
206};
207
208#endif
virtual Bool_t Notify()
virtual Int_t Cut(Long64_t entry)
virtual Long64_t LoadTree(Long64_t entry)
virtual void Show(Long64_t entry=-1)
virtual std::vector< TProfile * > * profileHistograms(int bin, TString type, bool etaphi=true)
Float_t Angle
current Tree number in a TChain
MaterialMapperTree(TTree *tree=0)
virtual Int_t GetEntry(Long64_t entry)
Int_t fCurrent
pointer to the analyzed TTree or TChain
virtual ~MaterialMapperTree()
void Init(TTree *tree)
TChain * tree