AliPhysics  v5-06-40-01 (42bb456)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskCounter.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 #include <TSystem.h>
17 #include <TFile.h>
18 #include <TKey.h>
19 #include <TH2F.h>
20 #include <TProfile.h>
21 #include <TProfile2D.h>
22 #include <TList.h>
23 #include <TClonesArray.h>
24 #include <TGeoGlobalMagField.h>
25 #include "AliAODHeader.h"
26 //#include "AliTriggerAnalysis.h"
27 #include "AliESDEvent.h"
28 #include "AliAODEvent.h"
29 #include "AliESDtrackCuts.h"
30 #include "AliAnalysisManager.h"
31 #include "AliInputEventHandler.h"
32 
33 #include "AliAnalysisTaskCounter.h"
34 
38 
39 //______________________________________________________________
41 //______________________________________________________________
43 : AliAnalysisTaskSE(name),
44  fAcceptFastCluster(kTRUE),
45  fZVertexCut(10.),
46  fTrackMultEtaCut(0.8),
47  fAvgTrials(-1),
48  fOutputContainer(0x0),
49  fESDtrackCuts(AliESDtrackCuts::GetStandardITSTPCTrackCuts2010()),
50  //fTriggerAnalysis (new AliTriggerAnalysis),
51  fCurrFileName(0), fCheckMCCrossSection(kFALSE),
52  fhNEvents(0),
53  fhXVertex(0), fhYVertex(0), fhZVertex(0),
54  fhXGoodVertex(0),fhYGoodVertex(0),fhZGoodVertex(0),
55  fhCentrality(0), fhEventPlaneAngle(0),
56  fh1Xsec(0), fh1Trials(0)
57 {
58  DefineOutput(1, TList::Class());
59 }
60 
61 //______________________________________________
63 //_______________________________________________
65  : AliAnalysisTaskSE("DefaultAnalysis_AliAnalysisTaskCounter"),
66  fAcceptFastCluster(kTRUE),
67  fZVertexCut(10.),
68  fTrackMultEtaCut(0.8),
69  fAvgTrials(-1),
70  fOutputContainer(0x0),
71  fESDtrackCuts(AliESDtrackCuts::GetStandardITSTPCTrackCuts2010()),
72  //fTriggerAnalysis (new AliTriggerAnalysis),
73  fCurrFileName(0), fCheckMCCrossSection(kFALSE),
74  fhNEvents(0),
75  fhXVertex(0), fhYVertex(0), fhZVertex(0),
76  fhXGoodVertex(0),fhYGoodVertex(0),fhZGoodVertex(0),
77  fhCentrality(0), fhEventPlaneAngle(0),
78  fh1Xsec(0), fh1Trials(0)
79 {
80  DefineOutput(1, TList::Class());
81 }
82 
83 //_______________________________________________
85 //_______________________________________________
87 {
88  if (AliAnalysisManager::GetAnalysisManager()->IsProofMode()) return;
89 
91  {
92  fOutputContainer->Delete() ;
93  delete fOutputContainer ;
94  }
95 
96  if(fESDtrackCuts) delete fESDtrackCuts;
97  //if(fTriggerAnalysis) delete fTriggerAnalysis;
98 
99 }
100 
101 
102 //____________________________________________________
104 //____________________________________________________
106 {
107  fOutputContainer = new TList();
108 
110  {
111  fh1Xsec = new TH1F("hXsec","xsec from pyxsec.root",1,0,1);
112  fh1Xsec->GetXaxis()->SetBinLabel(1,"<#sigma>");
114 
115  fh1Trials = new TH1F("hTrials","trials root file",1,0,1);
116  fh1Trials->GetXaxis()->SetBinLabel(1,"#sum{ntrials}");
118  }
119 
120  fhZVertex = new TH1F("hZVertex", " Z vertex distribution" , 200 , -50 , 50 ) ;
121  fhZVertex->SetXTitle("v_{z} (cm)");
123 
124  fhZGoodVertex = new TH1F("hZGoodVertex", " Good Z vertex distribution" , 200 , -50 , 50 ) ;
125  fhZGoodVertex->SetXTitle("v_{z} (cm)");
127 
128  fhXVertex = new TH1F("hXVertex", " X vertex distribution" , 200 , -2 , 2 ) ;
129  fhXVertex->SetXTitle("v_{x} (cm)");
131 
132  fhXGoodVertex = new TH1F("hXGoodVertex", " Good X vertex distribution" , 200 , -2 , 2 ) ;
133  fhXGoodVertex->SetXTitle("v_{x} (cm)");
135 
136  fhYVertex = new TH1F("hYVertex", " Y vertex distribution" , 200 , -2 , 2 ) ;
137  fhYVertex->SetXTitle("v_{y} (cm)");
139 
140  fhYGoodVertex = new TH1F("hYGoodVertex", " Good Y vertex distribution" , 200 , -2 , 2 ) ;
141  fhYGoodVertex->SetXTitle("v_{y} (cm)");
143 
144  fhCentrality = new TH1F("hCentrality","Number of events in centrality bin, |vz|<10 cm, method <V0M> ",100,0.,100.) ;
145  fhCentrality->SetXTitle("Centrality bin");
147 
148  fhEventPlaneAngle=new TH1F("hEventPlaneAngle","Number of events in event plane, |vz|<10 cm, method <V0> ",100,0.,TMath::Pi()) ;
149  fhEventPlaneAngle->SetXTitle("EP angle (rad)");
151 
152  fhNEvents = new TH1I("hNEvents", "Number of analyzed events", 21, 0, 21) ;
153  //fhNEvents->SetXTitle("Selection");
154  fhNEvents->SetYTitle("# events");
155  fhNEvents->GetXaxis()->SetBinLabel(1 ,"1 = PS");
156  fhNEvents->GetXaxis()->SetBinLabel(2 ,"2 = 1 & ESD");
157  fhNEvents->GetXaxis()->SetBinLabel(3 ,"3 = 2 & |Z|<10");
158  fhNEvents->GetXaxis()->SetBinLabel(4 ,"4 = 2 & !track?");
159  fhNEvents->GetXaxis()->SetBinLabel(5 ,"5 = 3 & 4");
160  fhNEvents->GetXaxis()->SetBinLabel(6 ,"6 = 2 & V0AND");
161  fhNEvents->GetXaxis()->SetBinLabel(7 ,"7 = 3 & 6");
162  fhNEvents->GetXaxis()->SetBinLabel(8 ,"8 = 4 & 6");
163  fhNEvents->GetXaxis()->SetBinLabel(9 ,"9 = 5 & 6");
164  fhNEvents->GetXaxis()->SetBinLabel(10,"10 = 2 & not pileup");
165  fhNEvents->GetXaxis()->SetBinLabel(11,"11 = 2 & good vertex");
166  fhNEvents->GetXaxis()->SetBinLabel(12,"12 = 3 & 11");
167  fhNEvents->GetXaxis()->SetBinLabel(13,"13 = 4 & 11");
168  fhNEvents->GetXaxis()->SetBinLabel(14,"14 = 6 & 11");
169  fhNEvents->GetXaxis()->SetBinLabel(15,"15 = 9 & 11");
170  fhNEvents->GetXaxis()->SetBinLabel(16,"16 = 10 & 11");
171  fhNEvents->GetXaxis()->SetBinLabel(17,"17 = 6 & 10");
172  fhNEvents->GetXaxis()->SetBinLabel(18,"18 = Reject EMCAL 1");
173  fhNEvents->GetXaxis()->SetBinLabel(19,"19 = 18 & 3");
174  fhNEvents->GetXaxis()->SetBinLabel(20,"20 = Reject EMCAL 2");
175  fhNEvents->GetXaxis()->SetBinLabel(21,"21 = 20 & 3");
176 
178 
179  fOutputContainer->SetOwner(kTRUE);
180 
181  PostData(1,fOutputContainer);
182 
183 }
184 
185 //_______________________________________________
190 //_______________________________________________
192 {
193  //printf("___ Event __ %d __\n",(Int_t)Entry());
194 
195  Notify();
196 
197  fhNEvents->Fill(0.5);
198 
199  AliVEvent * event = InputEvent();
200  AliESDEvent * esdevent = dynamic_cast<AliESDEvent*> (event);
201  AliAODEvent * aodevent = dynamic_cast<AliAODEvent*> (event);
202 
203  // Init mag field for tracks in case of ESDs, needed, not clear why
204  if (!TGeoGlobalMagField::Instance()->GetField() && esdevent) esdevent->InitMagneticField();
205 
206  TString triggerclasses = event->GetFiredTriggerClasses();
207 
208  //printf("Trigger class fired: %s \n",event->GetFiredTriggerClasses().Data());
209 
210  if (triggerclasses.Contains("FAST") && !triggerclasses.Contains("ALL") && !fAcceptFastCluster)
211  {
212  //printf("Do not count events from fast cluster, trigger name %s\n",triggerclasses.Data());
213  return;
214  }
215 
216  fhNEvents->Fill(1.5);
217 
218  //Initialize bools
219  Bool_t bSelectVZ = kFALSE;
220  Bool_t bV0AND = kFALSE;
221  Bool_t bPileup = kFALSE;
222  Bool_t bGoodV = kFALSE;
223  Bool_t bSelectTrack = kFALSE;
224  Int_t trackMult = 0;
225 
226  //---------------------------------
227  //Get the primary vertex, cut on Z
228  //---------------------------------
229  Double_t v[3];
230  event->GetPrimaryVertex()->GetXYZ(v) ;
231  fhXVertex->Fill(v[0]);
232  fhYVertex->Fill(v[1]);
233  fhZVertex->Fill(v[2]);
234 
235  if(TMath::Abs(v[2]) < fZVertexCut)
236  {
237  bSelectVZ=kTRUE;
238  fhNEvents->Fill(2.5);
239  }
240  //else printf("Vertex out %f \n",v[2]);
241 
242  //--------------------------------------------------
243  //Count tracks, cut on number of tracks in eta < 0.8
244  //--------------------------------------------------
245  Int_t nTracks = event->GetNumberOfTracks() ;
246  for (Int_t itrack = 0; itrack < nTracks; itrack++)
247  {
248  AliVTrack * track = (AliVTrack*)event->GetTrack(itrack) ; // retrieve track from esd
249 
250  //ESDs
251  if(esdevent && !fESDtrackCuts->AcceptTrack((AliESDtrack*)track)) continue;
252 
253  //AODs
254  if(aodevent && !((AliAODTrack*)track)->IsHybridGlobalConstrainedGlobal()) continue ;
255 
256  //Do not count tracks out of acceptance cut
257  if(TMath::Abs(track->Eta())< fTrackMultEtaCut) trackMult++;
258  }
259 
260  //printf("AliAnalysisTaskCounter::UserExec() - Track Mult %d \n",trackMult);
261 
262  //--------------------------------------------------
263  // At least one track
264  //--------------------------------------------------
265  if (trackMult > 0)
266  {
267  bSelectTrack = kTRUE;
268  fhNEvents->Fill(3.5);
269  if(bSelectVZ) fhNEvents->Fill(4.5);
270  }
271 
272  //---------------------------------
273  // V0AND
274  //---------------------------------
275 
276  //if(esdevent) bV0AND = fTriggerAnalysis->IsOfflineTriggerFired(esdevent, AliTriggerAnalysis::kV0AND);
277  AliVVZERO* v0 = fInputEvent->GetVZEROData();
278  bV0AND = ((v0->GetV0ADecision()==1) && (v0->GetV0CDecision()==1));
279 
280  if(bV0AND)
281  {
282  fhNEvents->Fill(5.5);
283  if (bSelectVZ) fhNEvents->Fill(6.5);
284  if (bSelectTrack) fhNEvents->Fill(7.5);
285  if (bSelectVZ && bSelectTrack) fhNEvents->Fill(8.5);
286  }
287 
288  //---------------------------------
289  // Pileup
290  //---------------------------------
291  bPileup = event->IsPileupFromSPD(3, 0.8, 3., 2., 5.); //Default values, if not it does not compile
292  //bPileup = event->IsPileupFromSPD();
293 
294  if (!bPileup)
295  {
296  fhNEvents->Fill(9.5);
297  if(bV0AND) fhNEvents->Fill(16.5);
298  }
299 
300  //---------------------------------
301  // Good vertex
302  //---------------------------------
303  bGoodV = CheckForPrimaryVertex();
304 
305  //Remove events with vertex (0,0,0), bad vertex reconstruction
306  if(TMath::Abs(v[0]) < 1.e-6 &&
307  TMath::Abs(v[1]) < 1.e-6 &&
308  TMath::Abs(v[2]) < 1.e-6) bGoodV = kFALSE;
309 
310  if(bGoodV)
311  {
312  fhXGoodVertex->Fill(v[0]);
313  fhYGoodVertex->Fill(v[1]);
314  fhZGoodVertex->Fill(v[2]);
315 
316  fhNEvents->Fill(10.5);
317  if(bSelectVZ) fhNEvents->Fill(11.5);
318  if(bSelectTrack) fhNEvents->Fill(12.5);
319  if(bV0AND) fhNEvents->Fill(13.5);
320  if(bSelectVZ && bSelectTrack && bV0AND)
321  fhNEvents->Fill(14.5);
322  if(!bPileup) fhNEvents->Fill(15.5);
323 
324  if(TMath::Abs(v[2]) < 10.)
325  {
326  if(InputEvent()->GetCentrality())
327  fhCentrality->Fill(InputEvent()->GetCentrality()->GetCentralityPercentile("V0M"));
328 
329  if(InputEvent()->GetEventplane())
330  {
331  Float_t ep = InputEvent()->GetEventplane()->GetEventplane("V0", InputEvent());
332 
333  ep+=TMath::Pi()/2.; // put same range as for <Q> method, [0,pi]
334 
335  fhEventPlaneAngle->Fill(ep);
336  }
337  }
338 
339  }
340 
341  //printf("AliAnalysisTaskCounter::UserExec() : z vertex %d, good vertex %d, v0and %d, pile up %d, track mult %d\n ", bSelectVZ, bGoodV, bV0AND, bPileup, trackMult);
342 
343  // Events that could be rejected in EMCAL
344  // LHC11a, SM4 and some SM3 events cut with this
345  Bool_t bEMCALRejected = kFALSE;
346  for (Int_t i = 0; i < InputEvent()->GetNumberOfCaloClusters(); i++)
347  {
348  AliVCluster *clus = InputEvent()->GetCaloCluster(i);
349  if(clus->IsEMCAL())
350  {
351  if ((clus->E() > 500 && clus->GetNCells() > 200 ) || clus->GetNCells() > 200)
352  {
353 
354  //printf("Counter: Reject event with cluster: E %f, ncells %d\n",clus->E(),clus->GetNCells());
355 
356  fhNEvents->Fill(17.5);
357  if(bSelectVZ) fhNEvents->Fill(18.5);
358  bEMCALRejected = kTRUE;
359  break;
360  }
361  }
362  }
363 
364  //LHC11a, 3 last runs, cut with this
365  if(!bEMCALRejected)
366  {
367  // Count number of cells in SM3 with energy larger than 0.1, cut on this number
368  Int_t ncellsSM3 = 0;
369  Int_t ncellsSM4 = 0;
370  for(Int_t icell = 0; icell < event->GetEMCALCells()->GetNumberOfCells(); icell++)
371  {
372  if(event->GetEMCALCells()->GetAmplitude(icell) > 0.1 && event->GetEMCALCells()->GetCellNumber(icell)/(24*48)==3) ncellsSM3++;
373  if(event->GetEMCALCells()->GetAmplitude(icell) > 0.1 && event->GetEMCALCells()->GetCellNumber(icell)/(24*48)==4) ncellsSM4++;
374  }
375 
376  Int_t ncellcut = 21;
377  if(triggerclasses.Contains("EMC")) ncellcut = 35;
378 
379  if( ncellsSM3 >= ncellcut || ncellsSM4 >= 100 )
380  {
381  //printf("Counter: reject event with ncells in SM3: ncells %d\n",ncells);
382 
383  fhNEvents->Fill(19.5);
384  if(bSelectVZ) fhNEvents->Fill(20.5);
385  }
386 
387  }
388 
389  PostData(1,fOutputContainer);
390 
391 }
392 
393 //____________________________________________________
396 //____________________________________________________
398 {
399 
400  AliESDEvent * esdevent = dynamic_cast<AliESDEvent*> (InputEvent());
401  AliAODEvent * aodevent = dynamic_cast<AliAODEvent*> (InputEvent());
402 
403  if(esdevent)
404  {
405  if(esdevent->GetPrimaryVertex()->GetNContributors() > 0)
406  {
407  return kTRUE;
408  }
409 
410  if(esdevent->GetPrimaryVertex()->GetNContributors() < 1)
411  {
412  // SPD vertex
413  if(esdevent->GetPrimaryVertexSPD()->GetNContributors() > 0)
414  {
415  return kTRUE;
416 
417  }
418  if(esdevent->GetPrimaryVertexSPD()->GetNContributors() < 1)
419  {
420  return kFALSE;
421  }
422  }
423  }
424  else if(aodevent)
425  {
426  if (aodevent->GetPrimaryVertex() != NULL)
427  {
428  if(aodevent->GetPrimaryVertex()->GetNContributors() > 0)
429  {
430  return kTRUE;
431  }
432  }
433 
434  if(aodevent->GetPrimaryVertexSPD() != NULL)
435  {
436  if(aodevent->GetPrimaryVertexSPD()->GetNContributors() > 0)
437  {
438  return kTRUE;
439  }
440  else
441  {
442  AliWarning(Form("Number of contributors from bad vertex type:: %s",aodevent->GetPrimaryVertex()->GetName()));
443  return kFALSE;
444  }
445  }
446  }
447  else return kTRUE;
448 
449  return kFALSE;
450 
451 }
452 
453 //_____________________________________________
455 //_____________________________________________
457 {
458  AliAnalysisManager *am = AliAnalysisManager::GetAnalysisManager();
459  AliInputEventHandler *inputH = dynamic_cast<AliInputEventHandler*>(am->GetInputEventHandler());
460  if (!inputH) return;
461  TH2F *histStat = dynamic_cast<TH2F*>(inputH->GetStatistics());
462  TH2F *histBin0 = dynamic_cast<TH2F*>(inputH->GetStatistics("BIN0"));
463 
464  if(histStat)
465  fOutputContainer->Add(histStat);
466  else AliInfo("Stat histogram not available check, \n if ESDs, that AliPhysicsSelection was on, \n if AODs, if EventStat_temp.root exists");
467 
468  if(histBin0)
469  fOutputContainer->Add(histBin0);
470 
471 }
472 
473 //_____________________________________
477 //_____________________________________
479 {
480  if(!fCheckMCCrossSection) return kTRUE;
481 
482  // Fetch the aod also from the input in,
483  // have todo it in notify
484 
485  Float_t xsection = 0;
486  Float_t trials = 1;
487  fAvgTrials = -1;
488 
489  TTree *tree = AliAnalysisManager::GetAnalysisManager()->GetTree();
490  if(!tree) return kFALSE;
491 
492  TFile *curfile = tree->GetCurrentFile();
493 
494  if(!curfile) return kFALSE;
495 
496  if(fCurrFileName == curfile->GetName()) return kFALSE;
497 
498  fCurrFileName = TString(curfile->GetName());
499 
500  if(!fh1Xsec||!fh1Trials)
501  {
502  AliInfo(Form("%s%d No Histogram fh1Xsec",(char*)__FILE__,__LINE__));
503  return kFALSE;
504  }
505 
506  Bool_t ok = PythiaInfoFromFile(fCurrFileName,xsection,trials);
507 
508  if(!ok) return kFALSE;
509 
510  fh1Xsec->Fill("<#sigma>",xsection);
511 
512  // average trials per event
513  Float_t nEntries = (Float_t)tree->GetTree()->GetEntries();
514 
515  if(trials >= nEntries && nEntries > 0.) fAvgTrials = trials/nEntries;
516 
517  fh1Trials->Fill("#sum{ntrials}",trials);
518 
519  AliInfo(Form("xs %f, trial %f, avg trials %f\n",xsection,trials, fAvgTrials));
520 
521  AliDebug(1,Form("Reading File %s",fInputHandler->GetTree()->GetCurrentFile()->GetName()));
522 
523  return kTRUE;
524 }
525 
526 //_____________________________________________________________________________________________
533 //_____________________________________________________________________________________________
534 Bool_t AliAnalysisTaskCounter::PythiaInfoFromFile(TString file,Float_t & xsec,Float_t & trials)
535 {
536  xsec = 0;
537  trials = 1;
538 
539  if(file.Contains("root_archive.zip#"))
540  {
541  Ssiz_t pos1 = file.Index("root_archive",12,0,TString::kExact);
542  Ssiz_t pos = file.Index("#",1,pos1,TString::kExact);
543  Ssiz_t pos2 = file.Index(".root",5,TString::kExact);
544  file.Replace(pos+1,pos2-pos1,"");
545  }
546  else
547  {
548  // not an archive take the basename....
549  file.ReplaceAll(gSystem->BaseName(file.Data()),"");
550  }
551 
552  //Printf("%s",file.Data());
553 
554  TFile *fxsec = TFile::Open(Form("%s%s",file.Data(),"pyxsec.root")); // problem that we cannot really test the existance of a file in a archive so we have to lvie with open error message from root
555  if(!fxsec)
556  {
557  // next trial fetch the histgram file
558  fxsec = TFile::Open(Form("%s%s",file.Data(),"pyxsec_hists.root"));
559  if(!fxsec)
560  {
561  // not a severe condition but inciate that we have no information
562  return kFALSE;
563  }
564  else
565  {
566  // find the tlist we want to be independtent of the name so use the Tkey
567  TKey* key = (TKey*)fxsec->GetListOfKeys()->At(0);
568  if(!key)
569  {
570  fxsec->Close();
571  return kFALSE;
572  }
573 
574  TList *list = dynamic_cast<TList*>(key->ReadObj());
575  if(!list)
576  {
577  fxsec->Close();
578  return kFALSE;
579  }
580 
581  xsec = ((TProfile*)list->FindObject("h1Xsec")) ->GetBinContent(1);
582  trials = ((TH1F*) list->FindObject("h1Trials"))->GetBinContent(1);
583  fxsec->Close();
584  }
585  } // no tree pyxsec.root
586  else
587  {
588  TTree *xtree = (TTree*)fxsec->Get("Xsection");
589  if(!xtree)
590  {
591  fxsec->Close();
592  return kFALSE;
593  }
594 
595  UInt_t ntrials = 0;
596  Double_t xsection = 0;
597  xtree->SetBranchAddress("xsection",&xsection);
598  xtree->SetBranchAddress("ntrials",&ntrials);
599  xtree->GetEntry(0);
600  trials = ntrials;
601  xsec = xsection;
602  fxsec->Close();
603  }
604 
605  return kTRUE;
606 }
607 
virtual void UserExec(Option_t *option)
ClassImp(AliAnalysisTaskTriggerRates) AliAnalysisTaskTriggerRates
Count events with different selection criteria.
virtual void UserCreateOutputObjects()
Init histogram pointers and add them to container.
TH1F * fhXGoodVertex
! X Vertex distribution, after event selection.
TSystem * gSystem
TList * list
virtual void FinishTaskOutput()
Put in the output some event summary histograms.
static Bool_t PythiaInfoFromFile(TString currFile, Float_t &xsec, Float_t &trials)
TH1F * fhZVertex
! Z Vertex distribution.
TString fCurrFileName
Current file path name.
TH1F * fhCentrality
! Centrality.
Bool_t fAcceptFastCluster
Accept events from fast cluster, exclude these events for LHC11a.
Float_t fZVertexCut
Z vertex cut.
Float_t fTrackMultEtaCut
Track multiplicity eta cut.
TH1F * fhZGoodVertex
! Z Vertex distribution, after event selection.
AliESDtrackCuts * fESDtrackCuts
Track cut.
virtual ~AliAnalysisTaskCounter()
Destructor.
Bool_t fCheckMCCrossSection
Retrieve from the pyxsec.root file only if requested.
TH1F * fh1Xsec
! Cross section in PYTHIA.
TH1F * fhYVertex
! Y Vertex distribution.
TH1I * fhNEvents
! Events that delivers the analysis frame after different assumptions.
TList * fOutputContainer
! Histogram container.
TH1F * fhYGoodVertex
! Y Vertex distribution, after event selection.
TFile * file
TH1F * fhXVertex
! X Vertex distribution.
TH1F * fh1Trials
! Number of event trials in PYTHIA.
TH1F * fhEventPlaneAngle
! Event plane angle.
Float_t fAvgTrials
Average number of event trials.