AliPhysics  vAN-20151014 (f894c76)
 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::GetInstance();
133  if(!fGeometry)
134  fGeometry = AliEMCALGeometry::GetInstanceFromRunNumber(InputEvent()->GetRunNumber());
135  }
136  TString triggerstring = "";
137  TClonesArray *triggerpatches = dynamic_cast<TClonesArray *>(fInputEvent->FindListObject("EmcalTriggers"));
138 
139  if(fTriggerStringFromPatches){
140  triggerstring = GetFiredTriggerClassesFromPatches(triggerpatches);
141  } else {
142  triggerstring = fInputEvent->GetFiredTriggerClasses();
143  }
144 
145  UInt_t selectionstatus = fInputHandler->IsEventSelected();
146  std::stringstream triggerdebug;
147  triggerdebug << "Offline bits: " << std::bitset<sizeof(UInt_t) * 8>(selectionstatus);
148  AliDebug(2, triggerdebug.str().c_str());
149  Bool_t isMinBias = selectionstatus & AliVEvent::kINT7,
150  isEJ1 = (selectionstatus & AliVEvent::kEMCEJE) && triggerstring.Contains("EJ1") && IsOfflineSelected(kECREJ1, triggerpatches),
151  isEJ2 = (selectionstatus & AliVEvent::kEMCEJE) && triggerstring.Contains("EJ2") && IsOfflineSelected(kECREJ2, triggerpatches),
152  isEG1 = (selectionstatus & AliVEvent::kEMCEGA) && triggerstring.Contains("EG1") && IsOfflineSelected(kECREG1, triggerpatches),
153  isEG2 = (selectionstatus & AliVEvent::kEMCEGA) && triggerstring.Contains("EG2") && IsOfflineSelected(kECREG2, triggerpatches),
154  isEMC7 = (selectionstatus & AliVEvent::kEMC7) && triggerstring.Contains("CEMC7") && IsOfflineSelected(kECREL0, triggerpatches);
155  if(!(isMinBias || isEMC7 || isEG1 || isEG2 || isEJ1 || isEJ2)) return;
156  const AliVVertex *vtx = fInputEvent->GetPrimaryVertex();
157  //if(!fInputEvent->IsPileupFromSPD(3, 0.8, 3., 2., 5.)) return; // reject pileup event
158  if(vtx->GetNContributors() < 1) return;
159  // Fill reference distribution for the primary vertex before any z-cut
160  if(fInputEvent->IsA() == AliESDEvent::Class() && fAnalysisUtil->IsFirstEventInChunk(fInputEvent)) return;
161  if(!fAnalysisUtil->IsVertexSelected2013pA(fInputEvent)) return; // Apply new vertex cut
162  if(fAnalysisUtil->IsPileUpEvent(fInputEvent)) return; // Apply new vertex cut
163  // Apply vertex z cut
164  if(vtx->GetZ() < -10. || vtx->GetZ() > 10.) return;
165 
166  // Fill Event counter and reference vertex distributions for the different trigger classes
167  if(isMinBias){
168  fHistos->FillTH1("hEventCountMB", 1);
169  }
170  if(isEMC7){
171  fHistos->FillTH1("hEventCountEMC7", 1);
172  if(!isMinBias){
173  fHistos->FillTH1("hEventCountEMC7excl", 1);
174  }
175  }
176  if(isEJ2){
177  fHistos->FillTH1("hEventCountEJ2", 1);
178  // Check for exclusive classes
179  if(!(isMinBias)){
180  fHistos->FillTH1("hEventCountEJ2excl", 1);
181  }
182  if(isEG1 || isEG2){
183  fHistos->FillTH1("hEventCountE2combined", 1);
184  } else {
185  fHistos->FillTH1("hEventCountE2Jonly", 1);
186  }
187 
188  }
189  if(isEJ1){
190  fHistos->FillTH1("hEventCountEJ1", 1);
191  // Check for exclusive classes
192  if(!(isMinBias || isEJ2)){
193  fHistos->FillTH1("hEventCountEJ1excl", 1);
194  }
195  if(isEG1 || isEG2){
196  fHistos->FillTH1("hEventCountE1combined", 1);
197  } else {
198  fHistos->FillTH1("hEventCountE1Jonly", 1);
199  }
200  }
201  if(isEG2){
202  fHistos->FillTH1("hEventCountEG2", 1);
203  // Check for exclusive classes
204  if(!(isMinBias)){
205  fHistos->FillTH1("hEventCountEG2excl", 1);
206  }
207  if(!(isEJ1 || isEJ2)){
208  fHistos->FillTH1("hEventCountE2Gonly", 1);
209  }
210  }
211  if(isEG1){
212  fHistos->FillTH1("hEventCountEG1", 1);
213  // Check for exclusive classes
214  if(!(isMinBias || isEG2)){
215  fHistos->FillTH1("hEventCountEG1excl", 1);
216  }
217  if(!(isEJ1 || isEJ2)){
218  fHistos->FillTH1("hEventCountE1Gonly", 1);
219  }
220  }
221 
222  TClonesArray *clusterArray = dynamic_cast<TClonesArray *>(fInputEvent->FindListObject(fClusterContainer.Data()));
223  if(!clusterArray){
224  AliError("Cluster array not found");
225  return;
226  }
227 
228  Double_t vertexpos[3];
229  fInputEvent->GetPrimaryVertex()->GetXYZ(vertexpos);
230 
231  Double_t energy, eta, phi;
232  for(TIter clustIter = TIter(clusterArray).Begin(); clustIter != TIter::End(); ++clustIter){
233  AliVCluster *clust = static_cast<AliVCluster *>(*clustIter);
234  if(!clust->IsEMCAL()) continue;
235 
236  TLorentzVector posvec;
237  energy = clust->E();
238  clust->GetMomentum(posvec, vertexpos);
239  eta = posvec.Eta();
240  phi = posvec.Phi();
241 
242  // fill histograms allEta
243  if(isMinBias){
244  FillClusterHistograms("MB", energy, eta, phi, NULL);
245  }
246  if(isEMC7){
247  FillClusterHistograms("EMC7", energy, eta, phi, NULL);
248  if(!isMinBias){
249  FillClusterHistograms("EMC7excl", energy, eta, phi, NULL);
250  }
251  }
252  if(isEJ2){
253  TList ej2patches;
254  FindPatchesForTrigger("EJ2", triggerpatches, ej2patches);
255  FillClusterHistograms("EJ2", energy, eta, phi, &ej2patches);
256  // check for exclusive classes
257  if(!isMinBias){
258  FillClusterHistograms("EJ2excl", energy, eta, phi, &ej2patches);
259  }
260  if(isEG1 || isEG2){
261  FillClusterHistograms("E2combined", energy, eta, phi, &ej2patches);
262  } else {
263  FillClusterHistograms("E2Jonly", energy, eta, phi, &ej2patches);
264  }
265  }
266  if(isEJ1){
267  TList ej1patches;
268  FindPatchesForTrigger("EJ1", triggerpatches, ej1patches);
269  FillClusterHistograms("EJ1", energy, eta, phi, &ej1patches);
270  // check for exclusive classes
271  if(!(isMinBias || isEJ2)){
272  FillClusterHistograms("EJ1excl", energy, eta, phi, &ej1patches);
273  }
274  if(isEG1 || isEG2) {
275  FillClusterHistograms("E1combined", energy, eta, phi, &ej1patches);
276  } else {
277  FillClusterHistograms("E1Jonly", energy, eta, phi, &ej1patches);
278  }
279  }
280  if(isEG2){
281  TList eg2patches;
282  FindPatchesForTrigger("EG2", triggerpatches, eg2patches);
283  FillClusterHistograms("EG2", energy, eta, phi, &eg2patches);
284  // check for exclusive classes
285  if(!isMinBias){
286  FillClusterHistograms("EG2excl", energy, eta, phi, &eg2patches);
287  }
288  if(!(isEJ2 || isEJ1)){
289  FillClusterHistograms("E2Gonly", energy, eta, phi, &eg2patches);
290  }
291  }
292  if(isEG1){
293  TList eg1patches;
294  FindPatchesForTrigger("EG1", triggerpatches, eg1patches);
295  FillClusterHistograms("EG1", energy, eta, phi, &eg1patches);
296  if(!(isEG2 || isMinBias))
297  FillClusterHistograms("EG1excl", energy, eta, phi, &eg1patches);
298  if(!(isEJ1 || isEJ2)){
299  FillClusterHistograms("E1Gonly", energy, eta, phi, &eg1patches);
300  }
301  }
302  }
303  PostData(1, fHistos->GetListOfHistograms());
304 }
305 
306 void AliAnalysisTaskEmcalClustersRef::FillClusterHistograms(TString triggerclass, double energy, double eta, double phi, TList *triggerpatches){
307  Bool_t hasTriggerPatch = triggerpatches ? CorrelateToTrigger(eta, phi, triggerpatches) : kFALSE;
308  Int_t supermoduleID = -1, sector = -1;
309  fGeometry->SuperModuleNumberFromEtaPhi(eta, phi, supermoduleID);
310  fHistos->FillTH1(Form("hClusterEnergy%s", triggerclass.Data()), energy);
311  fHistos->FillTH2(Form("hEtaEnergy%s", triggerclass.Data()), eta, energy);
312  if(supermoduleID >= 0){
313  fHistos->FillTH2(Form("hClusterEnergySM%s", triggerclass.Data()), supermoduleID, energy);
314  fHistos->FillTH2(Form("hEtaEnergySM%d%s", supermoduleID, triggerclass.Data()), eta, energy);
315  sector = 4 + int(supermoduleID/2);
316  fHistos->FillTH2(Form("hEtaEnergySec%d%s", sector, triggerclass.Data()), eta, energy);
317  }
318  if(hasTriggerPatch){
319  fHistos->FillTH1(Form("hClusterEnergyFired%s", triggerclass.Data()), energy);
320  fHistos->FillTH2(Form("hEtaEnergyFired%s", triggerclass.Data()), eta, energy);
321  if(supermoduleID >= 0){
322  fHistos->FillTH2(Form("hClusterEnergyFiredSM%s", triggerclass.Data()), supermoduleID, energy);
323  fHistos->FillTH2(Form("hEtaEnergyFiredSM%d%s", supermoduleID, triggerclass.Data()), eta, energy);
324  fHistos->FillTH2(Form("hEtaEnergyFiredSec%d%s", sector, triggerclass.Data()), eta, energy);
325  }
326  }
327  Double_t encuts[5] = {1., 2., 5., 10., 20.};
328  for(int ien = 0; ien < 5; ien++){
329  if(energy > encuts[ien]){
330  fHistos->FillTH2(Form("hEtaPhi%dG%s", static_cast<int>(encuts[ien]), triggerclass.Data()), eta, phi);
331  if(hasTriggerPatch){
332  fHistos->FillTH2(Form("hEtaPhiFired%dG%s", static_cast<int>(encuts[ien]), triggerclass.Data()), eta, phi);
333  }
334  }
335  }
336 }
337 
342 void AliAnalysisTaskEmcalClustersRef::CreateEnergyBinning(TArrayD& binning) const {
343  std::vector<double> mybinning;
344  std::map<double,double> definitions;
345  definitions.insert(std::pair<double, double>(1, 0.05));
346  definitions.insert(std::pair<double, double>(2, 0.1));
347  definitions.insert(std::pair<double, double>(4, 0.2));
348  definitions.insert(std::pair<double, double>(7, 0.5));
349  definitions.insert(std::pair<double, double>(16, 1));
350  definitions.insert(std::pair<double, double>(32, 2));
351  definitions.insert(std::pair<double, double>(40, 4));
352  definitions.insert(std::pair<double, double>(50, 5));
353  definitions.insert(std::pair<double, double>(100, 10));
354  definitions.insert(std::pair<double, double>(200, 20));
355  double currentval = 0.;
356  mybinning.push_back(currentval);
357  for(std::map<double,double>::iterator id = definitions.begin(); id != definitions.end(); ++id){
358  double limit = id->first, binwidth = id->second;
359  while(currentval < limit){
360  currentval += binwidth;
361  mybinning.push_back(currentval);
362  }
363  }
364  binning.Set(mybinning.size());
365  int ib = 0;
366  for(std::vector<double>::iterator it = mybinning.begin(); it != mybinning.end(); ++it)
367  binning[ib++] = *it;
368 }
369 
377 void AliAnalysisTaskEmcalClustersRef::CreateLinearBinning(TArrayD& binning, int nbins, double min, double max) const {
378  double binwidth = (max-min)/static_cast<double>(nbins);
379  binning.Set(nbins+1);
380  binning[0] = min;
381  double currentlimit = min + binwidth;
382  for(int ibin = 0; ibin < nbins; ibin++){
383  binning[ibin+1] = currentlimit;
384  currentlimit += binwidth;
385  }
386 }
387 
395 Bool_t AliAnalysisTaskEmcalClustersRef::CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches) const {
396  Bool_t hasfound = kFALSE;
397  for(TIter patchIter = TIter(triggerpatches).Begin(); patchIter != TIter::End(); ++patchIter){
398  AliEmcalTriggerPatchInfo *mypatch = static_cast<AliEmcalTriggerPatchInfo *>(*patchIter);
399  Double_t etamin = TMath::Min(mypatch->GetEtaMin(), mypatch->GetEtaMax()),
400  etamax = TMath::Max(mypatch->GetEtaMin(), mypatch->GetEtaMax()),
401  phimin = TMath::Min(mypatch->GetPhiMin(), mypatch->GetPhiMax()),
402  phimax = TMath::Max(mypatch->GetPhiMin(), mypatch->GetPhiMax());
403  if(etaclust > etamin && etaclust < etamax && phiclust > phimin && phiclust < phimax){
404  hasfound = kTRUE;
405  break;
406  }
407  }
408  return hasfound;
409 }
410 
419 void AliAnalysisTaskEmcalClustersRef::FindPatchesForTrigger(TString triggerclass, const TClonesArray * triggerpatches, TList &foundtriggers) const {
420  foundtriggers.Clear();
421  if(!triggerpatches) return;
422  EmcalTriggerClass myclass = kECREL0;
423  if(triggerclass == "EG1") myclass = kECREG1;
424  if(triggerclass == "EG2") myclass = kECREG2;
425  if(triggerclass == "EJ1") myclass = kECREJ1;
426  if(triggerclass == "EJ2") myclass = kECREJ2;
427  bool isSingleShower = ((myclass == kECREG1) || (triggerclass == kECREG2) || (myclass == kECREL0));
428  AliEmcalTriggerPatchInfo *mypatch = NULL;
429  for(TIter patchiter = TIter(triggerpatches).Begin(); patchiter != TIter::End(); ++patchiter){
430  mypatch = dynamic_cast<AliEmcalTriggerPatchInfo *>(*patchiter);
431  if(!mypatch->IsOfflineSimple()) continue;
432  if(isSingleShower){
433  if(!mypatch->IsGammaLowSimple()) continue;
434  } else {
435  if(!mypatch->IsJetLowSimple()) continue;
436  }
437  if(mypatch->GetPatchE() > fOfflineEnergyThreshold[myclass]) foundtriggers.Add(mypatch);
438  }
439 }
440 
449 Bool_t AliAnalysisTaskEmcalClustersRef::IsOfflineSelected(EmcalTriggerClass trgcls, const TClonesArray * const triggerpatches) const {
450  if(fOfflineEnergyThreshold[trgcls] < 0) return true;
451  bool isSingleShower = ((trgcls == kECREL0) || (trgcls == kECREG1) || (trgcls == kECREG2));
452  int nfound = 0;
453  AliEmcalTriggerPatchInfo *patch = NULL;
454  for(TIter patchIter = TIter(triggerpatches).Begin(); patchIter != TIter::End(); ++patchIter){
455  patch = static_cast<AliEmcalTriggerPatchInfo *>(*patchIter);
456  if(!patch->IsOfflineSimple()) continue;
457  if(isSingleShower){
458  if(!patch->IsGammaLowSimple()) continue;
459  } else {
460  if(!patch->IsJetLowSimple()) continue;
461  }
462  if(patch->GetPatchE() > fOfflineEnergyThreshold[trgcls]) nfound++;
463  }
464  return nfound > 0;
465 }
466 
472 TString AliAnalysisTaskEmcalClustersRef::GetFiredTriggerClassesFromPatches(const TClonesArray* triggerpatches) const {
473  TString triggerstring = "";
474  if(!triggerpatches) return triggerstring;
475  Int_t nEJ1 = 0, nEJ2 = 0, nEG1 = 0, nEG2 = 0;
476  double minADC_EJ1 = 260.,
477  minADC_EJ2 = 127.,
478  minADC_EG1 = 140.,
479  minADC_EG2 = 89.;
480  for(TIter patchIter = TIter(triggerpatches).Begin(); patchIter != TIter::End(); ++patchIter){
481  AliEmcalTriggerPatchInfo *patch = dynamic_cast<AliEmcalTriggerPatchInfo *>(*patchIter);
482  if(!patch->IsOfflineSimple()) continue;
483  if(patch->IsJetHighSimple() && patch->GetADCOfflineAmp() > minADC_EJ1) nEJ1++;
484  if(patch->IsJetLowSimple() && patch->GetADCOfflineAmp() > minADC_EJ2) nEJ2++;
485  if(patch->IsGammaHighSimple() && patch->GetADCOfflineAmp() > minADC_EG1) nEG1++;
486  if(patch->IsGammaLowSimple() && patch->GetADCOfflineAmp() > minADC_EG2) nEG2++;
487  }
488  if(nEJ1) triggerstring += "EJ1";
489  if(nEJ2){
490  if(triggerstring.Length()) triggerstring += ",";
491  triggerstring += "EJ2";
492  }
493  if(nEG1){
494  if(triggerstring.Length()) triggerstring += ",";
495  triggerstring += "EG1";
496  }
497  if(nEG2){
498  if(triggerstring.Length()) triggerstring += ",";
499  triggerstring += "EG2";
500  }
501  return triggerstring;
502 }
503 
504 
505 } /* 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