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;
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
end luminosity block
void analyze(const edm::Event &, const edm::EventSetup &)
analyze
bool m_testerTriggerVetoMask
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
void print(std::ostream &) const
print the mask
bool m_retrieveInBeginRun
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively
void retrieveL1EventSetup(const edm::EventSetup &)
retrieve all the relevant L1 trigger event setup records
void print(std::ostream &) const
print the prescale factors
void beginRun(const edm::Run &, const edm::EventSetup &)
begin run
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
begin luminosity block
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 printL1EventSetup(const edm::EventSetup &)
print the requred records
bool m_testerPrescaleFactors
input parameters
const L1GtTriggerMask * m_l1GtTmTech
void endRun(const edm::Run &, const edm::EventSetup &)
end run
bool m_printInBeginLuminosityBlock
virtual ~L1GtPrescaleFactorsAndMasksTester()
bool m_retrieveInBeginLuminosityBlock
const L1GtPrescaleFactors * m_l1GtPfTech