35 m_jetRanksOutFileName (iConfig.getUntrackedParameter<std::string>(
"jetRanksFilename",
"gctJetRanksContents.txt" )),
36 m_hfSumLutOutFileName (iConfig.getUntrackedParameter<std::string>(
"hfSumLutFilename",
"gctHfSumLutContents.txt" )),
37 m_htMissLutOutFileName(iConfig.getUntrackedParameter<std::string>(
"htMissLutFilename",
"gctHtMissLutContents.txt")),
45 nextLut->setEtaBin(ieta);
84 file <<
" Gct lookup table printout \n"
85 <<
"===========================\n\n"
86 <<
"Jet Et Calibration lut contents\n" << std::endl;
105 file <<
"\n\n Hf ring jet bit count luts:" << std::endl;
106 file <<
"\n Positive eta, ring1" << std::endl;
108 file <<
"\n Positive eta, ring2" << std::endl;
110 file <<
"\n Negative eta, ring1" << std::endl;
112 file <<
"\n Negative eta, ring2" << std::endl;
114 file <<
"\n\n Hf Et sum luts:" << std::endl;
115 file <<
"\n Positive eta, ring1" << std::endl;
117 file <<
"\n Positive eta, ring2" << std::endl;
119 file <<
"\n Negative eta, ring1" << std::endl;
121 file <<
"\n Negative eta, ring2" << std::endl;
138 file <<
"\n\n missing Ht lut:" << std::endl;
161 edm::LogWarning(
"L1GctConfigFailure") <<
"Cannot find EventSetup information." << std::endl;
180 <<
"Failed to find a L1GctJetFinderParamsRcd:L1GctJetFinderParams in EventSetup!" << std::endl;
183 if (hfRingEtScale.
product() == 0) {
186 <<
"Failed to find a L1HfRingEtScaleRcd:L1CaloEtScale in EventSetup!" << std::endl;
189 if (htMissScale.
product() == 0) {
192 <<
"Failed to find a L1HtMissScaleRcd:L1CaloEtScale in EventSetup!" << std::endl;
221 <<
"Configuration failed - GCT emulator will not be run" << std::endl;
lutPtrVector m_jetEtCalibLuts
#define DEFINE_FWK_MODULE(type)
void setJetFinderParams(const L1GctJetFinderParams *const jfpars)
L1GctPrintLuts(const edm::ParameterSet &)
Bit-level emulation of the Global Calorimeter Trigger.
virtual void analyze(const edm::Event &, const edm::EventSetup &)
const L1GctHfBitCountsLut * getBCLut(const L1GctHfEtSumsLut::hfLutType type) const
Get lut pointers.
void setHtMissScale(const L1CaloEtScale *const scale)
setup scale for missing Ht
L1GlobalCaloTrigger::lutPtr lutPtr
typedefs
L1GctGlobalHfSumAlgos * getHfSumProcessor() const
provide access to hf sum processor
std::string m_hfSumLutOutFileName
int configureGct(const edm::EventSetup &c)
void setupHfSumLuts(const L1CaloEtScale *const scale)
setup Hf sum LUTs
static const unsigned int COL_OFFSET
The index offset between columns.
L1GctGlobalEnergyAlgos * getEnergyFinalStage() const
get the energy final stage
const L1GctHfEtSumsLut * getESLut(const L1GctHfEtSumsLut::hfLutType type) const
void setJetEtCalibrationLuts(const lutPtrVector &jfluts)
setup the Jet Calibration Luts
std::string m_jetRanksOutFileName
L1GlobalCaloTrigger * m_gct
T const * product() const
std::string m_htMissLutOutFileName
const L1GctHtMissLut * getHtMissLut() const