87 : m_prescalesKey( iConfig.getParameter< std::
string >(
"prescalesKey" ) ),
88 m_maskAlgoKey( iConfig.getParameter< std::
string >(
"maskAlgoKey" ) ),
89 m_maskTechKey( iConfig.getParameter< std::
string >(
"maskTechKey" ) ),
90 m_maskVetoAlgoKey( iConfig.getParameter< std::
string >(
"maskVetoAlgoKey" ) ),
91 m_maskVetoTechKey( iConfig.getParameter< std::
string >(
"maskVetoTechKey" ) )
121 dataWriter.fillLastTriggerKeyList( keyList ) ;
129 std::string pfAlgoToken = keyList.token(
"L1GtPrescaleFactorsAlgoTrigRcd",
130 "L1GtPrescaleFactors",
132 if( pfAlgoToken.empty() )
134 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtPrescaleFactorsAlgoTrigRcd with key "
140 dataWriter.readObject( pfAlgoToken, pfAlgo ) ;
144 std::string pfTechToken = keyList.token(
"L1GtPrescaleFactorsTechTrigRcd",
145 "L1GtPrescaleFactors",
147 if( pfTechToken.empty() )
149 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtPrescaleFactorsTechTrigRcd with key "
155 dataWriter.readObject( pfTechToken, pfTech ) ;
162 std::string token = keyList.token(
"L1GtTriggerMaskAlgoTrigRcd",
167 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskAlgoTrigRcd with key "
173 dataWriter.readObject( token, mask ) ;
180 std::string token = keyList.token(
"L1GtTriggerMaskTechTrigRcd",
185 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskTechTrigRcd with key "
191 dataWriter.readObject( token, mask ) ;
198 std::string token = keyList.token(
"L1GtTriggerMaskVetoAlgoTrigRcd",
203 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskVetoAlgoTrigRcd with key "
209 dataWriter.readObject( token, mask ) ;
216 std::string token = keyList.token(
"L1GtTriggerMaskVetoTechTrigRcd",
221 edm::LogError(
"L1-O2O" ) <<
"No payload for L1GtTriggerMaskVetoTechTrigRcd with key "
227 dataWriter.readObject( token, mask ) ;
#define DEFINE_FWK_MODULE(type)
void print(std::ostream &) const
print the mask
std::string m_maskAlgoKey
void print(std::ostream &) const
print the prescale factors
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::string m_maskTechKey
std::string m_maskVetoAlgoKey
std::string m_maskVetoTechKey
std::string m_prescalesKey
L1GtRunSettingsViewer(const edm::ParameterSet &)