CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
Histograms Class Referenceabstract

#include <Histograms.h>

Inheritance diagram for Histograms:
HCovarianceVSParts HCovarianceVSxy HDelta HFunctionResolution HLikelihoodVSPart HMassResolutionVSPart HMassVSPart HMassVSPartProfile HParticle HPartVSEta HPartVSPhi HPartVSPt HResolutionVSPart HTH1D HTH2D HTProfile

Public Member Functions

virtual void Clear ()=0
 
void declareHistograms ()
 
virtual void Fill (const reco::Particle::LorentzVector &p1, const reco::Particle::LorentzVector &p2)
 
virtual void Fill (const reco::Particle::LorentzVector &p1, const reco::Particle::LorentzVector &p2, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &p1, const reco::Particle::LorentzVector &p2)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &weight=1.)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum, const int charge, const double &weight=1.)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &resValue, const int charge)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &genValue, const double recValue, const int charge)
 
virtual void Fill (const CLHEP::HepLorentzVector &p, const double &likeValue)
 
virtual void Fill (const unsigned int number)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const int charge1, const reco::Particle::LorentzVector &genP1, const reco::Particle::LorentzVector &recoP2, const int charge2, const reco::Particle::LorentzVector &genP2, const double &recoMass, const double &genMass)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const int charge1, const reco::Particle::LorentzVector &recoP2, const int charge2, const double &recoMass, const double &genMass)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const reco::Particle::LorentzVector &genP1, const reco::Particle::LorentzVector &recoP2, const reco::Particle::LorentzVector &genP2)
 
virtual void Fill (const double &x, const double &y)
 
virtual void Fill (const double &x, const double &y, const double &a, const double &b)
 
virtual void Fill (const reco::Particle::LorentzVector &p41, const reco::Particle::LorentzVector &p42, const reco::Particle::LorentzVector &p4Res, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2, const CLHEP::HepLorentzVector &momentumRes, const double &weight=1.)
 
void fillEventInfo (int proc, int strk, int ntrkr)
 
void fillRecHistograms (const RecTrack_t &r)
 
void fillSimHistograms (const SimTrack_t &s)
 
void fillVzeroHistograms (const RecVzero_t &r, int part)
 
virtual double Get (const reco::Particle::LorentzVector &recoP1, const TString &covarianceName)
 
virtual TString GetName ()
 
 Histograms ()
 
 Histograms (const TString &name)
 
 Histograms (TFile *outputFile, const TString &name)
 
 Histograms (const edm::ParameterSet &pset)
 
virtual void SetWeight (double weight)
 
virtual void Write ()=0
 
void writeHistograms ()
 
virtual ~Histograms ()
 
 ~Histograms ()
 

Protected Attributes

TDirectory * histoDir_
 
TString name_
 
TFile * outputFile_
 
double theWeight_
 

Private Member Functions

int getCharge (int charge)
 
int getParticle (int id)
 

Private Attributes

std::vector< double > etaBins
 
EventInfo_t eventInfoValues
 
bool fillHistograms
 
bool fillNtuples
 
std::vector< TH3F * > hacc
 
std::vector< TH3F * > hall
 
std::vector< TH2F * > hdac
 
std::vector< TH2F * > hdec
 
std::vector< TH2F * > hder
 
std::vector< TH2F * > held
 
std::vector< TH3F * > helo
 
std::vector< TH1F * > heve
 
std::vector< TH3F * > hfak
 
std::vector< TH3F * > hima
 
TFile * histoFile
 
std::vector< TH3F * > hmul
 
std::vector< TH3F * > hnhi
 
std::vector< TH2F * > hpro
 
std::vector< TH3F * > href
 
std::vector< TH3F * > hrho
 
std::vector< TH3F * > hrpt
 
std::vector< TH3F * > hsim
 
std::vector< TH2F * > hsp0
 
std::vector< TH2F * > hsp1
 
std::vector< TH2F * > hsp2
 
std::vector< TH3F * > hvpt
 
std::vector< double > ldeBins
 
std::vector< double > lpBins
 
std::vector< double > metaBins
 
std::vector< double > nhitBins
 
std::vector< double > ntrkBins
 
TFile * ntupleFile
 
std::vector< double > ptBins
 
std::vector< double > ratBins
 
RecTrack_t recTrackValues
 
RecVzero_t recVzeroValues
 
std::vector< double > rhoBins
 
SimTrack_t simTrackValues
 
std::vector< TTree * > trackTrees
 
std::vector< double > zBins
 

Detailed Description

Collection of histograms for GLB muon analysis

Date:
2012/12/20 16:09:21
Revision:
1.17
Author
S. Bolognesi - INFN Torino / T.Dorigo - INFN Padova

Collection of histograms for DT RecHit and Segment test.

Author
S. Bolognesi and G. Cerminara - INFN Torino

No description available.

Date:
2008/06/24 16:40:53
Revision:
1.5
Author
R. Bellan - INFN Torino ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch

Definition at line 37 of file Histograms.h.

Constructor & Destructor Documentation

Histograms::Histograms ( )
inline

Definition at line 42 of file Histograms.h.

42 : theWeight_(1), histoDir_(0) {};
TDirectory * histoDir_
Definition: Histograms.h:125
double theWeight_
Definition: Histograms.h:122
Histograms::Histograms ( const TString &  name)
inline

Definition at line 43 of file Histograms.h.

43 : theWeight_(1), name_(name), histoDir_(0) {}
TString name_
Definition: Histograms.h:123
TDirectory * histoDir_
Definition: Histograms.h:125
double theWeight_
Definition: Histograms.h:122
Histograms::Histograms ( TFile *  outputFile,
const TString &  name 
)
inline

Definition at line 44 of file Histograms.h.

References histoDir_.

44  :
45  theWeight_(1),
46  name_(name),
48  histoDir_( outputFile->GetDirectory(name) )
49  {
50  if( histoDir_ == 0 ) {
51  histoDir_ = outputFile->mkdir(name);
52  }
53  histoDir_->cd();
54  }
TFile * outputFile_
Definition: Histograms.h:124
TString name_
Definition: Histograms.h:123
TDirectory * histoDir_
Definition: Histograms.h:125
double theWeight_
Definition: Histograms.h:122
Histograms::~Histograms ( )
inlinevirtual

Definition at line 58 of file Histograms.h.

58 {};
Histograms::Histograms ( const edm::ParameterSet pset)

Definition at line 84 of file Histograms.cc.

References RPCNoise_example::fillHistograms, edm::ParameterSet::getParameter(), and histoFile.

