AliPhysics  bba8f44 (bba8f44)
AliEmcalTriggerSetupInfo.h
Go to the documentation of this file.
1 
8 #ifndef ALIEMCALTRIGGERSETUPINFO_H
9 #define ALIEMCALTRIGGERSETUPINFO_H
10 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice */
12 
13 #include "TNamed.h"
14 #include "AliEMCALTriggerConstants.h"
15 
16 static const Double_t kEMCL1ADCtoADCSum = 3.40;
17 
27  public:
31  virtual ~AliEmcalTriggerSetupInfo();
32 
37  Int_t GetThresholdJetLow() const { return fThresholds[2]; }
42  Int_t GetThresholdJetHigh() const { return fThresholds[0]; }
53 
58  Int_t GetThresholdGammaLow() const { return fThresholds[3]; }
63  Int_t GetThresholdGammaHigh() const { return fThresholds[1]; }
74 
79  Double_t GetThresholdGeVRoughJetLow() const { return ((Double_t)fThresholds[2])*EMCALTrigger::kEMCL1ADCtoGeV; }
84  Double_t GetThresholdGeVRoughJetHigh() const { return ((Double_t)fThresholds[0])*EMCALTrigger::kEMCL1ADCtoGeV; }
89  Double_t GetThresholdGeVRoughJetLowSimple() const { return ((Double_t)fThresholdsSimple[2])*EMCALTrigger::kEMCL1ADCtoGeV; }
94  Double_t GetThresholdGeVRoughJetHighSimple() const { return ((Double_t)fThresholdsSimple[0])*EMCALTrigger::kEMCL1ADCtoGeV; }
95 
103  void SetThresholds( Int_t i0, Int_t i1, Int_t i2, Int_t i3 ) {
104  fThresholds[0] = i0; fThresholds[1] = i1; fThresholds[2] = i2; fThresholds[3] = i3;}
112  void SetThresholdsSimple( Int_t i0, Int_t i1, Int_t i2, Int_t i3 ) {
113  fThresholdsSimple[0] = i0; fThresholdsSimple[1] = i1; fThresholdsSimple[2] = i2; fThresholdsSimple[3] = i3;}
114 
115  void Clean();
116 
117 
118  protected:
121 
123  ClassDef(AliEmcalTriggerSetupInfo, 2) // Emcal trigger setup class
125 };
126 #endif
AliEmcalTriggerSetupInfo & operator=(const AliEmcalTriggerSetupInfo &p)
double Double_t
Definition: External.C:58
int Int_t
Definition: External.C:63
Double_t GetThresholdGeVRoughJetLow() const
Double_t GetThresholdGeVRoughJetLowSimple() const
Int_t fThresholds[4]
per event L1 online thresholds in ADC counts
Double_t GetThresholdGeVRoughJetHighSimple() const
Double_t GetThresholdGeVRoughJetHigh() const
static const Double_t kEMCL1ADCtoADCSum
Int_t fThresholdsSimple[4]
per event L1 simple offline thresholds
Settings manager for the trigger patch algorithmThis class contains the main settings (trigger thresh...
void SetThresholdsSimple(Int_t i0, Int_t i1, Int_t i2, Int_t i3)
void SetThresholds(Int_t i0, Int_t i1, Int_t i2, Int_t i3)