10 runPut_ = produces<unsigned int>(
"run");
11 eventPut_ = produces<unsigned int>(
"event");
12 bxPut_ = produces<unsigned int>(
"bx");
13 lumiPut_ = produces<unsigned int>(
"lumi");
15 puPut_ = produces<float>(
"PU");
16 #ifdef ExtendedCALIBTree 17 trigTechPut_ = produces<std::vector<bool>>(
"TrigTech");
18 trigPhPut_ = produces<std::vector<bool>>(
"TrigPh");
31 #ifdef ExtendedCALIBTree 33 iEvent.getByToken(trig_token_, gtRecord);
35 std::vector<bool> TrigTech_(64,
false);
36 std::vector<bool> TrigPh_(128,
false);
42 for (
int i = 0;
i < 64; ++
i) {
43 TrigPh_[
i] = dWord[
i];
50 for (
int i = 0;
i < 64; ++
i) {
71 <<
"LumiScalers collection not found in the event; will write dummy values";
T getParameter(std::string const &) const
edm::EDPutTokenT< unsigned int > eventPut_
edm::EDPutTokenT< float > instLumiPut_
const DecisionWord & decisionWord(int bxInEventValue) const
edm::EDPutTokenT< unsigned int > runPut_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
std::vector< bool > DecisionWord
typedefs
edm::EDPutTokenT< unsigned int > bxPut_
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
const TechnicalTriggerWord & technicalTriggerWord(int bxInEventValue) const
Log< level::Info, false > LogInfo
edm::EDGetTokenT< LumiScalersCollection > scalerToken_
edm::EDPutTokenT< float > puPut_
edm::EDPutTokenT< unsigned int > lumiPut_
ShallowEventDataProducer(const edm::ParameterSet &)