CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Private Attributes
hHits Class Reference

#include <Histograms.h>

Public Member Functions

void Fill (double xEntry, double xExit, double entryPy, double exitPy, double entryPz, double exitPz, double path, double path_x, int hitType, float processType, double pAbs)
 
void FillSagittas (double SG, double SM, int hitType)
 
void FillTOF (double tof)
 
 hHits (std::string name_)
 
 hHits (std::string name_, TFile *file)
 
void Write ()
 
virtual ~hHits ()
 

Public Attributes

std::shared_ptr< TH3F > h3DPathVsProcessVsType
 
std::shared_ptr< TH3F > h3DPathXVsProcessVsType
 
std::shared_ptr< TH3F > h3DXexitVsProcessVsType
 
std::shared_ptr< TH1F > hAbsXEntry
 
std::shared_ptr< TH1F > hAbsXExit
 
std::shared_ptr< TH1F > hAbsYEntry
 
std::shared_ptr< TH1F > hAbsYExit
 
std::shared_ptr< TH1F > hAbsZEntry
 
std::shared_ptr< TH1F > hAbsZExit
 
std::shared_ptr< TH1F > hDeltaX
 
std::shared_ptr< TH1F > hDeltaY
 
std::shared_ptr< TH1F > hDeltaZ
 
std::shared_ptr< TH1F > hHitMomentum
 
std::shared_ptr< TH1F > hHitTOF
 
std::shared_ptr< TH1F > hHitType
 
std::shared_ptr< TH2F > hPathVsProcess
 
std::shared_ptr< TH2F > hPathVSType
 
std::shared_ptr< TH2F > hPathXVsProcess
 
std::shared_ptr< TH2F > hPathXVSType
 
std::shared_ptr< TH1F > hProcessType
 
std::shared_ptr< TH2F > hProcessVsHitType
 
std::shared_ptr< TH2F > hSagittaBVSType
 
std::shared_ptr< TH1F > hSagittaGeom
 
std::shared_ptr< TH1F > hSagittaMag
 
std::shared_ptr< TH2F > hSagittaPVSType
 
std::shared_ptr< TH1F > hXentry
 
std::shared_ptr< TH1F > hXexit
 
std::shared_ptr< TH1F > hYentry
 
std::shared_ptr< TH1F > hYexit
 
std::shared_ptr< TH1F > hZentry
 
std::shared_ptr< TH1F > hZexit
 

Private Attributes

TString name
 

Detailed Description

Definition at line 129 of file Histograms.h.

Constructor & Destructor Documentation

hHits::hHits ( std::string  name_)
inline

Definition at line 131 of file Histograms.h.

References h3DPathVsProcessVsType, h3DPathXVsProcessVsType, h3DXexitVsProcessVsType, hAbsXEntry, hAbsXExit, hAbsYEntry, hAbsYExit, hAbsZEntry, hAbsZExit, hDeltaX, hDeltaY, hDeltaZ, hHitMomentum, hHitTOF, hHitType, hPathVsProcess, hPathVSType, hPathXVsProcess, hPathXVSType, hProcessType, hProcessVsHitType, hSagittaBVSType, hSagittaGeom, hSagittaMag, hSagittaPVSType, hXentry, hXexit, hYentry, hYexit, hZentry, hZexit, N, and name.

