52 : m_testerPrescaleFactors(parSet.getParameter<bool>(
"TesterPrescaleFactors")),
53 m_testerTriggerMask(parSet.getParameter<bool>(
"TesterTriggerMask")),
54 m_testerTriggerVetoMask(parSet.getParameter<bool>(
"TesterTriggerVetoMask")),
55 m_retrieveInBeginRun(parSet.getParameter<bool>(
"RetrieveInBeginRun")),
56 m_retrieveInBeginLuminosityBlock(parSet.getParameter<bool>(
"RetrieveInBeginLuminosityBlock")),
57 m_retrieveInAnalyze(parSet.getParameter<bool>(
"RetrieveInAnalyze")),
58 m_printInBeginRun(parSet.getParameter<bool>(
"PrintInBeginRun")),
59 m_printInBeginLuminosityBlock(parSet.getParameter<bool>(
"PrintInBeginLuminosityBlock")),
60 m_printInAnalyze(parSet.getParameter<bool>(
"PrintInAnalyze")),
61 m_printOutput(parSet.getUntrackedParameter<int>(
"PrintOutput", 3)) {
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
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
void print(std::ostream &) const
print the mask
bool m_retrieveInBeginRun
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively
void endJob() override
end job
~L1GtPrescaleFactorsAndMasksTester() override
void retrieveL1EventSetup(const edm::EventSetup &)
retrieve all the relevant L1 trigger event setup records
void print(std::ostream &) const
print the prescale factors
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 &)
T const * product() const
bool m_printInBeginRun
print the records in beginRun, beginLuminosityBlock, analyze, respectively
void endRun(const edm::Run &, const edm::EventSetup &) override
end run
void analyze(const edm::Event &, const edm::EventSetup &) override
analyze
void printL1EventSetup(const edm::EventSetup &)
print the requred records
bool m_testerPrescaleFactors
input parameters
const L1GtTriggerMask * m_l1GtTmTech
bool m_printInBeginLuminosityBlock
bool m_retrieveInBeginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
begin luminosity block
const L1GtPrescaleFactors * m_l1GtPfTech
void beginJob() override
begin job