85 {
86  fillHistograms = pset.getParameter<bool>("fillHistograms");
87  fillNtuples = pset.getParameter<bool>("fillNtuples");
88 
89  std::string histoFileLabel = pset.getParameter<std::string>("histoFile");
90  histoFile = new TFile(histoFileLabel.c_str(),"recreate");
91 
92  std::string ntupleFileLabel = pset.getParameter<std::string>("ntupleFile");
93  ntupleFile = new TFile(ntupleFileLabel.c_str(),"recreate");
94 
95 // resultFile->cd();
96 }
T getParameter(std::string const &) const
bool fillNtuples
Definition: Histograms.h:84
TFile * ntupleFile
Definition: Histograms.h:82
bool fillHistograms
Definition: Histograms.h:83
TFile * histoFile
Definition: Histograms.h:81
Histograms::~Histograms ( )

Member Function Documentation

virtual void Histograms::Clear ( )
pure virtual
void Histograms::declareHistograms ( )

Definition at line 153 of file Histograms.cc.

References aks, ala, DeDxDiscriminatorTools::charge(), chargeName, alignCSCRings::e, eta(), jptDQMConfig_cff::etaBins, jptDQMConfig_cff::etaMax, jptDQMConfig_cff::etaMin, feedDown, RPCNoise_example::fillHistograms, first, gam, gen::k, k0s, kst, lam, create_public_lumi_plots::log, nCharges, nFeedDowns, partName, phi, pip, jptDQMConfig_cff::ptBins, rho, edm::second(), and detailsBasic3DVector::z.