131  {
132  TString N = name_.c_str();
133  name = N;
134  // booking degli istogrammi unidimensionali
135  hHitType = std::make_shared<TH1F>(N + "_HitType", "Hit Type distribution for " + N, 20, -5, 15);
136  hDeltaZ = std::make_shared<TH1F>(N + "_DeltaZ", "z_{exit} - z_{entry} distribution for " + N, 100, -1.2, 1.2);
137  hDeltaY = std::make_shared<TH1F>(N + "_DeltaY", "y_{exit} - y_{entry} distribution for " + N, 100, -1.2, 1.2);
138  hDeltaX = std::make_shared<TH1F>(N + "_DeltaX", "x_{exit} - x_{entry} distribution for " + N, 100, -1.2, 1.2);
139  hZentry = std::make_shared<TH1F>(N + "_Zentry", "z_{entry} distribution for " + N, 500, -0.6, 0.6);
140  hZexit = std::make_shared<TH1F>(N + "_Zexit", "z_{exit} distribution for " + N, 500, -0.6, 0.6);
141  hXentry = std::make_shared<TH1F>(N + "_Xentry", "x_{entry} distribution for " + N, 500, -0.6, 0.6);
142  hXexit = std::make_shared<TH1F>(N + "_Xexit", "x_{exit} distribution for " + N, 500, -0.6, 0.6);
143  hYentry = std::make_shared<TH1F>(N + "_Yentry", "y_{entry} distribution for " + N, 500, -0.6, 0.6);
144  hYexit = std::make_shared<TH1F>(N + "_Yexit", "y_{exit} distribution for " + N, 500, -0.6, 0.6);
145  hHitMomentum = std::make_shared<TH1F>(N + "_HitMomentum", "Momentum distribution for " + N, 100, 0, 100);
146  hAbsZEntry =
147  std::make_shared<TH1F>(N + "_AbsZEntry",
148  "|z| distribution for " + N + " entry points in the horizontal planes of the cell",
149  100,
150  0.57,
151  0.58);
152  hAbsZExit =
153  std::make_shared<TH1F>(N + "_AbsZExit",
154  "|z| distribution for " + N + " exit points in the horizontal planes of the cell",
155  100,
156  0.57,
157  0.58);
158  hAbsXEntry =
159  std::make_shared<TH1F>(N + "_AbsXEntry",
160  "|x| distribution for " + N + " entry points in the vertical planes of the cell",
161  100,
162  2.045,
163  2.055);
164  hAbsXExit = std::make_shared<TH1F>(N + "_AbsXExit",
165  "|x| distribution for " + N + " exit points in the vertical planes of the cell",
166  100,
167  2.04,
168  2.06);
169  hAbsYEntry = std::make_shared<TH1F>(
170  N + "_AbsYEntry", "|y| distribution for " + N + " entry points in the vertical planes of the cell", 100, 0, 150);
171  hAbsYExit = std::make_shared<TH1F>(
172  N + "_AbsYExit", "|y| distribution for " + N + " exit points in the vertical planes of the cell", 100, 0, 150);
173  hSagittaGeom = std::make_shared<TH1F>(N + "_SagittaGeom", "Geometric Sagitta distribution for " + N, 100, 0, .01);
174  hSagittaMag =
175  std::make_shared<TH1F>(N + "_SagittaMag", "Sagitta from magnetic bendig distribution, for " + N, 100, 0, .06);
176  hSagittaPVSType = std::make_shared<TH2F>(N + "_SagittaPVSType", "Sagitta P VS hit type", 14, 0, 14, 100, 0, .01);
177  hSagittaBVSType = std::make_shared<TH2F>(N + "_SagittaBVSType", "Sagitta B VS hit type", 14, 0, 14, 100, 0, .06);
178  hPathVSType = std::make_shared<TH2F>(N + "_PathVSType", "Path VS hit type", 14, 0, 14, 840, 0, 4.2);
179  hPathXVSType = std::make_shared<TH2F>(N + "_PathXVSType", "X Path VS hit type", 14, 0, 14, 840, 0, 4.2);
180  hProcessType = std::make_shared<TH1F>(N + "_ProcessType", "Process Type", 17, 0, 17);
182  std::make_shared<TH2F>(N + "_ProcessVsHitType", "Process Type Vs Hit Type", 14, 0, 14, 17, 0, 17);
183  hPathVsProcess = std::make_shared<TH2F>(N + "_PathVsProcess", "Path vs Process Type", 14, 0, 14, 840, 0, 4.2);
185  std::make_shared<TH2F>(N + "_PathXVsProcess", "Path along X vs Process Type", 14, 0, 14, 840, 0, 4.2);
186 
187  h3DPathXVsProcessVsType = std::make_shared<TH3F>(
188  N + "_h3DPathXVsProcessVsType", "Path along X vs Process Type and hit type", 14, 0, 14, 17, 0, 17, 840, 0, 4.2);
189  h3DPathVsProcessVsType = std::make_shared<TH3F>(
190  N + "_h3DPathVsProcessVsType", "Path vs Process Type and hit type", 14, 0, 14, 17, 0, 17, 840, 0, 4.2);
191  h3DXexitVsProcessVsType = std::make_shared<TH3F>(
192  N + "_h3DXexitVsProcessVsType", "X exit vs Process Type and hit type", 14, 0, 14, 17, 0, 17, 500, -0.6, 0.6);
193 
194  hHitTOF = std::make_shared<TH1F>(N + "_HitTOF", "Hit TOF distribution for " + N, 1000, 1e4, 1e8);
195  }
std::shared_ptr< TH1F > hSagittaGeom
Definition: Histograms.h:381
std::shared_ptr< TH2F > hPathVSType
Definition: Histograms.h:385
std::shared_ptr< TH1F > hXexit
Definition: Histograms.h:368
std::shared_ptr< TH1F > hZentry
Definition: Histograms.h:365
std::shared_ptr< TH1F > hZexit
Definition: Histograms.h:366
std::shared_ptr< TH3F > h3DXexitVsProcessVsType
Definition: Histograms.h:393
std::shared_ptr< TH2F > hProcessVsHitType
Definition: Histograms.h:388
std::shared_ptr< TH1F > hDeltaX
Definition: Histograms.h:373
std::shared_ptr< TH3F > h3DPathXVsProcessVsType
Definition: Histograms.h:391
std::shared_ptr< TH1F > hAbsYEntry
Definition: Histograms.h:378
std::shared_ptr< TH1F > hHitTOF
Definition: Histograms.h:394
std::shared_ptr< TH2F > hPathXVSType
Definition: Histograms.h:386
std::shared_ptr< TH1F > hProcessType
Definition: Histograms.h:387
std::shared_ptr< TH1F > hHitType
Definition: Histograms.h:364
std::shared_ptr< TH1F > hAbsZEntry
Definition: Histograms.h:374
std::shared_ptr< TH1F > hDeltaY
Definition: Histograms.h:372
std::shared_ptr< TH1F > hAbsXExit
Definition: Histograms.h:377
std::shared_ptr< TH2F > hSagittaBVSType
Definition: Histograms.h:384
std::shared_ptr< TH1F > hYexit
Definition: Histograms.h:370
std::shared_ptr< TH3F > h3DPathVsProcessVsType
Definition: Histograms.h:392
std::shared_ptr< TH2F > hPathXVsProcess
Definition: Histograms.h:390
std::shared_ptr< TH1F > hYentry
Definition: Histograms.h:369
std::shared_ptr< TH1F > hHitMomentum
Definition: Histograms.h:380
std::shared_ptr< TH1F > hAbsYExit
Definition: Histograms.h:379
std::shared_ptr< TH1F > hDeltaZ
Definition: Histograms.h:371
#define N
Definition: blowfish.cc:9
std::shared_ptr< TH1F > hXentry
Definition: Histograms.h:367
std::shared_ptr< TH1F > hAbsZExit
Definition: Histograms.h:375
std::shared_ptr< TH2F > hPathVsProcess
Definition: Histograms.h:389
std::shared_ptr< TH1F > hSagittaMag
Definition: Histograms.h:382
std::shared_ptr< TH2F > hSagittaPVSType
Definition: Histograms.h:383
std::shared_ptr< TH1F > hAbsXEntry
Definition: Histograms.h:376
TString name
Definition: Histograms.h:397
virtual hHits::~hHits ( )
inlinevirtual

