AliPhysics  2c6b7ad (2c6b7ad)
AddTaskMultDistributions.C
Go to the documentation of this file.
1 
6 /*
7  * @file AddTaskMultDistributions.C
8  * @author Valentina Zaccolo
9  * @date Thu Nov 22 11:29:26 2012
10  *
11  * @brief Script to add a multiplicity task
12  *
13  *
14  * @ingroup pwglf_forward_scripts_tasks_vz
15  */
31 AddTaskMultDistributions(const char* trig = "INEL",
32  Double_t vzMin = -4,
33  Double_t vzMax = 4,
34  Int_t lowCent = 0,
35  Int_t highCent = 0,
36  Int_t nBins = 600)
37 {
38  // Make our object. 2nd argumenent is absolute max Eta
39  // 3rd argument is absolute max Vz
42  task->SetIpZRange(vzMin, vzMax);
43  task->SetTriggerMask(trig);
44  task->SetCentralityAxis(lowCent, highCent);
45  task->DefaultBins();
46  task->Connect();
47  return task;
48 }
49 
50 
51 //________________________________________________________________________
52 //
53 // EOF
54 //
55 
double Double_t
Definition: External.C:58
void SetTriggerMask(UInt_t mask)
AliAnalysisTaskSE * AddTaskMultDistributions(const char *trig="INEL", Double_t vzMin=-4, Double_t vzMax=4, Int_t lowCent=0, Int_t highCent=0, Int_t nBins=600)
int Int_t
Definition: External.C:63
virtual void DefaultBins()
virtual Bool_t Connect(const char *sumFile=0, const char *resFile=0)
void SetCentralityAxis(UShort_t n, Short_t *bins)