154 {
155  if(fillNtuples)
156  {
157  TString leafStr;
158 
159  trackTrees.push_back(new TTree("simTrackTree","simTrackTree"));
160  leafStr = "ids/I:etas/F:pts/F:acc/I:prim/I:nrec/I:ntrkr/I";
161  trackTrees[0]->Branch("simTrackValues", &simTrackValues, leafStr.Data());
162 
163  trackTrees.push_back(new TTree("recTrackTree","recTrackTree"));
164  leafStr = "charge/I:etar/F:ptr/F:phir/F:zr/F:logpr/F:logde/F:nhitr/I:prim/I:nsim/I:ids/I:parids/I:etas/F:pts/F:ntrkr/I";
165  trackTrees[1]->Branch("recTrackValues", &recTrackValues, leafStr.Data());
166 
167  trackTrees.push_back(new TTree("recVzeroTree","recVzeroTree"));
168  leafStr = "etar/F:ptr/F:ima/F:rhor/F";
169  trackTrees[2]->Branch("recVzeroValues", &recVzeroValues, leafStr.Data());
170 
171  trackTrees.push_back(new TTree("eventInfoTree","eventInfoTree"));
172  leafStr = "proc/I:strk/I:ntrkr/I";
173  trackTrees[3]->Branch("eventInfoValues", &eventInfoValues, leafStr.Data());
174  }
175 
176  if(fillHistograms)
177  {
179  // Pt
180  const double small = 1e-3;
181  double pt;
182 
183  for(pt = 0; pt < 1 - small; pt += 0.05) ptBins.push_back(pt);
184  for(pt = 1; pt < 2 - small; pt += 0.1 ) ptBins.push_back(pt);
185  for(pt = 2; pt < 4 - small; pt += 0.2 ) ptBins.push_back(pt);
186  for(pt = 4; pt < 8 - small; pt += 0.5 ) ptBins.push_back(pt);
187  for(pt = 8; pt < 16 - small; pt += 1. ) ptBins.push_back(pt);
188  for(pt = 16; pt < 32 - small; pt += 2. ) ptBins.push_back(pt);
189  for(pt = 32; pt < 64 - small; pt += 4. ) ptBins.push_back(pt);
190 
191  static float ratMin = 0.5;
192  static float ratMax = 1.5;
193  static float ratWidth = 1./200;
194 
195  for(double rat = ratMin; rat < ratMax + ratWidth/2; rat += ratWidth)
196  ratBins.push_back(rat);
197 
199  // Eta (-3,3)
200  static float etaMin = -3.0;
201  static float etaMax = 3.0;
202  static float etaWidth = 0.2;
203 
204  for(double eta = etaMin; eta < etaMax + etaWidth/2; eta += etaWidth)
205  etaBins.push_back(eta);
206 
207 // for(double eta = etaMin; eta < etaMax + etaWidth/2; eta += etaWidth/10)
208  for(double eta = etaMin; eta < etaMax + etaWidth/2; eta += etaWidth/5)
209  metaBins.push_back(eta);
210 
211  static float zMin = -20.;
212  static float zMax = 20.;
213 // static float zWidth = 0.1;
214  static float zWidth = 0.2;
215 
216  for(double z = zMin; z < zMax + zWidth/2; z += zWidth)
217  zBins.push_back(z);
218 
220  // Number of recontructed tracks
221  static float ntrkMin = 0.5;
222 // FIXME
223 // static float ntrkMax = 200.;
224 // static float ntrkWidth = 5.;
225  static float ntrkMax = 1000.;
226  static float ntrkWidth = 10.;
227 
228  for(double ntrk = ntrkMin; ntrk < ntrkMax + ntrkWidth; ntrk += ntrkWidth)
229  ntrkBins.push_back(ntrk);
230 
231 
232  char histName[256];
233 
235  // EventInfo
236  sprintf(histName,"heve");
237  heve.push_back(new TH1F(histName,histName, 200, -0.5,199.5));
238 
239  sprintf(histName,"hsdx");
240  heve.push_back(new TH1F(histName,histName, 200, -0.5,199.5));
241 
242  sprintf(histName,"hddx");
243  heve.push_back(new TH1F(histName,histName, 200, -0.5,199.5));
244 
245  sprintf(histName,"hndx");
246  heve.push_back(new TH1F(histName,histName, 200, -0.5,199.5));
247 
248  sprintf(histName,"hder");
249  hder.push_back(new TH2F(histName,histName, 200, -0.5,199.5,
250  200, -0.5,199.5));
251 
253  // SimTrack
254  for(int part = pip; part <= ala; part++)
255  {
256  // simulated
257  sprintf(histName,"hsim_%s", partName[part]);
258  hsim.push_back(new TH3F(histName,histName,
259  etaBins.size()-1, &etaBins[0],
260  ptBins.size()-1, &ptBins[0],
261  ntrkBins.size()-1, &ntrkBins[0]));
262 
263  // accepted
264  sprintf(histName,"hacc_%s", partName[part]);
265  hacc.push_back(new TH3F(histName,histName,
266  etaBins.size()-1, &etaBins[0],
267  ptBins.size()-1, &ptBins[0],
268  ntrkBins.size()-1, &ntrkBins[0]));
269 
270  // reconstructed/efficiency
271  sprintf(histName,"href_%s", partName[part]);
272  href.push_back(new TH3F(histName,histName,
273  etaBins.size()-1, &etaBins[0],
274  ptBins.size()-1, &ptBins[0],
275  ntrkBins.size()-1, &ntrkBins[0]));
276 
277  // multiply reconstructed
278  sprintf(histName,"hmul_%s", partName[part]);
279  hmul.push_back(new TH3F(histName,histName,
280  etaBins.size()-1, &etaBins[0],
281  ptBins.size()-1, &ptBins[0],
282  ntrkBins.size()-1, &ntrkBins[0]));
283  }
284 
286  // RecTrack
287  for(int charge = 0; charge < nCharges; charge++)
288  {
289  sprintf(histName,"hall_%s",chargeName[charge]);
290  hall.push_back(new TH3F(histName,histName,
291  etaBins.size()-1, &etaBins[0],
292  ptBins.size()-1, &ptBins[0],
293  ntrkBins.size()-1, &ntrkBins[0]));
294 
295  sprintf(histName,"hdac_%s",chargeName[charge]);
296  hdac.push_back(new TH2F(histName,histName,
297  metaBins.size()-1, &metaBins[0],
298  zBins.size()-1, &zBins[0]));
299 
301  // RecTrack -- FakeRate
302  sprintf(histName,"hfak_%s",chargeName[charge]);
303  hfak.push_back(new TH3F(histName,histName,
304  etaBins.size()-1, &etaBins[0],
305  ptBins.size()-1, &ptBins[0],
306  ntrkBins.size()-1, &ntrkBins[0]));
307  }
308 
310  // RecTrack -- Resolution, bias
311  for(int part = pip; part <= ala; part++)
312  {
313  // value
314  sprintf(histName,"hvpt_%s",partName[part]);
315  hvpt.push_back(new TH3F(histName,histName,
316  etaBins.size()-1, &etaBins[0],
317  ptBins.size()-1, &ptBins[0],
318  ptBins.size()-1, &ptBins[0]));
319 
320  // ratio
321  sprintf(histName,"hrpt_%s",partName[part]);
322  hrpt.push_back(new TH3F(histName,histName,
323  etaBins.size()-1, &etaBins[0],
324  ptBins.size()-1, &ptBins[0],
325  ratBins.size()-1, &ratBins[0]));
326 
327  sprintf(histName,"hsp0_%s",partName[part]);
328  hsp0.push_back(new TH2F(histName,histName,
329  etaBins.size()-1, &etaBins[0],
330  ptBins.size()-1, &ptBins[0]));
331 
332  sprintf(histName,"hsp1_%s",partName[part]);
333  hsp1.push_back(new TH2F(histName,histName,
334  etaBins.size()-1, &etaBins[0],
335  ptBins.size()-1, &ptBins[0]));
336 
337  sprintf(histName,"hsp2_%s",partName[part]);
338  hsp2.push_back(new TH2F(histName,histName,
339  etaBins.size()-1, &etaBins[0],
340  ptBins.size()-1, &ptBins[0]));
341  }
342 
344  // RecTrack -- FeedDown
345  for(int k = 0; k < nFeedDowns; k++)
346  {
347  sprintf(histName,"hpro_%s_%s", partName[feedDown[k].first], // produced
349  hpro.push_back(new TH2F(histName,histName,
350  etaBins.size()-1, &etaBins[0],
351  ptBins.size()-1, &ptBins[0]));
352 
353  sprintf(histName,"hdec_%s_%s", partName[feedDown[k].first], // decay
355  hdec.push_back(new TH2F(histName,histName,
356  etaBins.size()-1, &etaBins[0],
357  ptBins.size()-1, &ptBins[0]));
358  }
359 
361  // EnergyLoss
362  static float lpMin = -3; // 50 MeV
363  static float lpMax = 2; // 7.4 GeV
364  static float lpWidth = (lpMax - lpMin)/100;
365  for(double lp = lpMin; lp < lpMax + lpWidth/2; lp += lpWidth)
366  lpBins.push_back(lp);
367 
368  static float ldeMin = log(1);
369  static float ldeMax = log(100);
370  static float ldeWidth = (ldeMax - ldeMin)/250;
371  for(double lde = ldeMin; lde < ldeMax + ldeWidth/2; lde += ldeWidth)
372  ldeBins.push_back(lde);
373 
374  for(double nhit = -0.5; nhit < 50; nhit += 1)
375  nhitBins.push_back(nhit);
376 
377  for(int charge = 0; charge < nCharges; charge++)
378  {
379  // All hits
380  // dE/dx
381  sprintf(histName,"helo_%s", chargeName[charge]);
382  helo.push_back(new TH3F(histName,histName,
383  etaBins.size()-1, &etaBins[0],
384  ptBins.size()-1, &ptBins[0],
385  ldeBins.size()-1, &ldeBins[0]));
386 
387  // Number of hits used
388  sprintf(histName,"hnhi_%s", chargeName[charge]);
389  hnhi.push_back(new TH3F(histName,histName,
390  etaBins.size()-1, &etaBins[0],
391  ptBins.size()-1, &ptBins[0],
392  nhitBins.size()-1, &nhitBins[0]));
393 
394  // Demo plot
395  sprintf(histName,"held_%s", chargeName[charge]);
396  held.push_back(new TH2F(histName,histName,
397  lpBins.size()-1, &lpBins[0],
398  ldeBins.size()-1, &ldeBins[0]));
399  }
400 
401 /*
402  for(int charge = 0; charge < nCharges; charge++)
403  {
404  // Strip hits
405  // dE/dx
406  sprintf(histName,"selo_%s", chargeName[charge]);
407  selo.push_back(new TH3F(histName,histName,
408  etaBins.size()-1, &etaBins[0],
409  ptBins.size()-1, &ptBins[0],
410  ldeBins.size()-1, &ldeBins[0]));
411 
412  // Number of hits used
413  sprintf(histName,"snhi_%s", chargeName[charge]);
414  snhi.push_back(new TH3F(histName,histName,
415  etaBins.size()-1, &etaBins[0],
416  ptBins.size()-1, &ptBins[0],
417  nhitBins.size()-1, &nhitBins[0]));
418 
419  // Demo plot
420  sprintf(histName,"seld_%s", chargeName[charge]);
421  seld.push_back(new TH2F(histName,histName,
422  lpBins.size()-1, &lpBins[0],
423  ldeBins.size()-1, &ldeBins[0]));
424  }
425 */
426 
428  // Invariant mass
429  static float rhoMin = 0.;
430  static float rhoMax = 5.;
431  static float rhoWidth = 0.2;
432  for(double rho_ = rhoMin; rho_ < rhoMax + rhoWidth/2; rho_ += rhoWidth)
433  rhoBins.push_back(rho_);
434 
435 
436  for(int part = gam; part <= phi; part++)
437  {
438  float imMin = 0;
439  float imMax = 0;
440  float imWidth = 0;
441 
442  if(part == gam) { imMin = 0.0; imMax = 0.2; imWidth = 0.005; }
443  if(part == k0s) { imMin = 0.3; imMax = 0.7; imWidth = 0.005; }
444  if(part == lam ||
445  part == ala) { imMin = 1.0; imMax = 1.3; imWidth = 0.002; }
446 
447  if(part == rho) { imMin = 0.2; imMax = 1.2; imWidth = 0.010; }
448  if(part == kst ||
449  part == aks) { imMin = 0.6; imMax = 1.6; imWidth = 0.010; }
450  if(part == phi) { imMin = 0.9; imMax = 1.1; imWidth = 0.002; }
451 
452  std::vector<double> imBins;
453  double im;
454  for(im = imMin; im < imMax + imWidth/2; im += imWidth)
455  imBins.push_back(im);
456 
457  if(imWidth > 0)
458  {
459  sprintf(histName,"hima_%s", partName[part]);
460  hima.push_back(new TH3F(histName,histName,
461  etaBins.size()-1, &etaBins[0],
462  ptBins.size()-1, &ptBins[0],
463  imBins.size()-1, &imBins[0]));
464 
465  if(part >= rho && part <= phi)
466  {
467  sprintf(histName,"himp_%s", partName[part]);
468  hima.push_back(new TH3F(histName,histName,
469  etaBins.size()-1, &etaBins[0],
470  ptBins.size()-1, &ptBins[0],
471  imBins.size()-1, &imBins[0]));
472 
473  sprintf(histName,"himm_%s", partName[part]);
474  hima.push_back(new TH3F(histName,histName,
475  etaBins.size()-1, &etaBins[0],
476  ptBins.size()-1, &ptBins[0],
477  imBins.size()-1, &imBins[0]));
478 
479  sprintf(histName,"himx_%s", partName[part]);
480  hima.push_back(new TH3F(histName,histName,
481  etaBins.size()-1, &etaBins[0],
482  ptBins.size()-1, &ptBins[0],
483  imBins.size()-1, &imBins[0]));
484  }
485 
486  sprintf(histName,"hrho_%s", partName[part]);
487  hrho.push_back(new TH3F(histName,histName,
488  rhoBins.size()-1, &rhoBins[0],
489  ptBins.size()-1, &ptBins[0],
490  imBins.size()-1, &imBins[0]));
491  }
492  }
493  }
494 }
std::vector< TH2F * > hdec
Definition: Histograms.h:120
#define nFeedDowns
Definition: Histograms.cc:60
std::vector< TH3F * > hmul
Definition: Histograms.h:101
EventInfo_t eventInfoValues
Definition: Histograms.h:79
std::vector< TH1F * > heve
Definition: Histograms.h:94
std::vector< TH2F * > held
Definition: Histograms.h:125
Definition: DDAxes.h:10
std::vector< TH2F * > hpro
Definition: Histograms.h:119
T eta() const
RecTrack_t recTrackValues
Definition: Histograms.h:77
std::vector< TH3F * > href
Definition: Histograms.h:100
double charge(const std::vector< uint8_t > &Ampls)
double double double z
const char * chargeName[nCharges+2]
Definition: Histograms.cc:21
std::vector< double > lpBins
Definition: Histograms.h:86
U second(std::pair< T, U > const &p)
std::vector< double > ptBins
Definition: Histograms.h:86
std::vector< double > ntrkBins
Definition: Histograms.h:86
std::vector< TH2F * > hder
Definition: Histograms.h:95
std::vector< TH3F * > hrpt
Definition: Histograms.h:110
std::vector< double > ldeBins
Definition: Histograms.h:86
const char * partName[nParticles]
Definition: Histograms.cc:37
std::vector< TH3F * > helo
Definition: Histograms.h:123
std::vector< TH3F * > hrho
Definition: Histograms.h:135
std::vector< double > ratBins
Definition: Histograms.h:86
std::vector< TH2F * > hsp0
Definition: Histograms.h:111
bool fillNtuples
Definition: Histograms.h:84
std::vector< TH3F * > hfak
Definition: Histograms.h:116
std::vector< double > nhitBins
Definition: Histograms.h:86
std::vector< TTree * > trackTrees
Definition: Histograms.h:75
#define nCharges
Definition: Histograms.cc:17
bool first
Definition: L1TdeRCT.cc:94
int k[5][pyjets_maxn]
bool fillHistograms
Definition: Histograms.h:83
SimTrack_t simTrackValues
Definition: Histograms.h:76
std::vector< TH2F * > hdac
Definition: Histograms.h:106
std::vector< double > etaBins
Definition: Histograms.h:86
std::vector< TH2F * > hsp2
Definition: Histograms.h:113
std::vector< double > rhoBins
Definition: Histograms.h:86
part
Definition: HCALResponse.h:21
const std::pair< int, int > feedDown[nFeedDowns]
Definition: Histograms.cc:61
std::vector< double > metaBins
Definition: Histograms.h:86
std::vector< double > zBins
Definition: Histograms.h:86
RecVzero_t recVzeroValues
Definition: Histograms.h:78
std::vector< TH3F * > hsim
Definition: Histograms.h:98
std::vector< TH3F * > hacc
Definition: Histograms.h:99
std::vector< TH3F * > hima
Definition: Histograms.h:134
std::vector< TH2F * > hsp1
Definition: Histograms.h:112
std::vector< TH3F * > hvpt
Definition: Histograms.h:109
std::vector< TH3F * > hall
Definition: Histograms.h:104
Definition: DDAxes.h:10
std::vector< TH3F * > hnhi
Definition: Histograms.h:124
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p1,
const reco::Particle::LorentzVector p2 
)
inlinevirtual

Reimplemented in HDelta.

Definition at line 64 of file Histograms.h.

64 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p1,
const reco::Particle::LorentzVector p2,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Reimplemented in HMassVSPartProfile, and HMassVSPart.

Definition at line 65 of file Histograms.h.

65 {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum1,
const CLHEP::HepLorentzVector &  momentum2 
)
inlinevirtual

Reimplemented in HDelta.

Definition at line 66 of file Histograms.h.

66 {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum1,
const CLHEP::HepLorentzVector &  momentum2,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Reimplemented in HMassVSPartProfile, and HMassVSPart.

Definition at line 67 of file Histograms.h.

67 {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  p1,
const reco::Particle::LorentzVector p2 
)
inlinevirtual

Reimplemented in HDelta.

Definition at line 68 of file Histograms.h.

68 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const double &  weight = 1. 
)
inlinevirtual

Reimplemented in HLikelihoodVSPart, HPartVSPt, HPartVSPhi, and HPartVSEta.

Definition at line 69 of file Histograms.h.

69 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Reimplemented in HParticle.

Definition at line 73 of file Histograms.h.

73 {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum,
const int  charge,
const double &  weight = 1. 
)
inlinevirtual

Reimplemented in HParticle.

Definition at line 75 of file Histograms.h.

75 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const double &  resValue,
const int  charge 
)
inlinevirtual