Definition at line 197 of file Histograms.h.

197  {
198  // delete hHitType;
199  // delete hZentry;
200  // delete hZexit;
201  // delete hXentry;
202  // delete hXexit;
203  // delete hYentry;
204  // delete hYexit;
205  // delete hDeltaZ;
206  // delete hDeltaY;
207  // delete hDeltaX;
208  // delete hAbsZEntry;
209  // delete hAbsZExit;
210  // delete hAbsXEntry;
211  // delete hAbsXExit;
212  // delete hAbsYEntry;
213  // delete hAbsYExit;
214  // delete hHitMomentum;
215  // delete hSagittaGeom;
216  // delete hSagittaMag;
217  // delete hSagittaPVSType;
218  // delete hSagittaBVSType;
219  // delete hPathVSType;
220  // delete hPathXVSType;
221  // delete hProcessType;
222  // delete hProcessVsHitType;
223  // delete hPathVsProcess;
224  // delete hPathXVsProcess;
225 
226  // delete h3DPathXVsProcessVsType;
227  // delete h3DPathVsProcessVsType;
228  // delete h3DXexitVsProcessVsType;
229  }
hHits::hHits ( std::string  name_,
TFile *  file 
)
inline

Definition at line 231 of file Histograms.h.

References h3DPathVsProcessVsType, h3DPathXVsProcessVsType, h3DXexitVsProcessVsType, hAbsXEntry, hAbsXExit, hAbsYEntry, hAbsYExit, hAbsZEntry, hAbsZExit, hDeltaX, hDeltaY, hDeltaZ, hHitMomentum, hHitType, hPathVsProcess, hPathVSType, hPathXVsProcess, hPathXVSType, hProcessType, hProcessVsHitType, hSagittaBVSType, hSagittaGeom, hSagittaMag, hSagittaPVSType, hXentry, hXexit, hYentry, hYexit, hZentry, hZexit, hist_helper::make_non_owning_cast(), and name.

