53 m_testerPrescaleFactors(
54 parSet.getParameter<
bool> (
"TesterPrescaleFactors")),
55 m_testerTriggerMask(parSet.getParameter<
bool> (
"TesterTriggerMask")),
56 m_testerTriggerVetoMask(
57 parSet.getParameter<
bool> (
"TesterTriggerVetoMask")),
59 parSet.getParameter<
bool> (
"RetrieveInBeginRun")),
60 m_retrieveInBeginLuminosityBlock(
61 parSet.getParameter<
bool> (
"RetrieveInBeginLuminosityBlock")),
62 m_retrieveInAnalyze(parSet.getParameter<
bool> (
"RetrieveInAnalyze")),
63 m_printInBeginRun(parSet.getParameter<
bool> (
"PrintInBeginRun")),
64 m_printInBeginLuminosityBlock(
65 parSet.getParameter<
bool> (
"PrintInBeginLuminosityBlock")),
66 m_printInAnalyze(parSet.getParameter<
bool> (
"PrintInAnalyze")),
67 m_printOutput(parSet.getUntrackedParameter<
int> (
"PrintOutput", 3)) {
185 std::ostringstream myCout;
189 myCout <<
"\nL1 GT prescale factors for algorithm triggers" 193 myCout <<
"\nL1 GT prescale factors for technical triggers" 200 myCout <<
"\nL1 GT trigger masks for algorithm triggers" << std::endl;
203 myCout <<
"\nL1 GT trigger masks for technical triggers" << std::endl;
210 myCout <<
"\nL1 GT trigger veto masks for algorithm triggers" 214 myCout <<
"\nL1 GT trigger veto masks for technical triggers" 230 LogTrace(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str()
239 << myCout.str() << std::endl;
246 edm::LogInfo(
"L1GtPrescaleFactorsAndMasksTester") << myCout.str();
253 <<
"\n\n L1GtPrescaleFactorsAndMasksTester: Error - no print output = " 255 <<
" defined! \n Check available values in the cfi file." 256 <<
"\n" << std::endl;
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
int m_printOutput
print output
L1GtPrescaleFactorsAndMasksTester(const edm::ParameterSet &)
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
T const * product() const
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
begin luminosity block
const L1GtPrescaleFactors * m_l1GtPfTech
void beginJob() override
begin job