Reimplemented in HFunctionResolutionVarianceCheck, HFunctionResolution, and HResolutionVSPart.

Definition at line 78 of file Histograms.h.

78 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p4,
const double &  genValue,
const double  recValue,
const int  charge 
)
inlinevirtual

Definition at line 79 of file Histograms.h.

79 {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  p,
const double &  likeValue 
)
inlinevirtual

Reimplemented in HPartVSPt, HPartVSPhi, and HPartVSEta.

Definition at line 80 of file Histograms.h.

80 {};
virtual void Histograms::Fill ( const unsigned int  number)
inlinevirtual

Reimplemented in HParticle.

Definition at line 81 of file Histograms.h.

81 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector recoP1,
const int  charge1,
const reco::Particle::LorentzVector genP1,
const reco::Particle::LorentzVector recoP2,
const int  charge2,
const reco::Particle::LorentzVector genP2,
const double &  recoMass,
const double &  genMass 
)
inlinevirtual

Reimplemented in HMassResolutionVSPart.

Definition at line 82 of file Histograms.h.

86  {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector recoP1,
const int  charge1,
const reco::Particle::LorentzVector recoP2,
const int  charge2,
const double &  recoMass,
const double &  genMass 
)
inlinevirtual

Reimplemented in HMassResolutionVSPart.