231  {
232  name = name_.c_str();
233  // per lettura da file degli istogrammi
234  // 1D
235  hHitType = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_HitType"));
236  hDeltaZ = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_DeltaZ"));
237  hDeltaY = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_DeltaY"));
238  hDeltaX = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_DeltaX"));
239  hZentry = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_Zentry"));
240  hZexit = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_Zexit"));
241  hXentry = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_Xentry"));
242  hXexit = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_Xexit"));
243  hYentry = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_Yentry"));
244  hYexit = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_Yexit"));
245  hHitMomentum = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_HitMomentum"));
246  hAbsZEntry = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_AbsZEntry"));
247  hAbsZExit = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_AbsZExit"));
248  hAbsXEntry = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_AbsXEntry"));
249  hAbsXExit = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_AbsXExit"));
250  hAbsYEntry = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_AbsYEntry"));
251  hAbsYExit = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_AbsYExit"));
252  hSagittaGeom = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_SagittaGeom"));
253  hSagittaMag = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_SagittaMag"));
254  hSagittaPVSType = hist_helper::make_non_owning_cast<TH2F>(file->Get(name + "_SagittaPVSType"));
255  hSagittaBVSType = hist_helper::make_non_owning_cast<TH2F>(file->Get(name + "_SagittaBVSType"));
256  hPathVSType = hist_helper::make_non_owning_cast<TH2F>(file->Get(name + "_PathVSType"));
257  hPathXVSType = hist_helper::make_non_owning_cast<TH2F>(file->Get(name + "_PathXVSType"));
258  hProcessType = hist_helper::make_non_owning_cast<TH1F>(file->Get(name + "_ProcessType"));
259  hProcessVsHitType = hist_helper::make_non_owning_cast<TH2F>(file->Get(name + "_ProcessVsHitType"));
260  hPathVsProcess = hist_helper::make_non_owning_cast<TH2F>(file->Get(name + "_PathVsProcess"));
261  hPathXVsProcess = hist_helper::make_non_owning_cast<TH2F>(file->Get(name + "_PathXVsProcess"));
262  h3DPathXVsProcessVsType = hist_helper::make_non_owning_cast<TH3F>(file->Get(name + "_h3DPathXVsProcessVsType"));
263  h3DPathVsProcessVsType = hist_helper::make_non_owning_cast<TH3F>(file->Get(name + "_h3DPathVsProcessVsType"));
264  h3DXexitVsProcessVsType = hist_helper::make_non_owning_cast<TH3F>(file->Get(name + "_h3DXexitVsProcessVsType"));
265  }
std::shared_ptr< TH1F > hSagittaGeom
Definition: Histograms.h:381
std::shared_ptr< TH2F > hPathVSType
Definition: Histograms.h:385
std::shared_ptr< TH1F > hXexit
Definition: Histograms.h:368
std::shared_ptr< TH1F > hZentry
Definition: Histograms.h:365
std::shared_ptr< TH1F > hZexit
Definition: Histograms.h:366
std::shared_ptr< TH3F > h3DXexitVsProcessVsType
Definition: Histograms.h:393
std::shared_ptr< TH2F > hProcessVsHitType
Definition: Histograms.h:388
std::shared_ptr< T > make_non_owning_cast(TObject *iT)
Definition: Histograms.h:30
std::shared_ptr< TH1F > hDeltaX
Definition: Histograms.h:373
std::shared_ptr< TH3F > h3DPathXVsProcessVsType
Definition: Histograms.h:391
std::shared_ptr< TH1F > hAbsYEntry
Definition: Histograms.h:378
std::shared_ptr< TH2F > hPathXVSType
Definition: Histograms.h:386
std::shared_ptr< TH1F > hProcessType
Definition: Histograms.h:387
std::shared_ptr< TH1F > hHitType
Definition: Histograms.h:364
std::shared_ptr< TH1F > hAbsZEntry
Definition: Histograms.h:374
std::shared_ptr< TH1F > hDeltaY
Definition: Histograms.h:372
std::shared_ptr< TH1F > hAbsXExit
Definition: Histograms.h:377
std::shared_ptr< TH2F > hSagittaBVSType
Definition: Histograms.h:384
std::shared_ptr< TH1F > hYexit
Definition: Histograms.h:370
std::shared_ptr< TH3F > h3DPathVsProcessVsType
Definition: Histograms.h:392
std::shared_ptr< TH2F > hPathXVsProcess
Definition: Histograms.h:390
std::shared_ptr< TH1F > hYentry
Definition: Histograms.h:369
std::shared_ptr< TH1F > hHitMomentum
Definition: Histograms.h:380
std::shared_ptr< TH1F > hAbsYExit
Definition: Histograms.h:379
std::shared_ptr< TH1F > hDeltaZ
Definition: Histograms.h:371
std::shared_ptr< TH1F > hXentry
Definition: Histograms.h:367
std::shared_ptr< TH1F > hAbsZExit
Definition: Histograms.h:375
std::shared_ptr< TH2F > hPathVsProcess
Definition: Histograms.h:389
std::shared_ptr< TH1F > hSagittaMag
Definition: Histograms.h:382
std::shared_ptr< TH2F > hSagittaPVSType
Definition: Histograms.h:383
std::shared_ptr< TH1F > hAbsXEntry
Definition: Histograms.h:376
TString name
Definition: Histograms.h:397

