49 template <edm::Transition iTrans>
72 : m_testerPrescaleFactors(parSet.getParameter<
bool>(
"TesterPrescaleFactors")),
73 m_testerTriggerMask(parSet.getParameter<
bool>(
"TesterTriggerMask")),
74 m_testerTriggerVetoMask(parSet.getParameter<
bool>(
"TesterTriggerVetoMask")),
75 m_retrieveInBeginRun(parSet.getParameter<
bool>(
"RetrieveInBeginRun")),
76 m_retrieveInBeginLuminosityBlock(parSet.getParameter<
bool>(
"RetrieveInBeginLuminosityBlock")),
77 m_retrieveInAnalyze(parSet.getParameter<
bool>(
"RetrieveInAnalyze")),
78 m_printInBeginRun(parSet.getParameter<
bool>(
"PrintInBeginRun")),
79 m_printInBeginLuminosityBlock(parSet.getParameter<
bool>(
"PrintInBeginLuminosityBlock")),
80 m_printInAnalyze(parSet.getParameter<
bool>(
"PrintInAnalyze")),
81 m_printOutput(parSet.getUntrackedParameter<
int>(
"PrintOutput", 3)),
83 consumesCollector(), m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask)),
85 consumesCollector(), m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask)),
87 consumesCollector(), m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask)) {
156 std::ostringstream myCout;
159 myCout <<
"\nL1 GT prescale factors for algorithm triggers" << std::endl;
162 myCout <<
"\nL1 GT prescale factors for technical triggers" << std::endl;
168 myCout <<
"\nL1 GT trigger masks for algorithm triggers" << std::endl;
171 myCout <<
"\nL1 GT trigger masks for technical triggers" << std::endl;
177 myCout <<
"\nL1 GT trigger veto masks for algorithm triggers" << std::endl;
180 myCout <<
"\nL1 GT trigger veto masks for technical triggers" << std::endl;
192 LogTrace(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str() << std::endl;
197 edm::LogVerbatim(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str() << std::endl;
203 edm::LogInfo(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str();
209 myCout <<
"\n\n L1GtPrescaleFactorsAndMasksTester: Error - no print output = " <<
m_printOutput 210 <<
" defined! \n Check available values in the cfi file."
Log< level::Info, true > LogVerbatim
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoAlgoTrigRcd > m_l1GtTmVetoAlgo
bool m_testerTriggerVetoMask
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
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
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