Definition at line 87 of file Histograms.h.

91  {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector recoP1,
const reco::Particle::LorentzVector genP1,
const reco::Particle::LorentzVector recoP2,
const reco::Particle::LorentzVector genP2 
)
inlinevirtual

Reimplemented in HCovarianceVSParts.

Definition at line 92 of file Histograms.h.

95  {};
virtual void Histograms::Fill ( const double &  x,
const double &  y 
)
inlinevirtual

Reimplemented in HTProfile, HTH1D, and HTH2D.

Definition at line 96 of file Histograms.h.

96 {};
virtual void Histograms::Fill ( const double &  x,
const double &  y,
const double &  a,
const double &  b 
)
inlinevirtual

Reimplemented in HCovarianceVSxy.

Definition at line 97 of file Histograms.h.

97 {};
virtual void Histograms::Fill ( const reco::Particle::LorentzVector p41,
const reco::Particle::LorentzVector p42,
const reco::Particle::LorentzVector p4Res,
const double &  weight = 1. 
)
inlinevirtual

Reimplemented in HMassVSPart.

Definition at line 98 of file Histograms.h.

101  {};
virtual void Histograms::Fill ( const CLHEP::HepLorentzVector &  momentum1,
const CLHEP::HepLorentzVector &  momentum2,
const CLHEP::HepLorentzVector &  momentumRes,
const double &  weight = 1. 
)
inlinevirtual

Reimplemented in HMassVSPart.

Definition at line 102 of file Histograms.h.

105  {};
void Histograms::fillEventInfo ( int  proc,
int  strk,
int  ntrkr 
)

Definition at line 497 of file Histograms.cc.

References alignCSCRings::e, RPCNoise_example::fillHistograms, EventInfo_t::ntrkr, EventInfo_t::proc, proc, and EventInfo_t::strk.

498 {
499  if(fillNtuples)
500  {
501  EventInfo_t e;
502  e.proc = proc;
503  e.strk = strk;
504  e.ntrkr = ntrk;
505 
506  eventInfoValues = e;
507 
508  trackTrees[3]->Fill();
509  }
510 
511  if(fillHistograms)
512  {
513  heve[0]->Fill(ntrk);
514 
515  if(proc == 92 || proc == 93)
516  heve[1]->Fill(ntrk); // hsdx
517 
518  if(proc == 94)
519  heve[2]->Fill(ntrk); // hddx
520 
521  if(!(proc == 92 || proc == 93 || proc == 94))
522  heve[3]->Fill(ntrk); // hndx
523 
524  // For multiplicity, detector response matrix
525  hder[0]->Fill(strk,ntrk);
526  }
527 }
EventInfo_t eventInfoValues
Definition: Histograms.h:79
TrainProcessor *const proc
Definition: MVATrainer.cc:101
std::vector< TH1F * > heve
Definition: Histograms.h:94
std::vector< TH2F * > hder
Definition: Histograms.h:95
bool fillNtuples
Definition: Histograms.h:84
std::vector< TTree * > trackTrees
Definition: Histograms.h:75
bool fillHistograms
Definition: Histograms.h:83
void Histograms::fillRecHistograms ( const RecTrack_t r)

Definition at line 573 of file Histograms.cc.

References ala, any, DeDxDiscriminatorTools::charge(), RecTrack_t::charge, RecTrack_t::etar, RecTrack_t::etas, create_public_lumi_plots::exp, feedDown, RPCNoise_example::fillHistograms, ham, hap, RecTrack_t::ids, gen::k, RecTrack_t::logde, RecTrack_t::logpr, neg, nFeedDowns, RecTrack_t::nhitr, RecTrack_t::nsim, RecTrack_t::ntrkr, AlCaHLTBitMon_ParallelJobs::p, RecTrack_t::parids, partCharge, pip, pos, RecTrack_t::prim, RecTrack_t::ptr, RecTrack_t::pts, alignCSCRings::r, edm::second(), and RecTrack_t::zr.

