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;
173 if (jfPars.
product() ==
nullptr) {
176 <<
"Failed to find a L1GctJetFinderParamsRcd:L1GctJetFinderParams in EventSetup!" << std::endl;
179 if (hfRingEtScale.
product() ==
nullptr) {
182 <<
"Failed to find a L1HfRingEtScaleRcd:L1CaloEtScale in EventSetup!" << std::endl;
185 if (htMissScale.
product() ==
nullptr) {
188 <<
"Failed to find a L1HtMissScaleRcd:L1CaloEtScale in EventSetup!" << std::endl;
217 <<
"Configuration failed - GCT emulator will not be run" << std::endl;
lutPtrVector m_jetEtCalibLuts
void setJetFinderParams(const L1GctJetFinderParams *const jfpars)
L1GctPrintLuts(const edm::ParameterSet &)
Bit-level emulation of the Global Calorimeter Trigger.
const L1GctHfBitCountsLut * getBCLut(const L1GctHfEtSumsLut::hfLutType type) const
Get lut pointers.
#define DEFINE_FWK_MODULE(type)
void setHtMissScale(const L1CaloEtScale *const scale)
setup scale for missing Ht
L1GlobalCaloTrigger::lutPtr lutPtr
typedefs
void analyze(const edm::Event &, const edm::EventSetup &) override
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
std::string m_htMissLutOutFileName
const L1GctHtMissLut * getHtMissLut() const
T const * product() const
~L1GctPrintLuts() override