Member Function Documentation

void hHits::Fill ( double  xEntry,
double  xExit,
double  entryPy,
double  exitPy,
double  entryPz,
double  exitPz,
double  path,
double  path_x,
int  hitType,
float  processType,
double  pAbs 
)
inline

Definition at line 303 of file Histograms.h.

References h3DPathVsProcessVsType, h3DPathXVsProcessVsType, h3DXexitVsProcessVsType, hAbsXEntry, hAbsXExit, hAbsZEntry, hAbsZExit, hDeltaX, hDeltaY, hDeltaZ, hHitMomentum, hHitType, hPathVsProcess, hPathVSType, hPathXVsProcess, hPathXVSType, hProcessType, hProcessVsHitType, hXentry, hXexit, hYentry, hYexit, hZentry, and hZexit.

313  { //,double wire_length){
314 
315  hHitType->Fill(hitType);
316  hZentry->Fill(entryPz);
317  hZexit->Fill(exitPz);
318 
319  hXentry->Fill(xEntry);
320  hXexit->Fill(xExit);
321  hYentry->Fill(entryPy);
322  hYexit->Fill(exitPy);
323 
324  hDeltaZ->Fill(exitPz - entryPz);
325  hDeltaY->Fill(exitPy - entryPy);
326  hDeltaX->Fill(xExit - xEntry);
327 
328  hHitMomentum->Fill(pAbs);
329 
330  hAbsZEntry->Fill(fabs(entryPz));
331  hAbsZExit->Fill(fabs(exitPz));
332 
333  if (fabs(entryPz) < 0.573) {
334  hAbsXEntry->Fill(fabs(xEntry));
335  }
336 
337  if (fabs(exitPz) < 0.573) {
338  hAbsXExit->Fill(fabs(xExit));
339  }
340 
341  // hAbsYEntry->Fill(wire_length/2.-fabs(entryPy));
342  // hAbsYExit->Fill(wire_length/2.-fabs(exitPy));
343 
344  hPathVSType->Fill(hitType, path);
345  hPathXVSType->Fill(hitType, path_x);
346  hProcessType->Fill(processType);
347  hProcessVsHitType->Fill(hitType, processType);
348  hPathVsProcess->Fill(processType, path);
349  hPathXVsProcess->Fill(processType, path_x);
350 
351  h3DPathXVsProcessVsType->Fill(processType, hitType, path_x);
352  h3DPathVsProcessVsType->Fill(processType, hitType, path);
353  h3DXexitVsProcessVsType->Fill(processType, hitType, xExit);
354  }
std::shared_ptr< TH2F > hPathVSType
Definition: Histograms.h:385
std::shared_ptr< TH1F > hXexit
Definition: Histograms.h:368
std::shared_ptr< TH1F > hZentry
Definition: Histograms.h:365
std::shared_ptr< TH1F > hZexit
Definition: Histograms.h:366
std::shared_ptr< TH3F > h3DXexitVsProcessVsType
Definition: Histograms.h:393
std::shared_ptr< TH2F > hProcessVsHitType
Definition: Histograms.h:388
std::shared_ptr< TH1F > hDeltaX
Definition: Histograms.h:373
std::shared_ptr< TH3F > h3DPathXVsProcessVsType
Definition: Histograms.h:391
std::shared_ptr< TH2F > hPathXVSType
Definition: Histograms.h:386
std::shared_ptr< TH1F > hProcessType
Definition: Histograms.h:387
std::shared_ptr< TH1F > hHitType
Definition: Histograms.h:364
std::shared_ptr< TH1F > hAbsZEntry
Definition: Histograms.h:374
std::shared_ptr< TH1F > hDeltaY
Definition: Histograms.h:372
std::shared_ptr< TH1F > hAbsXExit
Definition: Histograms.h:377
std::shared_ptr< TH1F > hYexit
Definition: Histograms.h:370
std::shared_ptr< TH3F > h3DPathVsProcessVsType
Definition: Histograms.h:392
std::shared_ptr< TH2F > hPathXVsProcess
Definition: Histograms.h:390
std::shared_ptr< TH1F > hYentry
Definition: Histograms.h:369
std::shared_ptr< TH1F > hHitMomentum
Definition: Histograms.h:380
std::shared_ptr< TH1F > hDeltaZ
Definition: Histograms.h:371
std::shared_ptr< TH1F > hXentry
Definition: Histograms.h:367
std::shared_ptr< TH1F > hAbsZExit
Definition: Histograms.h:375
std::shared_ptr< TH2F > hPathVsProcess
Definition: Histograms.h:389
std::shared_ptr< TH1F > hAbsXEntry
Definition: Histograms.h:376
void hHits::FillSagittas ( double  SG,
double  SM,
int  hitType 
)
inline