574 {
575  if(fillNtuples)
576  {
577  if(r.prim)
578  {
579  recTrackValues = r;
580  trackTrees[1]->Fill();
581  }
582  }
583 
584  if(fillHistograms)
585  {
586  int charge = getCharge(r.charge);
587  double p = exp(r.logpr);
588 
589  if(r.prim)
590  {
591  hall[charge]->Fill(r.etar, r.ptr, r.ntrkr);
592 
593  if(r.ptr > 0.3) // !!!
594  hdac[charge]->Fill(r.etar, r.zr);
595 
596  if(r.nsim == 0)
597  hfak[charge]->Fill(r.etar, r.ptr, r.ntrkr);
598 
599  if(r.nsim == 1)
600  {
601  int part = getParticle(r.ids);
602  int moth = getParticle(r.parids);
603 
604  if(pip <= part && part <= ala)
605  {
606  hvpt[part]->Fill(r.etas, r.pts, r.ptr ); // value
607  hrpt[part]->Fill(r.etas, r.pts, r.ptr/r.pts); // ratio
608 
609  hsp0[part]->Fill(r.etas, r.pts); // sum p^0
610  hsp1[part]->Fill(r.etas, r.pts, p); // sum p^1
611  hsp2[part]->Fill(r.etas, r.pts, p*p); // sum p^2
612  }
613 
614  for(int k = 0; k < nFeedDowns; k++)
615  if(part == feedDown[k].second) // daughter same
616  {
617  hpro[k]->Fill(r.etar, r.ptr);
618 
619  if((r.parids != 0 && feedDown[k].first == any) ||
620  feedDown[k].first == moth)
621  hdec[k]->Fill(r.etar, r.ptr);
622  }
623 
624  if(partCharge[part] == pos || partCharge[part] == neg)
625  {
626  if(partCharge[part] == pos) part = hap;
627  if(partCharge[part] == neg) part = ham;
628 
629  hvpt[part]->Fill(r.etas, r.pts, r.ptr ); // value
630  hrpt[part]->Fill(r.etas, r.pts, r.ptr/r.pts); // ratio
631 
632  hsp0[part]->Fill(r.etas, r.pts); // sum p^0
633  hsp1[part]->Fill(r.etas, r.pts, p); // sum p^1
634  hsp2[part]->Fill(r.etas, r.pts, p*p); // sum p^2
635 
636  for(int k = 0; k < nFeedDowns; k++)
637  if(part == feedDown[k].second) // daughter same
638  {
639  hpro[k]->Fill(r.etar, r.ptr);
640 
641  if((r.parids != 0 && feedDown[k].first == any) ||
642  feedDown[k].first == moth)
643  hdec[k]->Fill(r.etar, r.ptr);
644  }
645  }
646  }
647 
648  // All hits
649  helo[charge]->Fill(r.etar, r.ptr, r.logde);
650  hnhi[charge]->Fill(r.etar, r.ptr, r.nhitr);
651  held[charge]->Fill(r.logpr, r.logde);
652 
653  // Strip hits
654 /*
655  selo[charge]->Fill(r.etar, r.ptr, r.logde_strip);
656  snhi[charge]->Fill(r.etar, r.ptr, r.nhitr_strip);
657  seld[charge]->Fill(r.logpr, r.logde_strip);
658 */
659  }
660  }
661 }
std::vector< TH2F * > hdec
Definition: Histograms.h:120
float pts
Definition: Histograms.h:42
#define nFeedDowns
Definition: Histograms.cc:60
std::vector< TH2F * > held
Definition: Histograms.h:125
int charge
Definition: Histograms.h:28
std::vector< TH2F * > hpro
Definition: Histograms.h:119
RecTrack_t recTrackValues
Definition: Histograms.h:77
double charge(const std::vector< uint8_t > &Ampls)
float logpr
Definition: Histograms.h:33
U second(std::pair< T, U > const &p)
std::vector< TH3F * > hrpt
Definition: Histograms.h:110
const int partCharge[nParticles]
Definition: Histograms.cc:48
std::vector< TH3F * > helo
Definition: Histograms.h:123
std::vector< TH2F * > hsp0
Definition: Histograms.h:111
bool fillNtuples
Definition: Histograms.h:84
std::vector< TH3F * > hfak
Definition: Histograms.h:116
std::vector< TTree * > trackTrees
Definition: Histograms.h:75
int parids
Definition: Histograms.h:40
int getCharge(int charge)
Definition: Histograms.cc:146
int k[5][pyjets_maxn]
bool fillHistograms
Definition: Histograms.h:83
std::vector< TH2F * > hdac
Definition: Histograms.h:106
std::vector< TH2F * > hsp2
Definition: Histograms.h:113
float zr
Definition: Histograms.h:32
float ptr
Definition: Histograms.h:30
part
Definition: HCALResponse.h:21
const std::pair< int, int > feedDown[nFeedDowns]
Definition: Histograms.cc:61
float logde
Definition: Histograms.h:34
float etas
Definition: Histograms.h:41
int getParticle(int id)
Definition: Histograms.cc:104
std::vector< TH2F * > hsp1
Definition: Histograms.h:112
float etar
Definition: Histograms.h:29
std::vector< TH3F * > hvpt
Definition: Histograms.h:109
std::vector< TH3F * > hall
Definition: Histograms.h:104
std::vector< TH3F * > hnhi
Definition: Histograms.h:124
void Histograms::fillSimHistograms ( const SimTrack_t s)

Definition at line 530 of file Histograms.cc.

References SimTrack_t::acc, ala, SimTrack_t::etas, RPCNoise_example::fillHistograms, ham, hap, SimTrack_t::ids, neg, SimTrack_t::nrec, SimTrack_t::ntrkr, partCharge, pip, pos, SimTrack_t::prim, SimTrack_t::pts, and alignCSCRings::s.

531 {
532  if(fillNtuples)
533  {
534  if(s.prim)
535  {
536  simTrackValues = s;
537  trackTrees[0]->Fill();
538  }
539  }
540 
541  if(fillHistograms)
542  {
543  int part = getParticle(s.ids);
544 
545  if(pip <= part && part <= ala && s.prim)
546  {
547  hsim[part]->Fill(s.etas, s.pts, s.ntrkr);
548  if(s.acc) hacc[part]->Fill(s.etas, s.pts, s.ntrkr);
549 if(s.acc)
550 {
551  if(s.nrec > 0) href[part]->Fill(s.etas, s.pts, s.ntrkr);
552  if(s.nrec > 1) hmul[part]->Fill(s.etas, s.pts, s.ntrkr);
553 }
554 
555  if(partCharge[part] == pos || partCharge[part] == neg)
556  {
557  if(partCharge[part] == pos) part = hap;
558  if(partCharge[part] == neg) part = ham;
559 
560  hsim[part]->Fill(s.etas, s.pts, s.ntrkr);
561  if(s.acc) hacc[part]->Fill(s.etas, s.pts, s.ntrkr);
562 if(s.acc)
563 {
564  if(s.nrec > 0) href[part]->Fill(s.etas, s.pts, s.ntrkr);
565  if(s.nrec > 1) hmul[part]->Fill(s.etas, s.pts, s.ntrkr);
566 }
567  }
568  }
569  }
570 }
std::vector< TH3F * > hmul
Definition: Histograms.h:101
float etas
Definition: Histograms.h:16
float pts
Definition: Histograms.h:17
std::vector< TH3F * > href
Definition: Histograms.h:100
const int partCharge[nParticles]
Definition: Histograms.cc:48
bool fillNtuples
Definition: Histograms.h:84
std::vector< TTree * > trackTrees
Definition: Histograms.h:75
bool fillHistograms
Definition: Histograms.h:83
SimTrack_t simTrackValues
Definition: Histograms.h:76
part
Definition: HCALResponse.h:21
int getParticle(int id)
Definition: Histograms.cc:104
std::vector< TH3F * > hsim
Definition: Histograms.h:98
std::vector< TH3F * > hacc
Definition: Histograms.h:99
void Histograms::fillVzeroHistograms ( const RecVzero_t r,
int  part 
)

