AliPhysics  dab84fb (dab84fb)
AliEMCalTriggerAnaTriggerDecisionConfig.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGERANATRIGGERDECISIONCONFIG_H
2 #define ALIEMCALTRIGGERANATRIGGERDECISIONCONFIG_H
3 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <TObject.h>
8 
9 namespace EMCalTriggerPtAnalysis {
10 
12 public:
14 
19 
24  void SetSwapThresholds(Bool_t doSwap = kTRUE) { fSwapThresholds = doSwap;}
25 
30  void SetUseOfflinePatches(Bool_t doUse = kTRUE ) { fUseOfflinePatches = doUse; }
31 
37  void SetEnergyThreshold(ETATriggerType trigger, double threshold){
38  fEnergyThresholds[trigger] = threshold;
39  }
40 
45  void SetPatchEnergyType(EPatchEnergyType_t energyType) { fEnergyType = energyType; }
46 
52 
58 
65  return fEnergyThresholds[trigger];
66  }
67 
74  return fEnergyThresholds[trigger] > 0;
75  }
76 
82 
83 private:
88 
92 };
93 
94 }
95 #endif /* */
double Double_t
Definition: External.C:58
Bool_t fUseOfflinePatches
Switch for using offline patches for event selection.
ETATriggerType
Trigger types defined for this analysis.
EPatchEnergyType_t fEnergyType
Energy type from patch used for the patch energy selection.
Bool_t fSwapThresholds
Flag for swapping high and low energy threshold.
Analysis of high- tracks in triggered events.
Double_t fEnergyThresholds[4]
Energy thresholds applied in the analysis.
bool Bool_t
Definition: External.C:53