Definition at line 356 of file Histograms.h.

References hSagittaBVSType, hSagittaGeom, hSagittaMag, and hSagittaPVSType.

356  {
357  hSagittaGeom->Fill(SG);
358  hSagittaMag->Fill(SM);
359  hSagittaPVSType->Fill(hitType, SG);
360  hSagittaBVSType->Fill(hitType, SM);
361  }
std::shared_ptr< TH1F > hSagittaGeom
Definition: Histograms.h:381
std::shared_ptr< TH2F > hSagittaBVSType
Definition: Histograms.h:384
std::shared_ptr< TH1F > hSagittaMag
Definition: Histograms.h:382
std::shared_ptr< TH2F > hSagittaPVSType
Definition: Histograms.h:383
void hHits::FillTOF ( double  tof)
inline

Definition at line 301 of file Histograms.h.

References hHitTOF.

301 { hHitTOF->Fill(tof); }
std::shared_ptr< TH1F > hHitTOF
Definition: Histograms.h:394
void hHits::Write ( )
inline

Definition at line 267 of file Histograms.h.

References h3DPathVsProcessVsType, h3DPathXVsProcessVsType, h3DXexitVsProcessVsType, hAbsXEntry, hAbsXExit, hAbsYEntry, hAbsYExit, hAbsZEntry, hAbsZExit, hDeltaX, hDeltaY, hDeltaZ, hHitMomentum, hHitTOF, hHitType, hPathVsProcess, hPathVSType, hPathXVsProcess, hPathXVSType, hProcessType, hProcessVsHitType, hSagittaBVSType, hSagittaGeom, hSagittaMag, hSagittaPVSType, hXentry, hXexit, hYentry, hYexit, hZentry, and hZexit.

