66 virtual void endJob()
override ;
88 : m_prescalesKey( iConfig.getParameter< std::
string >(
"prescalesKey" ) ),
89 m_maskAlgoKey( iConfig.getParameter< std::
string >(
"maskAlgoKey" ) ),
90 m_maskTechKey( iConfig.getParameter< std::
string >(
"maskTechKey" ) ),
91 m_maskVetoAlgoKey( iConfig.getParameter< std::
string >(
"maskVetoAlgoKey" ) ),
92 m_maskVetoTechKey( iConfig.getParameter< std::
string >(
"maskVetoTechKey" ) )
122 dataWriter.fillLastTriggerKeyList( keyList ) ;
130 std::string pfAlgoToken = keyList.token(
"L1GtPrescaleFactorsAlgoTrigRcd",
131 "L1GtPrescaleFactors",
133 if( pfAlgoToken.empty() )
135 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtPrescaleFactorsAlgoTrigRcd with key "
141 dataWriter.readObject( pfAlgoToken, pfAlgo ) ;
145 std::string pfTechToken = keyList.token(
"L1GtPrescaleFactorsTechTrigRcd",
146 "L1GtPrescaleFactors",
148 if( pfTechToken.empty() )
150 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtPrescaleFactorsTechTrigRcd with key "
156 dataWriter.readObject( pfTechToken, pfTech ) ;
163 std::string token = keyList.token(
"L1GtTriggerMaskAlgoTrigRcd",
168 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskAlgoTrigRcd with key "
174 dataWriter.readObject( token, mask ) ;
181 std::string token = keyList.token(
"L1GtTriggerMaskTechTrigRcd",
186 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskTechTrigRcd with key "
192 dataWriter.readObject( token, mask ) ;
199 std::string token = keyList.token(
"L1GtTriggerMaskVetoAlgoTrigRcd",
204 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskVetoAlgoTrigRcd with key "
210 dataWriter.readObject( token, mask ) ;
217 std::string token = keyList.token(
"L1GtTriggerMaskVetoTechTrigRcd",
222 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskVetoTechTrigRcd with key "
228 dataWriter.readObject( token, mask ) ;
#define DEFINE_FWK_MODULE(type)
virtual void beginJob() override
void print(std::ostream &) const
print the mask
std::string m_maskAlgoKey
void print(std::ostream &) const
print the prescale factors
virtual void endJob() override
std::string m_maskTechKey
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
std::string m_maskVetoAlgoKey
std::string m_maskVetoTechKey
std::string m_prescalesKey
L1GtRunSettingsViewer(const edm::ParameterSet &)