// Jet Trigger(s)
UInt_t level = 0x032;
for(Int_t i=0; i<fNJetThreshold; i++ ) {
- TString name(Form("%s_Th_%2.2i",fgNameOfJetTriggers.Data(),i));
+ TString name(GetNameOfJetTrigger(i));
TString title("EMCAL Jet triger L1 :"); // unused now
// 0.0153 - hard coded now
title += Form("Th %i(%5.1f GeV) :", (Int_t)fL1JetThreshold[i], fL1JetThreshold[i] * 0.0153);
// Set the jet trigger(s), multiple threshold now, Nov 19,2007
for(Int_t i=0; i<fNJetThreshold; i++ ) {
if(ampJetMax(0,0) >= fL1JetThreshold[i]) {
- SetInput((Form("%s_Th%2i", fgNameOfJetTriggers.Data(),i)));
+ SetInput(GetNameOfJetTrigger(i));
}
}
}
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