Definition at line 664 of file Histograms.cc.

References RecVzero_t::etar, RPCNoise_example::fillHistograms, RecVzero_t::ima, RecVzero_t::ptr, and v.

665 {
666  if(fillNtuples)
667  {
668  recVzeroValues = v;
669  trackTrees[2]->Fill();
670  }
671 
672  if(fillHistograms)
673  hima[part]->Fill(v.etar, v.ptr, v.ima);
674 }
bool fillNtuples
Definition: Histograms.h:84
std::vector< TTree * > trackTrees
Definition: Histograms.h:75
bool fillHistograms
Definition: Histograms.h:83
part
Definition: HCALResponse.h:21
RecVzero_t recVzeroValues
Definition: Histograms.h:78
std::vector< TH3F * > hima
Definition: Histograms.h:134
mathSSE::Vec4< T > v
virtual double Histograms::Get ( const reco::Particle::LorentzVector recoP1,
const TString &  covarianceName 
)
inlinevirtual

Reimplemented in HCovarianceVSParts.

Definition at line 108 of file Histograms.h.

108 { return 0.; };
int Histograms::getCharge ( int  charge)
private

Definition at line 146 of file Histograms.cc.

References neg, and pos.

147 {
148  if(charge > 0) return pos;
149  else return neg;
150 }
double charge(const std::vector< uint8_t > &Ampls)
virtual TString Histograms::GetName ( )
inlinevirtual

Definition at line 117 of file Histograms.h.

References name_.

117  {
118  return name_;
119  }
TString name_
Definition: Histograms.h:123
int Histograms::getParticle ( int  id)
private

Definition at line 104 of file Histograms.cc.

References ala, asi, elm, elp, gam, k0s, kam, kap, lam, pim, pip, prm, prp, and sip.

105 {
106  switch(id)
107  {
108  case 211 : return pip; break;
109  case -211 : return pim; break;
110 
111  case 321 : return kap; break;
112  case -321 : return kam; break;
113 
114  case 2212 : return prp; break;
115  case -2212 : return prm; break;
116 
117  case 11 : return elp; break;
118  case -11 : return elm; break;
119 
120  // SimG4Core/Notification/src/G4TrackToParticleID.cc
121  // "deuteron" = -100; 1p 1n
122  // "triton" = -101; 1p 2n
123  // "alpha" = -102; 2p 2n
124  // "He3" = -104; 2p 1n
125 
126  case 22 : return gam; break;
127  case 310 : return k0s; break;
128  case 3122 : return lam; break;
129  case -3122 : return ala; break;
130 
131 /*
132  case 113 : return rho; break;
133  case 313 : return kst; break;
134  case -313 : return aks; break;
135  case 333 : return phi; break;
136 */
137 
138  case 3222 : return sip; break;
139  case -3222 : return asi; break;
140 
141  default : return -1; break;
142  }
143 }
virtual void Histograms::SetWeight ( double  weight)
inlinevirtual

Definition at line 113 of file Histograms.h.

References theWeight_, and CommonMethods::weight().

113  {
114  theWeight_ = weight;
115  }
double theWeight_
Definition: Histograms.h:122
virtual void Histograms::Write ( )
pure virtual
void Histograms::writeHistograms ( )

Definition at line 677 of file Histograms.cc.

References RPCNoise_example::fillHistograms, h, histoFile, and lumiQTWidget::t.