267  {
268  hHitType->Write();
269  hZentry->Write();
270  hZexit->Write();
271  hXentry->Write();
272  hXexit->Write();
273  hYentry->Write();
274  hYexit->Write();
275  hDeltaZ->Write();
276  hDeltaY->Write();
277  hDeltaX->Write();
278  hAbsZEntry->Write();
279  hAbsZExit->Write();
280  hAbsXEntry->Write();
281  hAbsXExit->Write();
282  hAbsYEntry->Write();
283  hAbsYExit->Write();
284  hHitMomentum->Write();
285  hSagittaGeom->Write();
286  hSagittaMag->Write();
287  hSagittaPVSType->Write();
288  hSagittaBVSType->Write();
289  hPathVSType->Write();
290  hPathXVSType->Write();
291  hProcessType->Write();
292  hProcessVsHitType->Write();
293  hPathVsProcess->Write();
294  hPathXVsProcess->Write();
295  h3DPathXVsProcessVsType->Write();
296  h3DPathVsProcessVsType->Write();
297  h3DXexitVsProcessVsType->Write();
298  hHitTOF->Write();
299  }
std::shared_ptr< TH1F > hSagittaGeom
Definition: Histograms.h:381
std::shared_ptr< TH2F > hPathVSType
Definition: Histograms.h:385
std::shared_ptr< TH1F > hXexit
Definition: Histograms.h:368
std::shared_ptr< TH1F > hZentry
Definition: Histograms.h:365
std::shared_ptr< TH1F > hZexit
Definition: Histograms.h:366
std::shared_ptr< TH3F > h3DXexitVsProcessVsType
Definition: Histograms.h:393
std::shared_ptr< TH2F > hProcessVsHitType
Definition: Histograms.h:388
std::shared_ptr< TH1F > hDeltaX
Definition: Histograms.h:373
std::shared_ptr< TH3F > h3DPathXVsProcessVsType
Definition: Histograms.h:391
std::shared_ptr< TH1F > hAbsYEntry
Definition: Histograms.h:378
std::shared_ptr< TH1F > hHitTOF
Definition: Histograms.h:394
std::shared_ptr< TH2F > hPathXVSType
Definition: Histograms.h:386
std::shared_ptr< TH1F > hProcessType
Definition: Histograms.h:387
std::shared_ptr< TH1F > hHitType
Definition: Histograms.h:364
std::shared_ptr< TH1F > hAbsZEntry
Definition: Histograms.h:374
std::shared_ptr< TH1F > hDeltaY
Definition: Histograms.h:372
std::shared_ptr< TH1F > hAbsXExit
Definition: Histograms.h:377
std::shared_ptr< TH2F > hSagittaBVSType
Definition: Histograms.h:384
std::shared_ptr< TH1F > hYexit
Definition: Histograms.h:370
std::shared_ptr< TH3F > h3DPathVsProcessVsType
Definition: Histograms.h:392
std::shared_ptr< TH2F > hPathXVsProcess
Definition: Histograms.h:390
std::shared_ptr< TH1F > hYentry
Definition: Histograms.h:369
std::shared_ptr< TH1F > hHitMomentum
Definition: Histograms.h:380
std::shared_ptr< TH1F > hAbsYExit
Definition: Histograms.h:379
std::shared_ptr< TH1F > hDeltaZ
Definition: Histograms.h:371
std::shared_ptr< TH1F > hXentry
Definition: Histograms.h:367
std::shared_ptr< TH1F > hAbsZExit
Definition: Histograms.h:375
std::shared_ptr< TH2F > hPathVsProcess
Definition: Histograms.h:389
std::shared_ptr< TH1F > hSagittaMag
Definition: Histograms.h:382
std::shared_ptr< TH2F > hSagittaPVSType
Definition: Histograms.h:383
std::shared_ptr< TH1F > hAbsXEntry
Definition: Histograms.h:376

