AliPhysics  vAN-20151012 (2287573)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskEmcalClustersRef.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2015, 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 #include <bitset>
16 #include <iostream>
17 #include <map>
18 #include <sstream>
19 #include <vector>
20 
21 #include <TArrayD.h>
22 #include <TClonesArray.h>
23 #include <THashList.h>
24 #include <TLorentzVector.h>
25 #include <TString.h>
26 
27 #include "AliAnalysisUtils.h"
28 #include "AliEMCALGeometry.h"
30 #include "AliEMCalHistoContainer.h"
31 #include "AliESDEvent.h"
32 #include "AliInputEventHandler.h"
33 #include "AliLog.h"
34 #include "AliVCluster.h"
35 #include "AliVVertex.h"
36 
38 
40 
41 namespace EMCalTriggerPtAnalysis {
42 
46 AliAnalysisTaskEmcalClustersRef::AliAnalysisTaskEmcalClustersRef() :
47  AliAnalysisTaskSE(),
48  fAnalysisUtil(NULL),
49  fHistos(NULL),
50  fGeometry(NULL),
51  fClusterContainer(""),
52  fTriggerStringFromPatches(kFALSE)
53 {
54  for(int itrg = 0; itrg < kECRntrig; itrg++){
55  fOfflineEnergyThreshold[itrg] = -1;
56  }
57 }
58 
63 AliAnalysisTaskEmcalClustersRef::AliAnalysisTaskEmcalClustersRef(const char *name) :
64  AliAnalysisTaskSE(name),
65  fAnalysisUtil(),
66  fHistos(NULL),
67  fGeometry(NULL),
68  fClusterContainer(""),
69  fTriggerStringFromPatches(kFALSE)
70 {
71  for(int itrg = 0; itrg < kECRntrig; itrg++){
72  fOfflineEnergyThreshold[itrg] = -1;
73  }
74  DefineOutput(1, TList::Class());
75 }
76 
80 AliAnalysisTaskEmcalClustersRef::~AliAnalysisTaskEmcalClustersRef() {
81 }
82 
86 void AliAnalysisTaskEmcalClustersRef::UserCreateOutputObjects(){
87  fAnalysisUtil = new AliAnalysisUtils;
88 
89  TArrayD energybinning;
90  CreateEnergyBinning(energybinning);
91  TArrayD smbinning(14); CreateLinearBinning(smbinning, 14, -0.5, 13.5);
92  TArrayD etabinning; CreateLinearBinning(etabinning, 100, -0.7, 0.7);
93  fHistos = new AliEMCalHistoContainer("Ref");
94  TString triggers[17] = {
95  "MB", "EMC7",
96  "EJ1", "EJ2", "EG1", "EG2",
97  "EMC7excl","EG1excl", "EG2excl", "EJ1excl", "EJ2excl",
98  "E1combined", "E1Jonly", "E1Gonly", "E2combined", "E2Jonly", "E2Gonly"
99  };
100  Double_t encuts[5] = {1., 2., 5., 10., 20.};
101  for(TString *trg = triggers; trg < triggers + sizeof(triggers)/sizeof(TString); trg++){
102  fHistos->CreateTH1(Form("hEventCount%s", trg->Data()), Form("Event count for trigger class %s", trg->Data()), 1, 0.5, 1.5);
103  fHistos->CreateTH1(Form("hClusterEnergy%s", trg->Data()), Form("Cluster energy for trigger class %s", trg->Data()), energybinning);
104  fHistos->CreateTH1(Form("hClusterEnergyFired%s", trg->Data()), Form("Cluster energy for trigger class %s, firing the trigger", trg->Data()), energybinning);
105  fHistos->CreateTH2(Form("hClusterEnergySM%s", trg->Data()), Form("Cluster energy versus supermodule for trigger class %s", trg->Data()), smbinning, energybinning);
106  fHistos->CreateTH2(Form("hClusterEnergyFiredSM%s", trg->Data()), Form("Cluster energy versus supermodule for trigger class %s, firing the trigger", trg->Data()), smbinning, energybinning);
107  fHistos->CreateTH2(Form("hEtaEnergy%s", trg->Data()), Form("Cluster energy vs. eta for trigger class %s", trg->Data()), etabinning, energybinning);
108  fHistos->CreateTH2(Form("hEtaEnergyFired%s", trg->Data()), Form("Cluster energy vs. eta for trigger class %s, firing the trigger", trg->Data()), etabinning, energybinning);
109  for(int ism = 0; ism < 12; ism++){
110  fHistos->CreateTH2(Form("hEtaEnergySM%d%s", ism, trg->Data()), Form("Cluster energy vs. eta in Supermodule %d for trigger %s", ism, trg->Data()), etabinning, energybinning);
111  fHistos->CreateTH2(Form("hEtaEnergyFiredSM%d%s", ism, trg->Data()), Form("Cluster energy vs. eta in Supermodule %d for trigger %s, firing the trigger", ism, trg->Data()), etabinning, energybinning);
112  }
113  for(int isec = 4; isec < 10; isec++){
114  fHistos->CreateTH2(Form("hEtaEnergySec%d%s", isec, trg->Data()), Form("Cluster energy vs.eta in tracking sector %d for trigger %s", isec, trg->Data()), etabinning, energybinning);
115  fHistos->CreateTH2(Form("hEtaEnergyFiredSec%d%s", isec, trg->Data()), Form("Cluster energy vs.eta in tracking sector %d for trigger %s, firing the trigger", isec, trg->Data()), etabinning, energybinning);
116  }
117  for(int ien = 0; ien < 5; ien++){
118  fHistos->CreateTH2(Form("hEtaPhi%dG%s", static_cast<int>(encuts[ien]), trg->Data()), Form("cluster #eta-#phi map for clusters with energy larger than %f GeV/c for trigger class %s", encuts[ien], trg->Data()), 100, -0.7, 0.7, 100, 1.4, 3.2);
119  fHistos->CreateTH2(Form("hEtaPhiFired%dG%s", static_cast<int>(encuts[ien]), trg->Data()), Form("cluster #eta-#phi map for clusters fired the trigger with energy larger than %f GeV/c for trigger class %s", encuts[ien], trg->Data()), 100, -0.7, 0.7, 100, 1.4, 3.2);
120  }
121  }
122  PostData(1, fHistos->GetListOfHistograms());
123 }
124 
125 
130 void AliAnalysisTaskEmcalClustersRef::UserExec(Option_t *){
131  if(!fGeometry){
132  fGeometry = AliEMCALGeometry::GetInstanceFromRunNumber(InputEvent()->GetRunNumber());
133  }
134  TString triggerstring = "";
135  TClonesArray *triggerpatches = dynamic_cast<TClonesArray *>(fInputEvent->FindListObject("EmcalTriggers"));
136 
137  if(fTriggerStringFromPatches){
138  triggerstring = GetFiredTriggerClassesFromPatches(triggerpatches);
139  } else {
140  triggerstring = fInputEvent->GetFiredTriggerClasses();
141  }
142 
143  UInt_t selectionstatus = fInputHandler->IsEventSelected();
144  std::stringstream triggerdebug;
145  triggerdebug << "Offline bits: " << std::bitset<sizeof(UInt_t) * 8>(selectionstatus);
146  AliDebug(2, triggerdebug.str().c_str());
147  Bool_t isMinBias = selectionstatus & AliVEvent::kINT7,
148  isEJ1 = (selectionstatus & AliVEvent::kEMCEJE) && triggerstring.Contains("EJ1") && IsOfflineSelected(kECREJ1, triggerpatches),
149  isEJ2 = (selectionstatus & AliVEvent::kEMCEJE) && triggerstring.Contains("EJ2") && IsOfflineSelected(kECREJ2, triggerpatches),
150  isEG1 = (selectionstatus & AliVEvent::kEMCEGA) && triggerstring.Contains("EG1") && IsOfflineSelected(kECREG1, triggerpatches),
151  isEG2 = (selectionstatus & AliVEvent::kEMCEGA) && triggerstring.Contains("EG2") && IsOfflineSelected(kECREG2, triggerpatches),
152  isEMC7 = (selectionstatus & AliVEvent::kEMC7) && triggerstring.Contains("CEMC7") && IsOfflineSelected(kECREL0, triggerpatches);
153  if(!(isMinBias || isEMC7 || isEG1 || isEG2 || isEJ1 || isEJ2)) return;
154  const AliVVertex *vtx = fInputEvent->GetPrimaryVertex();
155  //if(!fInputEvent->IsPileupFromSPD(3, 0.8, 3., 2., 5.)) return; // reject pileup event
156  if(vtx->GetNContributors() < 1) return;
157  // Fill reference distribution for the primary vertex before any z-cut
158  if(fInputEvent->IsA() == AliESDEvent::Class() && fAnalysisUtil->IsFirstEventInChunk(fInputEvent)) return;
159  if(!fAnalysisUtil->IsVertexSelected2013pA(fInputEvent)) return; // Apply new vertex cut
160  if(fAnalysisUtil->IsPileUpEvent(fInputEvent)) return; // Apply new vertex cut
161  // Apply vertex z cut
162  if(vtx->GetZ() < -10. || vtx->GetZ() > 10.) return;
163 
164  // Fill Event counter and reference vertex distributions for the different trigger classes
165  if(isMinBias){
166  fHistos->FillTH1("hEventCountMB", 1);
167  }
168  if(isEMC7){
169  fHistos->FillTH1("hEventCountEMC7", 1);
170  if(!isMinBias){
171  fHistos->FillTH1("hEventCountEMC7excl", 1);
172  }
173  }
174  if(isEJ2){
175  fHistos->FillTH1("hEventCountEJ2", 1);
176  // Check for exclusive classes
177  if(!(isMinBias)){
178  fHistos->FillTH1("hEventCountEJ2excl", 1);
179  }
180  if(isEG1 || isEG2){
181  fHistos->FillTH1("hEventCountE2combined", 1);
182  } else {
183  fHistos->FillTH1("hEventCountE2Jonly", 1);
184  }
185 
186  }
187  if(isEJ1){
188  fHistos->FillTH1("hEventCountEJ1", 1);
189  // Check for exclusive classes
190  if(!(isMinBias || isEJ2)){
191  fHistos->FillTH1("hEventCountEJ1excl", 1);
192  }
193  if(isEG1 || isEG2){
194  fHistos->FillTH1("hEventCountE1combined", 1);
195  } else {
196  fHistos->FillTH1("hEventCountE1Jonly", 1);
197  }
198  }
199  if(isEG2){
200  fHistos->FillTH1("hEventCountEG2", 1);
201  // Check for exclusive classes
202  if(!(isMinBias)){
203  fHistos->FillTH1("hEventCountEG2excl", 1);
204  }
205  if(!(isEJ1 || isEJ2)){
206  fHistos->FillTH1("hEventCountE2Gonly", 1);
207  }
208  }
209  if(isEG1){
210  fHistos->FillTH1("hEventCountEG1", 1);
211  // Check for exclusive classes
212  if(!(isMinBias || isEG2)){
213  fHistos->FillTH1("hEventCountEG1excl", 1);
214  }
215  if(!(isEJ1 || isEJ2)){
216  fHistos->FillTH1("hEventCountE1Gonly", 1);
217  }
218  }
219 
220  TClonesArray *clusterArray = dynamic_cast<TClonesArray *>(fInputEvent->FindListObject(fClusterContainer.Data()));
221  if(!clusterArray){
222  AliError("Cluster array not found");
223  return;
224  }
225 
226  Double_t vertexpos[3];
227  fInputEvent->GetPrimaryVertex()->GetXYZ(vertexpos);
228 
229  Double_t energy, eta, phi;
230  for(TIter clustIter = TIter(clusterArray).Begin(); clustIter != TIter::End(); ++clustIter){
231  AliVCluster *clust = static_cast<AliVCluster *>(*clustIter);
232  if(!clust->IsEMCAL()) continue;
233 
234  TLorentzVector posvec;
235  energy = clust->E();
236  clust->GetMomentum(posvec, vertexpos);
237  eta = posvec.Eta();
238  phi = posvec.Phi();
239 
240  // fill histograms allEta
241  if(isMinBias){
242  FillClusterHistograms("MB", energy, eta, phi, NULL);
243  }
244  if(isEMC7){
245  FillClusterHistograms("EMC7", energy, eta, phi, NULL);
246  if(!isMinBias){
247  FillClusterHistograms("EMC7excl", energy, eta, phi, NULL);
248  }
249  }
250  if(isEJ2){
251  TList ej2patches;
252  FindPatchesForTrigger("EJ2", triggerpatches, ej2patches);
253  FillClusterHistograms("EJ2", energy, eta, phi, &ej2patches);
254  // check for exclusive classes
255  if(!isMinBias){
256  FillClusterHistograms("EJ2excl", energy, eta, phi, &ej2patches);
257  }
258  if(isEG1 || isEG2){
259  FillClusterHistograms("E2combined", energy, eta, phi, &ej2patches);
260  } else {
261  FillClusterHistograms("E2Jonly", energy, eta, phi, &ej2patches);
262  }
263  }
264  if(isEJ1){
265  TList ej1patches;
266  FindPatchesForTrigger("EJ1", triggerpatches, ej1patches);
267  FillClusterHistograms("EJ1", energy, eta, phi, &ej1patches);
268  // check for exclusive classes
269  if(!(isMinBias || isEJ2)){
270  FillClusterHistograms("EJ1excl", energy, eta, phi, &ej1patches);
271  }
272  if(isEG1 || isEG2) {
273  FillClusterHistograms("E1combined", energy, eta, phi, &ej1patches);
274  } else {
275  FillClusterHistograms("E1Jonly", energy, eta, phi, &ej1patches);
276  }
277  }
278  if(isEG2){
279  TList eg2patches;
280  FindPatchesForTrigger("EG2", triggerpatches, eg2patches);
281  FillClusterHistograms("EG2", energy, eta, phi, &eg2patches);
282  // check for exclusive classes
283  if(!isMinBias){
284  FillClusterHistograms("EG2excl", energy, eta, phi, &eg2patches);
285  }
286  if(!(isEJ2 || isEJ1)){
287  FillClusterHistograms("E2Gonly", energy, eta, phi, &eg2patches);
288  }
289  }
290  if(isEG1){
291  TList eg1patches;
292  FindPatchesForTrigger("EG1", triggerpatches, eg1patches);
293  FillClusterHistograms("EG1", energy, eta, phi, &eg1patches);
294  if(!(isEG2 || isMinBias))
295  FillClusterHistograms("EG1excl", energy, eta, phi, &eg1patches);
296  if(!(isEJ1 || isEJ2)){
297  FillClusterHistograms("E1Gonly", energy, eta, phi, &eg1patches);
298  }
299  }
300  }
301  PostData(1, fHistos->GetListOfHistograms());
302 }
303 
304 void AliAnalysisTaskEmcalClustersRef::FillClusterHistograms(TString triggerclass, double energy, double eta, double phi, TList *triggerpatches){
305  Bool_t hasTriggerPatch = triggerpatches ? CorrelateToTrigger(eta, phi, triggerpatches) : kFALSE;
306  Int_t supermoduleID = -1, sector = -1;
307  fGeometry->SuperModuleNumberFromEtaPhi(eta, phi, supermoduleID);
308  fHistos->FillTH1(Form("hClusterEnergy%s", triggerclass.Data()), energy);
309  fHistos->FillTH2(Form("hEtaEnergy%s", triggerclass.Data()), eta, energy);
310  if(supermoduleID >= 0){
311  fHistos->FillTH2(Form("hClusterEnergySM%s", triggerclass.Data()), supermoduleID, energy);
312  fHistos->FillTH2(Form("hEtaEnergySM%d%s", supermoduleID, triggerclass.Data()), eta, energy);
313  sector = 4 + int(supermoduleID/2);
314  fHistos->FillTH2(Form("hEtaEnergySec%d%s", sector, triggerclass.Data()), eta, energy);
315  }
316  if(hasTriggerPatch){
317  fHistos->FillTH1(Form("hClusterEnergyFired%s", triggerclass.Data()), energy);
318  fHistos->FillTH2(Form("hEtaEnergyFired%s", triggerclass.Data()), eta, energy);
319  if(supermoduleID >= 0){
320  fHistos->FillTH2(Form("hClusterEnergyFiredSM%s", triggerclass.Data()), supermoduleID, energy);
321  fHistos->FillTH2(Form("hEtaEnergyFiredSM%d%s", supermoduleID, triggerclass.Data()), eta, energy);
322  fHistos->FillTH2(Form("hEtaEnergyFiredSec%d%s", sector, triggerclass.Data()), eta, energy);
323  }
324  }
325  Double_t encuts[5] = {1., 2., 5., 10., 20.};
326  for(int ien = 0; ien < 5; ien++){
327  if(energy > encuts[ien]){
328  fHistos->FillTH2(Form("hEtaPhi%dG%s", static_cast<int>(encuts[ien]), triggerclass.Data()), eta, phi);
329  if(hasTriggerPatch){
330  fHistos->FillTH2(Form("hEtaPhiFired%dG%s", static_cast<int>(encuts[ien]), triggerclass.Data()), eta, phi);
331  }
332  }
333  }
334 }
335 
340 void AliAnalysisTaskEmcalClustersRef::CreateEnergyBinning(TArrayD& binning) const {
341  std::vector<double> mybinning;
342  std::map<double,double> definitions;
343  definitions.insert(std::pair<double, double>(1, 0.05));
344  definitions.insert(std::pair<double, double>(2, 0.1));
345  definitions.insert(std::pair<double, double>(4, 0.2));
346  definitions.insert(std::pair<double, double>(7, 0.5));
347  definitions.insert(std::pair<double, double>(16, 1));
348  definitions.insert(std::pair<double, double>(32, 2));
349  definitions.insert(std::pair<double, double>(40, 4));
350  definitions.insert(std::pair<double, double>(50, 5));
351  definitions.insert(std::pair<double, double>(100, 10));
352  definitions.insert(std::pair<double, double>(200, 20));
353  double currentval = 0.;
354  mybinning.push_back(currentval);
355  for(std::map<double,double>::iterator id = definitions.begin(); id != definitions.end(); ++id){
356  double limit = id->first, binwidth = id->second;
357  while(currentval < limit){
358  currentval += binwidth;
359  mybinning.push_back(currentval);
360  }
361  }
362  binning.Set(mybinning.size());
363  int ib = 0;
364  for(std::vector<double>::iterator it = mybinning.begin(); it != mybinning.end(); ++it)
365  binning[ib++] = *it;
366 }
367 
375 void AliAnalysisTaskEmcalClustersRef::CreateLinearBinning(TArrayD& binning, int nbins, double min, double max) const {
376  double binwidth = (max-min)/static_cast<double>(nbins);
377  binning.Set(nbins+1);
378  binning[0] = min;
379  double currentlimit = min + binwidth;
380  for(int ibin = 0; ibin < nbins; ibin++){
381  binning[ibin+1] = currentlimit;
382  currentlimit += binwidth;
383  }
384 }
385 
393 Bool_t AliAnalysisTaskEmcalClustersRef::CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches) const {
394  Bool_t hasfound = kFALSE;
395  for(TIter patchIter = TIter(triggerpatches).Begin(); patchIter != TIter::End(); ++patchIter){
396  AliEmcalTriggerPatchInfo *mypatch = static_cast<AliEmcalTriggerPatchInfo *>(*patchIter);
397  Double_t etamin = TMath::Min(mypatch->GetEtaMin(), mypatch->GetEtaMax()),
398  etamax = TMath::Max(mypatch->GetEtaMin(), mypatch->GetEtaMax()),
399  phimin = TMath::Min(mypatch->GetPhiMin(), mypatch->GetPhiMax()),
400  phimax = TMath::Max(mypatch->GetPhiMin(), mypatch->GetPhiMax());
401  if(etaclust > etamin && etaclust < etamax && phiclust > phimin && phiclust < phimax){
402  hasfound = kTRUE;
403  break;
404  }
405  }
406  return hasfound;
407 }
408 
417 void AliAnalysisTaskEmcalClustersRef::FindPatchesForTrigger(TString triggerclass, const TClonesArray * triggerpatches, TList &foundtriggers) const {
418  foundtriggers.Clear();
419  if(!triggerpatches) return;
420  EmcalTriggerClass myclass = kECREL0;
421  if(triggerclass == "EG1") myclass = kECREG1;
422  if(triggerclass == "EG2") myclass = kECREG2;
423  if(triggerclass == "EJ1") myclass = kECREJ1;
424  if(triggerclass == "EJ2") myclass = kECREJ2;
425  bool isSingleShower = ((myclass == kECREG1) || (triggerclass == kECREG2) || (myclass == kECREL0));
426  AliEmcalTriggerPatchInfo *mypatch = NULL;
427  for(TIter patchiter = TIter(triggerpatches).Begin(); patchiter != TIter::End(); ++patchiter){
428  mypatch = dynamic_cast<AliEmcalTriggerPatchInfo *>(*patchiter);
429  if(!mypatch->IsOfflineSimple()) continue;
430  if(isSingleShower){
431  if(!mypatch->IsGammaLowSimple()) continue;
432  } else {
433  if(!mypatch->IsJetLowSimple()) continue;
434  }
435  if(mypatch->GetPatchE() > fOfflineEnergyThreshold[myclass]) foundtriggers.Add(mypatch);
436  }
437 }
438 
447 Bool_t AliAnalysisTaskEmcalClustersRef::IsOfflineSelected(EmcalTriggerClass trgcls, const TClonesArray * const triggerpatches) const {
448  if(fOfflineEnergyThreshold[trgcls] < 0) return true;
449  bool isSingleShower = ((trgcls == kECREL0) || (trgcls == kECREG1) || (trgcls == kECREG2));
450  int nfound = 0;
451  AliEmcalTriggerPatchInfo *patch = NULL;
452  for(TIter patchIter = TIter(triggerpatches).Begin(); patchIter != TIter::End(); ++patchIter){
453  patch = static_cast<AliEmcalTriggerPatchInfo *>(*patchIter);
454  if(!patch->IsOfflineSimple()) continue;
455  if(isSingleShower){
456  if(!patch->IsGammaLowSimple()) continue;
457  } else {
458  if(!patch->IsJetLowSimple()) continue;
459  }
460  if(patch->GetPatchE() > fOfflineEnergyThreshold[trgcls]) nfound++;
461  }
462  return nfound > 0;
463 }
464 
470 TString AliAnalysisTaskEmcalClustersRef::GetFiredTriggerClassesFromPatches(const TClonesArray* triggerpatches) const {
471  TString triggerstring = "";
472  if(!triggerpatches) return triggerstring;
473  Int_t nEJ1 = 0, nEJ2 = 0, nEG1 = 0, nEG2 = 0;
474  double minADC_EJ1 = 260.,
475  minADC_EJ2 = 127.,
476  minADC_EG1 = 140.,
477  minADC_EG2 = 89.;
478  for(TIter patchIter = TIter(triggerpatches).Begin(); patchIter != TIter::End(); ++patchIter){
479  AliEmcalTriggerPatchInfo *patch = dynamic_cast<AliEmcalTriggerPatchInfo *>(*patchIter);
480  if(!patch->IsOfflineSimple()) continue;
481  if(patch->IsJetHighSimple() && patch->GetADCOfflineAmp() > minADC_EJ1) nEJ1++;
482  if(patch->IsJetLowSimple() && patch->GetADCOfflineAmp() > minADC_EJ2) nEJ2++;
483  if(patch->IsGammaHighSimple() && patch->GetADCOfflineAmp() > minADC_EG1) nEG1++;
484  if(patch->IsGammaLowSimple() && patch->GetADCOfflineAmp() > minADC_EG2) nEG2++;
485  }
486  if(nEJ1) triggerstring += "EJ1";
487  if(nEJ2){
488  if(triggerstring.Length()) triggerstring += ",";
489  triggerstring += "EJ2";
490  }
491  if(nEG1){
492  if(triggerstring.Length()) triggerstring += ",";
493  triggerstring += "EG1";
494  }
495  if(nEG2){
496  if(triggerstring.Length()) triggerstring += ",";
497  triggerstring += "EG2";
498  }
499  return triggerstring;
500 }
501 
502 
503 } /* namespace EMCalTriggerPtAnalysis */
ClassImp(EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef) namespace EMCalTriggerPtAnalysis
const Double_t etamin
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Declarartion of class AliEMCalHistoContainer.
energy
const Double_t etamax
Class to make array of trigger patch objects in AOD/ESD events.
Int_t GetRunNumber(TString)
Definition: PlotMuonQA.C:2235
const Int_t nbins
const Double_t phimin