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");
32 #ifdef ExtendedCALIBTree 34 iEvent.getByToken(trig_token_, gtRecord);
36 std::vector<bool> TrigTech_(64,
false);
37 std::vector<bool> TrigPh_(128,
false);
43 for (
int i = 0;
i < 64; ++
i) {
44 TrigPh_[
i] = dWord[
i];
51 for (
int i = 0;
i < 64; ++
i) {
72 }
else if (metaData.
isValid()) {
77 <<
"LumiScalers collection not found in the event; will write dummy values";
T getParameter(std::string const &) const
edm::EDPutTokenT< unsigned int > eventPut_
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
edm::EDPutTokenT< float > instLumiPut_
const DecisionWord & decisionWord(int bxInEventValue) const
float instLumi() const
Return the luminosity for the current nibble.
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_
float avgPileUp() const
Return the average pileup for th current nibble.
ShallowEventDataProducer(const edm::ParameterSet &)