Member Data Documentation

std::shared_ptr<TH3F> hHits::h3DPathVsProcessVsType

Definition at line 392 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH3F> hHits::h3DPathXVsProcessVsType

Definition at line 391 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH3F> hHits::h3DXexitVsProcessVsType

Definition at line 393 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hAbsXEntry

Definition at line 376 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hAbsXExit

Definition at line 377 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hAbsYEntry

Definition at line 378 of file Histograms.h.

Referenced by hHits(), and Write().

std::shared_ptr<TH1F> hHits::hAbsYExit

Definition at line 379 of file Histograms.h.

Referenced by hHits(), and Write().

std::shared_ptr<TH1F> hHits::hAbsZEntry

Definition at line 374 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hAbsZExit

Definition at line 375 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hDeltaX

Definition at line 373 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hDeltaY

Definition at line 372 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hDeltaZ

Definition at line 371 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hHitMomentum

Definition at line 380 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hHitTOF

Definition at line 394 of file Histograms.h.

Referenced by FillTOF(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hHitType

Definition at line 364 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH2F> hHits::hPathVsProcess

Definition at line 389 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH2F> hHits::hPathVSType

Definition at line 385 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH2F> hHits::hPathXVsProcess

Definition at line 390 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH2F> hHits::hPathXVSType

Definition at line 386 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hProcessType

Definition at line 387 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH2F> hHits::hProcessVsHitType

Definition at line 388 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH2F> hHits::hSagittaBVSType

Definition at line 384 of file Histograms.h.

Referenced by FillSagittas(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hSagittaGeom

Definition at line 381 of file Histograms.h.

Referenced by FillSagittas(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hSagittaMag

Definition at line 382 of file Histograms.h.

Referenced by FillSagittas(), hHits(), and Write().

std::shared_ptr<TH2F> hHits::hSagittaPVSType

Definition at line 383 of file Histograms.h.

Referenced by FillSagittas(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hXentry

Definition at line 367 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hXexit

Definition at line 368 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hYentry

Definition at line 369 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hYexit

Definition at line 370 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hZentry

Definition at line 365 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

std::shared_ptr<TH1F> hHits::hZexit

Definition at line 366 of file Histograms.h.

Referenced by Fill(), hHits(), and Write().

TString hHits::name
private