52 template <edm::Transition iTrans>
75 : m_testerPrescaleFactors(parSet.getParameter<
bool>(
"TesterPrescaleFactors")),
76 m_testerTriggerMask(parSet.getParameter<
bool>(
"TesterTriggerMask")),
77 m_testerTriggerVetoMask(parSet.getParameter<
bool>(
"TesterTriggerVetoMask")),
78 m_retrieveInBeginRun(parSet.getParameter<
bool>(
"RetrieveInBeginRun")),
79 m_retrieveInBeginLuminosityBlock(parSet.getParameter<
bool>(
"RetrieveInBeginLuminosityBlock")),
80 m_retrieveInAnalyze(parSet.getParameter<
bool>(
"RetrieveInAnalyze")),
81 m_printInBeginRun(parSet.getParameter<
bool>(
"PrintInBeginRun")),
82 m_printInBeginLuminosityBlock(parSet.getParameter<
bool>(
"PrintInBeginLuminosityBlock")),
83 m_printInAnalyze(parSet.getParameter<
bool>(
"PrintInAnalyze")),
84 m_printOutput(parSet.getUntrackedParameter<
int>(
"PrintOutput", 3)),
86 consumesCollector(), m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask)),
88 consumesCollector(), m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask)),
90 consumesCollector(), m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask)) {
159 std::ostringstream myCout;
162 myCout <<
"\nL1 GT prescale factors for algorithm triggers" << std::endl;
165 myCout <<
"\nL1 GT prescale factors for technical triggers" << std::endl;
171 myCout <<
"\nL1 GT trigger masks for algorithm triggers" << std::endl;
174 myCout <<
"\nL1 GT trigger masks for technical triggers" << std::endl;
180 myCout <<
"\nL1 GT trigger veto masks for algorithm triggers" << std::endl;
183 myCout <<
"\nL1 GT trigger veto masks for technical triggers" << std::endl;
195 LogTrace(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str() << std::endl;
200 edm::LogVerbatim(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str() << std::endl;
206 edm::LogInfo(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str();
212 myCout <<
"\n\n L1GtPrescaleFactorsAndMasksTester: Error - no print output = " <<
m_printOutput 213 <<
" defined! \n Check available values in the cfi file."
Log< level::Info, true > LogVerbatim
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoAlgoTrigRcd > m_l1GtTmVetoAlgo
bool m_testerTriggerVetoMask
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
end luminosity block
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoTechTrigRcd > m_l1GtTmVetoTech
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgo
bool m_retrieveInBeginRun
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgo
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTech
void print(std::ostream &) const
print the mask
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
void beginRun(const edm::Run &, const edm::EventSetup &) override
begin run
bool getData(T &iHolder) const
Log< level::Info, false > LogInfo
int m_printOutput
print output
L1GtPrescaleFactorsAndMasksTester(const edm::ParameterSet &)
bool m_printInBeginRun
print the records in beginRun, beginLuminosityBlock, analyze, respectively
void print(std::ostream &) const
print the prescale factors
void endRun(const edm::Run &, const edm::EventSetup &) override
end run
void printL1EventSetup()
print the requred records
void analyze(const edm::Event &, const edm::EventSetup &) override
analyze
bool m_testerPrescaleFactors
input parameters
const L1GtTriggerMask * m_l1GtTmTech
bool m_printInBeginLuminosityBlock
void retrieveL1EventSetup(const edm::EventSetup &, const Tokens &)
retrieve all the relevant L1 trigger event setup records
bool m_retrieveInBeginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
begin luminosity block
const L1GtPrescaleFactors * m_l1GtPfTech
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTech