AliPhysics  a0db429 (a0db429)
 All Classes Namespaces Files Functions Variables Typedefs 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 }
81 
82 //_______________________________________________
84 //_______________________________________________
86 {
87  if (AliAnalysisManager::GetAnalysisManager()->IsProofMode()) return;
88 
90  {
91  fOutputContainer->Delete() ;
92  delete fOutputContainer ;
93  }
94 
95  if(fESDtrackCuts) delete fESDtrackCuts;
96  //if(fTriggerAnalysis) delete fTriggerAnalysis;
97 
98 }
99 
100 
101 //____________________________________________________
103 //____________________________________________________
105 {
106  fOutputContainer = new TList();
107 
109  {
110  fh1Xsec = new TH1F("hXsec","xsec from pyxsec.root",1,0,1);
111  fh1Xsec->GetXaxis()->SetBinLabel(1,"<#sigma>");
113 
114  fh1Trials = new TH1F("hTrials","trials root file",1,0,1);
115  fh1Trials->GetXaxis()->SetBinLabel(1,"#sum{ntrials}");
117  }
118 
119  fhZVertex = new TH1F("hZVertex", " Z vertex distribution" , 200 , -50 , 50 ) ;
120  fhZVertex->SetXTitle("v_{z} (cm)");
122 
123  fhZGoodVertex = new TH1F("hZGoodVertex", " Good Z vertex distribution" , 200 , -50 , 50 ) ;
124  fhZGoodVertex->SetXTitle("v_{z} (cm)");
126 
127  fhXVertex = new TH1F("hXVertex", " X vertex distribution" , 200 , -2 , 2 ) ;
128  fhXVertex->SetXTitle("v_{x} (cm)");
130 
131  fhXGoodVertex = new TH1F("hXGoodVertex", " Good X vertex distribution" , 200 , -2 , 2 ) ;
132  fhXGoodVertex->SetXTitle("v_{x} (cm)");
134 
135  fhYVertex = new TH1F("hYVertex", " Y vertex distribution" , 200 , -2 , 2 ) ;
136  fhYVertex->SetXTitle("v_{y} (cm)");
138 
139  fhYGoodVertex = new TH1F("hYGoodVertex", " Good Y vertex distribution" , 200 , -2 , 2 ) ;
140  fhYGoodVertex->SetXTitle("v_{y} (cm)");
142 
143  fhCentrality = new TH1F("hCentrality","Number of events in centrality bin, |vz|<10 cm, method <V0M> ",100,0.,100.) ;
144  fhCentrality->SetXTitle("Centrality bin");
146 
147  fhEventPlaneAngle=new TH1F("hEventPlaneAngle","Number of events in event plane, |vz|<10 cm, method <V0> ",100,0.,TMath::Pi()) ;
148  fhEventPlaneAngle->SetXTitle("EP angle (rad)");
150 
151  fhNEvents = new TH1I("hNEvents", "Number of analyzed events", 21, 0, 21) ;
152  //fhNEvents->SetXTitle("Selection");
153  fhNEvents->SetYTitle("# events");
154  fhNEvents->GetXaxis()->SetBinLabel(1 ,"1 = PS");
155  fhNEvents->GetXaxis()->SetBinLabel(2 ,"2 = 1 & ESD");
156  fhNEvents->GetXaxis()->SetBinLabel(3 ,"3 = 2 & |Z|<10");
157  fhNEvents->GetXaxis()->SetBinLabel(4 ,"4 = 2 & !track?");
158  fhNEvents->GetXaxis()->SetBinLabel(5 ,"5 = 3 & 4");
159  fhNEvents->GetXaxis()->SetBinLabel(6 ,"6 = 2 & V0AND");
160  fhNEvents->GetXaxis()->SetBinLabel(7 ,"7 = 3 & 6");
161  fhNEvents->GetXaxis()->SetBinLabel(8 ,"8 = 4 & 6");
162  fhNEvents->GetXaxis()->SetBinLabel(9 ,"9 = 5 & 6");
163  fhNEvents->GetXaxis()->SetBinLabel(10,"10 = 2 & not pileup");
164  fhNEvents->GetXaxis()->SetBinLabel(11,"11 = 2 & good vertex");
165  fhNEvents->GetXaxis()->SetBinLabel(12,"12 = 3 & 11");
166  fhNEvents->GetXaxis()->SetBinLabel(13,"13 = 4 & 11");
167  fhNEvents->GetXaxis()->SetBinLabel(14,"14 = 6 & 11");
168  fhNEvents->GetXaxis()->SetBinLabel(15,"15 = 9 & 11");
169  fhNEvents->GetXaxis()->SetBinLabel(16,"16 = 10 & 11");
170  fhNEvents->GetXaxis()->SetBinLabel(17,"17 = 6 & 10");
171  fhNEvents->GetXaxis()->SetBinLabel(18,"18 = Reject EMCAL 1");
172  fhNEvents->GetXaxis()->SetBinLabel(19,"19 = 18 & 3");
173  fhNEvents->GetXaxis()->SetBinLabel(20,"20 = Reject EMCAL 2");
174  fhNEvents->GetXaxis()->SetBinLabel(21,"21 = 20 & 3");
175 
177 
178  fOutputContainer->SetOwner(kTRUE);
179 
180  PostData(1,fOutputContainer);
181 
182 }
183 
184 //_______________________________________________
189 //_______________________________________________
191 {
192  //printf("___ Event __ %d __\n",(Int_t)Entry());
193 
194  Notify();
195 
196  fhNEvents->Fill(0.5);
197 
198  AliVEvent * event = InputEvent();
199  AliESDEvent * esdevent = dynamic_cast<AliESDEvent*> (event);
200  AliAODEvent * aodevent = dynamic_cast<AliAODEvent*> (event);
201 
202  // Init mag field for tracks in case of ESDs, needed, not clear why
203  if (!TGeoGlobalMagField::Instance()->GetField() && esdevent) esdevent->InitMagneticField();
204 
205  TString triggerclasses = event->GetFiredTriggerClasses();
206 
207  //printf("Trigger class fired: %s \n",event->GetFiredTriggerClasses().Data());
208 
209  if (triggerclasses.Contains("FAST") && !triggerclasses.Contains("ALL") && !fAcceptFastCluster)
210  {
211  //printf("Do not count events from fast cluster, trigger name %s\n",triggerclasses.Data());
212  return;
213  }
214 
215  fhNEvents->Fill(1.5);
216 
217  //Initialize bools
218  Bool_t bSelectVZ = kFALSE;
219  Bool_t bV0AND = kFALSE;
220  Bool_t bPileup = kFALSE;
221  Bool_t bGoodV = kFALSE;
222  Bool_t bSelectTrack = kFALSE;
223  Int_t trackMult = 0;
224 
225  //---------------------------------
226  //Get the primary vertex, cut on Z
227  //---------------------------------
228  Double_t v[3];
229  event->GetPrimaryVertex()->GetXYZ(v) ;
230  fhXVertex->Fill(v[0]);
231  fhYVertex->Fill(v[1]);
232  fhZVertex->Fill(v[2]);
233 
234  if(TMath::Abs(v[2]) < fZVertexCut)
235  {
236  bSelectVZ=kTRUE;
237  fhNEvents->Fill(2.5);
238  }
239  //else printf("Vertex out %f \n",v[2]);
240 
241  //--------------------------------------------------
242  //Count tracks, cut on number of tracks in eta < 0.8
243  //--------------------------------------------------
244  Int_t nTracks = event->GetNumberOfTracks() ;
245  for (Int_t itrack = 0; itrack < nTracks; itrack++)
246  {
247  AliVTrack * track = (AliVTrack*)event->GetTrack(itrack) ; // retrieve track from esd
248 
249  //ESDs
250  if(esdevent && !fESDtrackCuts->AcceptTrack((AliESDtrack*)track)) continue;
251 
252  //AODs
253  if(aodevent && !((AliAODTrack*)track)->IsHybridGlobalConstrainedGlobal()) continue ;
254 
255  //Do not count tracks out of acceptance cut
256  if(TMath::Abs(track->Eta())< fTrackMultEtaCut) trackMult++;
257  }
258 
259  //printf("AliAnalysisTaskCounter::UserExec() - Track Mult %d \n",trackMult);
260 
261  //--------------------------------------------------
262  // At least one track
263  //--------------------------------------------------
264  if (trackMult > 0)
265  {
266  bSelectTrack = kTRUE;
267  fhNEvents->Fill(3.5);
268  if(bSelectVZ) fhNEvents->Fill(4.5);
269  }
270 
271  //---------------------------------
272  // V0AND
273  //---------------------------------
274 
275  //if(esdevent) bV0AND = fTriggerAnalysis->IsOfflineTriggerFired(esdevent, AliTriggerAnalysis::kV0AND);
276  AliVVZERO* v0 = fInputEvent->GetVZEROData();
277  bV0AND = ((v0->GetV0ADecision()==1) && (v0->GetV0CDecision()==1));
278 
279  if(bV0AND)
280  {
281  fhNEvents->Fill(5.5);
282  if (bSelectVZ) fhNEvents->Fill(6.5);
283  if (bSelectTrack) fhNEvents->Fill(7.5);
284  if (bSelectVZ && bSelectTrack) fhNEvents->Fill(8.5);
285  }
286 
287  //---------------------------------
288  // Pileup
289  //---------------------------------
290  bPileup = event->IsPileupFromSPD(3, 0.8, 3., 2., 5.); //Default values, if not it does not compile
291  //bPileup = event->IsPileupFromSPD();
292 
293  if (!bPileup)
294  {
295  fhNEvents->Fill(9.5);
296  if(bV0AND) fhNEvents->Fill(16.5);
297  }
298 
299  //---------------------------------
300  // Good vertex
301  //---------------------------------
302  bGoodV = CheckForPrimaryVertex();
303 
304  //Remove events with vertex (0,0,0), bad vertex reconstruction
305  if(TMath::Abs(v[0]) < 1.e-6 &&
306  TMath::Abs(v[1]) < 1.e-6 &&
307  TMath::Abs(v[2]) < 1.e-6) bGoodV = kFALSE;
308 
309  if(bGoodV)
310  {
311  fhXGoodVertex->Fill(v[0]);
312  fhYGoodVertex->Fill(v[1]);
313  fhZGoodVertex->Fill(v[2]);
314 
315  fhNEvents->Fill(10.5);
316  if(bSelectVZ) fhNEvents->Fill(11.5);
317  if(bSelectTrack) fhNEvents->Fill(12.5);
318  if(bV0AND) fhNEvents->Fill(13.5);
319  if(bSelectVZ && bSelectTrack && bV0AND)
320  fhNEvents->Fill(14.5);
321  if(!bPileup) fhNEvents->Fill(15.5);
322 
323  if(TMath::Abs(v[2]) < 10.)
324  {
325  if(InputEvent()->GetCentrality())
326  fhCentrality->Fill(InputEvent()->GetCentrality()->GetCentralityPercentile("V0M"));
327 
328  if(InputEvent()->GetEventplane())
329  {
330  Float_t ep = InputEvent()->GetEventplane()->GetEventplane("V0", InputEvent());
331 
332  ep+=TMath::Pi()/2.; // put same range as for <Q> method, [0,pi]
333 
334  fhEventPlaneAngle->Fill(ep);
335  }
336  }
337 
338  }
339 
340  //printf("AliAnalysisTaskCounter::UserExec() : z vertex %d, good vertex %d, v0and %d, pile up %d, track mult %d\n ", bSelectVZ, bGoodV, bV0AND, bPileup, trackMult);
341 
342  // Events that could be rejected in EMCAL
343  // LHC11a, SM4 and some SM3 events cut with this
344  Bool_t bEMCALRejected = kFALSE;
345  for (Int_t i = 0; i < InputEvent()->GetNumberOfCaloClusters(); i++)
346  {
347  AliVCluster *clus = InputEvent()->GetCaloCluster(i);
348  if(clus->IsEMCAL())
349  {
350  if ((clus->E() > 500 && clus->GetNCells() > 200 ) || clus->GetNCells() > 200)
351  {
352 
353  //printf("Counter: Reject event with cluster: E %f, ncells %d\n",clus->E(),clus->GetNCells());
354 
355  fhNEvents->Fill(17.5);
356  if(bSelectVZ) fhNEvents->Fill(18.5);
357  bEMCALRejected = kTRUE;
358  break;
359  }
360  }
361  }
362 
363  //LHC11a, 3 last runs, cut with this
364  if(!bEMCALRejected)
365  {
366  // Count number of cells in SM3 with energy larger than 0.1, cut on this number
367  Int_t ncellsSM3 = 0;
368  Int_t ncellsSM4 = 0;
369  for(Int_t icell = 0; icell < event->GetEMCALCells()->GetNumberOfCells(); icell++)
370  {
371  if(event->GetEMCALCells()->GetAmplitude(icell) > 0.1 && event->GetEMCALCells()->GetCellNumber(icell)/(24*48)==3) ncellsSM3++;
372  if(event->GetEMCALCells()->GetAmplitude(icell) > 0.1 && event->GetEMCALCells()->GetCellNumber(icell)/(24*48)==4) ncellsSM4++;
373  }
374 
375  Int_t ncellcut = 21;
376  if(triggerclasses.Contains("EMC")) ncellcut = 35;
377 
378  if( ncellsSM3 >= ncellcut || ncellsSM4 >= 100 )
379  {
380  //printf("Counter: reject event with ncells in SM3: ncells %d\n",ncells);
381 
382  fhNEvents->Fill(19.5);
383  if(bSelectVZ) fhNEvents->Fill(20.5);
384  }
385 
386  }
387 
388  PostData(1,fOutputContainer);
389 
390 }
391 
392 //____________________________________________________
395 //____________________________________________________
397 {
398 
399  AliESDEvent * esdevent = dynamic_cast<AliESDEvent*> (InputEvent());
400  AliAODEvent * aodevent = dynamic_cast<AliAODEvent*> (InputEvent());
401 
402  if(esdevent)
403  {
404  if(esdevent->GetPrimaryVertex()->GetNContributors() > 0)
405  {
406  return kTRUE;
407  }
408 
409  if(esdevent->GetPrimaryVertex()->GetNContributors() < 1)
410  {
411  // SPD vertex
412  if(esdevent->GetPrimaryVertexSPD()->GetNContributors() > 0)
413  {
414  return kTRUE;
415 
416  }
417  if(esdevent->GetPrimaryVertexSPD()->GetNContributors() < 1)
418  {
419  return kFALSE;
420  }
421  }
422  }
423  else if(aodevent)
424  {
425  if (aodevent->GetPrimaryVertex() != NULL)
426  {
427  if(aodevent->GetPrimaryVertex()->GetNContributors() > 0)
428  {
429  return kTRUE;
430  }
431  }
432 
433  if(aodevent->GetPrimaryVertexSPD() != NULL)
434  {
435  if(aodevent->GetPrimaryVertexSPD()->GetNContributors() > 0)
436  {
437  return kTRUE;
438  }
439  else
440  {
441  AliWarning(Form("Number of contributors from bad vertex type:: %s",aodevent->GetPrimaryVertex()->GetName()));
442  return kFALSE;
443  }
444  }
445  }
446  else return kTRUE;
447 
448  return kFALSE;
449 
450 }
451 
452 //_____________________________________________
454 //_____________________________________________
456 {
457  AliAnalysisManager *am = AliAnalysisManager::GetAnalysisManager();
458  AliInputEventHandler *inputH = dynamic_cast<AliInputEventHandler*>(am->GetInputEventHandler());
459  if (!inputH) return;
460  TH2F *histStat = dynamic_cast<TH2F*>(inputH->GetStatistics());
461  TH2F *histBin0 = dynamic_cast<TH2F*>(inputH->GetStatistics("BIN0"));
462 
463  if(histStat)
464  fOutputContainer->Add(histStat);
465  else AliInfo("Stat histogram not available check, \n if ESDs, that AliPhysicsSelection was on, \n if AODs, if EventStat_temp.root exists");
466 
467  if(histBin0)
468  fOutputContainer->Add(histBin0);
469 
470 }
471 
472 //_____________________________________
476 //_____________________________________
478 {
479  if(!fCheckMCCrossSection) return kTRUE;
480 
481  // Fetch the aod also from the input in,
482  // have todo it in notify
483 
484  Float_t xsection = 0;
485  Float_t trials = 1;
486  fAvgTrials = -1;
487 
488  TTree *tree = AliAnalysisManager::GetAnalysisManager()->GetTree();
489  if(!tree) return kFALSE;
490 
491  TFile *curfile = tree->GetCurrentFile();
492 
493  if(!curfile) return kFALSE;
494 
495  if(fCurrFileName == curfile->GetName()) return kFALSE;
496 
497  fCurrFileName = TString(curfile->GetName());
498 
499  if(!fh1Xsec||!fh1Trials)
500  {
501  AliInfo(Form("%s%d No Histogram fh1Xsec",(char*)__FILE__,__LINE__));
502  return kFALSE;
503  }
504 
505  Bool_t ok = PythiaInfoFromFile(fCurrFileName,xsection,trials);
506 
507  if(!ok) return kFALSE;
508 
509  fh1Xsec->Fill("<#sigma>",xsection);
510 
511  // average trials per event
512  Float_t nEntries = (Float_t)tree->GetTree()->GetEntries();
513 
514  if(trials >= nEntries && nEntries > 0.) fAvgTrials = trials/nEntries;
515 
516  fh1Trials->Fill("#sum{ntrials}",trials);
517 
518  AliInfo(Form("xs %f, trial %f, avg trials %f\n",xsection,trials, fAvgTrials));
519 
520  AliDebug(1,Form("Reading File %s",fInputHandler->GetTree()->GetCurrentFile()->GetName()));
521 
522  return kTRUE;
523 }
524 
525 //_____________________________________________________________________________________________
532 //_____________________________________________________________________________________________
533 Bool_t AliAnalysisTaskCounter::PythiaInfoFromFile(TString file,Float_t & xsec,Float_t & trials)
534 {
535  xsec = 0;
536  trials = 1;
537 
538  if(file.Contains("root_archive.zip#"))
539  {
540  Ssiz_t pos1 = file.Index("root_archive",12,0,TString::kExact);
541  Ssiz_t pos = file.Index("#",1,pos1,TString::kExact);
542  Ssiz_t pos2 = file.Index(".root",5,TString::kExact);
543  file.Replace(pos+1,pos2-pos1,"");
544  }
545  else
546  {
547  // not an archive take the basename....
548  file.ReplaceAll(gSystem->BaseName(file.Data()),"");
549  }
550 
551  //Printf("%s",file.Data());
552 
553  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
554  if(!fxsec)
555  {
556  // next trial fetch the histgram file
557  fxsec = TFile::Open(Form("%s%s",file.Data(),"pyxsec_hists.root"));
558  if(!fxsec)
559  {
560  // not a severe condition but inciate that we have no information
561  return kFALSE;
562  }
563  else
564  {
565  // find the tlist we want to be independtent of the name so use the Tkey
566  TKey* key = (TKey*)fxsec->GetListOfKeys()->At(0);
567  if(!key)
568  {
569  fxsec->Close();
570  return kFALSE;
571  }
572 
573  TList *list = dynamic_cast<TList*>(key->ReadObj());
574  if(!list)
575  {
576  fxsec->Close();
577  return kFALSE;
578  }
579 
580  xsec = ((TProfile*)list->FindObject("h1Xsec")) ->GetBinContent(1);
581  trials = ((TH1F*) list->FindObject("h1Trials"))->GetBinContent(1);
582  fxsec->Close();
583  }
584  } // no tree pyxsec.root
585  else
586  {
587  TTree *xtree = (TTree*)fxsec->Get("Xsection");
588  if(!xtree)
589  {
590  fxsec->Close();
591  return kFALSE;
592  }
593 
594  UInt_t ntrials = 0;
595  Double_t xsection = 0;
596  xtree->SetBranchAddress("xsection",&xsection);
597  xtree->SetBranchAddress("ntrials",&ntrials);
598  xtree->GetEntry(0);
599  trials = ntrials;
600  xsec = xsection;
601  fxsec->Close();
602  }
603 
604  return kTRUE;
605 }
606 
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.
AliAnalysisTaskCounter()
Default Constructor.
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.