678 {
679  typedef std::vector<TH3F *>::const_iterator H3I;
680  typedef std::vector<TH2F *>::const_iterator H2I;
681  typedef std::vector<TH1F *>::const_iterator H1I;
682  typedef std::vector<TTree *>::const_iterator TI;
683 
684  if(fillHistograms)
685  {
686  histoFile->cd();
687  for(H1I h = heve.begin(); h!= heve.end(); h++) (*h)->Write();
688  for(H2I h = hder.begin(); h!= hder.end(); h++) (*h)->Write();
689 
690  for(H3I h = hsim.begin(); h!= hsim.end(); h++) (*h)->Write();
691  for(H3I h = hacc.begin(); h!= hacc.end(); h++) (*h)->Write();
692  for(H3I h = href.begin(); h!= href.end(); h++) (*h)->Write();
693  for(H3I h = hmul.begin(); h!= hmul.end(); h++) (*h)->Write();
694 
695  for(H3I h = hall.begin(); h!= hall.end(); h++) (*h)->Write();
696  for(H2I h = hdac.begin(); h!= hdac.end(); h++) (*h)->Write();
697 
698  for(H3I h = hvpt.begin(); h!= hvpt.end(); h++) (*h)->Write();
699  for(H3I h = hrpt.begin(); h!= hrpt.end(); h++) (*h)->Write();
700 
701  for(H2I h = hsp0.begin(); h!= hsp0.end(); h++) (*h)->Write();
702  for(H2I h = hsp1.begin(); h!= hsp1.end(); h++) (*h)->Write();
703  for(H2I h = hsp2.begin(); h!= hsp2.end(); h++) (*h)->Write();
704 
705  for(H3I h = hfak.begin(); h!= hfak.end(); h++) (*h)->Write();
706 
707  for(H2I h = hpro.begin(); h!= hpro.end(); h++) (*h)->Write();
708  for(H2I h = hdec.begin(); h!= hdec.end(); h++) (*h)->Write();
709 
710  for(H3I h = helo.begin(); h!= helo.end(); h++) (*h)->Write();
711  for(H3I h = hnhi.begin(); h!= hnhi.end(); h++) (*h)->Write();
712  for(H2I h = held.begin(); h!= held.end(); h++) (*h)->Write();
713 
714  for(H3I h = hima.begin(); h!= hima.end(); h++) (*h)->Write();
715  for(H3I h = hrho.begin(); h!= hrho.end(); h++) (*h)->Write();
716  histoFile->Close();
717  }
718 
719  if(fillNtuples)
720  {
721  ntupleFile->cd();
722  for(TI t = trackTrees.begin(); t!= trackTrees.end(); t++) (*t)->Write();
723  ntupleFile->Close();
724  }
725 }
std::vector< TH2F * > hdec
Definition: Histograms.h:120
std::vector< TH3F * > hmul
Definition: Histograms.h:101
std::vector< TH1F * > heve
Definition: Histograms.h:94
std::vector< TH2F * > held
Definition: Histograms.h:125
std::vector< TH2F * > hpro
Definition: Histograms.h:119
std::vector< TH3F * > href
Definition: Histograms.h:100
std::vector< TH2F * > hder
Definition: Histograms.h:95
std::vector< TH3F * > hrpt
Definition: Histograms.h:110
std::vector< TH3F * > helo
Definition: Histograms.h:123
std::vector< TH3F * > hrho
Definition: Histograms.h:135
std::vector< TH2F * > hsp0
Definition: Histograms.h:111
bool fillNtuples
Definition: Histograms.h:84
std::vector< TH3F * > hfak
Definition: Histograms.h:116
std::vector< TTree * > trackTrees
Definition: Histograms.h:75
TFile * ntupleFile
Definition: Histograms.h:82
bool fillHistograms
Definition: Histograms.h:83
std::vector< TH2F * > hdac
Definition: Histograms.h:106
std::vector< TH2F * > hsp2
Definition: Histograms.h:113
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
TFile * histoFile
Definition: Histograms.h:81
std::vector< TH3F * > hsim
Definition: Histograms.h:98
std::vector< TH3F * > hacc
Definition: Histograms.h:99
std::vector< TH3F * > hima
Definition: Histograms.h:134
std::vector< TH2F * > hsp1
Definition: Histograms.h:112
std::vector< TH3F * > hvpt
Definition: Histograms.h:109
std::vector< TH3F * > hall
Definition: Histograms.h:104
std::vector< TH3F * > hnhi
Definition: Histograms.h:124

Member Data Documentation

std::vector<double> Histograms::etaBins
private

Definition at line 86 of file Histograms.h.

EventInfo_t Histograms::eventInfoValues
private

Definition at line 79 of file Histograms.h.

bool Histograms::fillHistograms
private

Definition at line 83 of file Histograms.h.

bool Histograms::fillNtuples
private

Definition at line 84 of file Histograms.h.

std::vector<TH3F *> Histograms::hacc
private

Definition at line 99 of file Histograms.h.

std::vector<TH3F *> Histograms::hall
private

Definition at line 104 of file Histograms.h.

std::vector<TH2F *> Histograms::hdac
private

Definition at line 106 of file Histograms.h.

std::vector<TH2F *> Histograms::hdec
private

Definition at line 120 of file Histograms.h.

std::vector<TH2F *> Histograms::hder
private

Definition at line 95 of file Histograms.h.

std::vector<TH2F *> Histograms::held
private

Definition at line 125 of file Histograms.h.

std::vector<TH3F *> Histograms::helo
private

Definition at line 123 of file Histograms.h.

std::vector<TH1F *> Histograms::heve
private

Definition at line 94 of file Histograms.h.

std::vector<TH3F *> Histograms::hfak
private

Definition at line 116 of file Histograms.h.

std::vector<TH3F *> Histograms::hima
private

Definition at line 134 of file Histograms.h.

TDirectory* Histograms::histoDir_
protected
TFile* Histograms::histoFile
private

Definition at line 81 of file Histograms.h.

std::vector<TH3F *> Histograms::hmul
private

Definition at line 101 of file Histograms.h.

std::vector<TH3F *> Histograms::hnhi
private

Definition at line 124 of file Histograms.h.

std::vector<TH2F *> Histograms::hpro
private

Definition at line 119 of file Histograms.h.

std::vector<TH3F *> Histograms::href
private

Definition at line 100 of file Histograms.h.

std::vector<TH3F *> Histograms::hrho
private

Definition at line 135 of file Histograms.h.

std::vector<TH3F *> Histograms::hrpt
private

Definition at line 110 of file Histograms.h.

std::vector<TH3F *> Histograms::hsim
private

Definition at line 98 of file Histograms.h.

std::vector<TH2F *> Histograms::hsp0
private

Definition at line 111 of file Histograms.h.

std::vector<TH2F *> Histograms::hsp1
private

Definition at line 112 of file Histograms.h.

std::vector<TH2F *> Histograms::hsp2
private

Definition at line 113 of file Histograms.h.

std::vector<TH3F *> Histograms::hvpt
private

Definition at line 109 of file Histograms.h.

std::vector<double> Histograms::ldeBins
private

Definition at line 86 of file Histograms.h.

std::vector<double> Histograms::lpBins
private

Definition at line 86 of file Histograms.h.

std::vector<double> Histograms::metaBins
private

Definition at line 86 of file Histograms.h.

TString Histograms::name_
protected
std::vector<double> Histograms::nhitBins
private

Definition at line 86 of file Histograms.h.

std::vector<double> Histograms::ntrkBins
private

Definition at line 86 of file Histograms.h.

TFile* Histograms::ntupleFile
private

Definition at line 82 of file Histograms.h.

TFile* Histograms::outputFile_
protected

Definition at line 124 of file Histograms.h.

Referenced by HFunctionResolution::Write().

std::vector<double> Histograms::ptBins
private

Definition at line 86 of file Histograms.h.

std::vector<double> Histograms::ratBins
private

Definition at line 86 of file Histograms.h.

RecTrack_t Histograms::recTrackValues
private

Definition at line 77 of file Histograms.h.

RecVzero_t Histograms::recVzeroValues
private

Definition at line 78 of file Histograms.h.

std::vector<double> Histograms::rhoBins
private

Definition at line 86 of file Histograms.h.

SimTrack_t Histograms::simTrackValues
private

Definition at line 76 of file Histograms.h.

double Histograms::theWeight_
protected

Definition at line 122 of file Histograms.h.

Referenced by SetWeight().

std::vector<TTree *> Histograms::trackTrees
private

Definition at line 75 of file Histograms.h.

std::vector<double> Histograms::zBins
private

Definition at line 86 of file Histograms.h.