From 7e42cd808947bf57b4be32bffb9416f16c2320b1 Mon Sep 17 00:00:00 2001 From: pavlinov Date: Wed, 14 May 2008 15:50:17 +0000 Subject: [PATCH] Fixed error with trigger name at method SetInput --- EMCAL/AliEMCALTrigger.cxx | 4 ++-- EMCAL/AliEMCALTrigger.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/EMCAL/AliEMCALTrigger.cxx b/EMCAL/AliEMCALTrigger.cxx index c3c152bd02b..68f3521e910 100644 --- a/EMCAL/AliEMCALTrigger.cxx +++ b/EMCAL/AliEMCALTrigger.cxx @@ -208,7 +208,7 @@ void AliEMCALTrigger::CreateInputs() // Jet Trigger(s) UInt_t level = 0x032; for(Int_t i=0; i= fL1JetThreshold[i]) { - SetInput((Form("%s_Th%2i", fgNameOfJetTriggers.Data(),i))); + SetInput(GetNameOfJetTrigger(i)); } } } diff --git a/EMCAL/AliEMCALTrigger.h b/EMCAL/AliEMCALTrigger.h index fbaafe02684..c256036e13e 100644 --- a/EMCAL/AliEMCALTrigger.h +++ b/EMCAL/AliEMCALTrigger.h @@ -150,6 +150,7 @@ class AliEMCALTrigger : public AliTriggerDetector { virtual Bool_t IsFolder() const {return kTRUE;} // Name of Jet trigger(s) + Char_t* GetNameOfJetTrigger(const Int_t i) {return Form("%s_Th_%2.2i",fgNameOfJetTriggers.Data(),i);} static TString GetNameOfJetTriggers() {return fgNameOfJetTriggers;} static TString fgNameOfJetTriggers; // Estimation on EMCal energy from VZERO multiplicity -- 2.43.0