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
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) {
65 if (lumiScalers->begin() != lumiScalers->end()) {
66 instLumi_ = lumiScalers->begin()->instantLumi();
67 PU_ = lumiScalers->begin()->pileup();
71 <<
"LumiScalers collection not found in the event; will write dummy values";
EventNumber_t event() const
edm::EDPutTokenT< unsigned int > eventPut_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDPutTokenT< float > instLumiPut_
int bunchCrossing() const
edm::LuminosityBlockNumber_t luminosityBlock() 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)
Log< level::Info, false > LogInfo
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
T getParameter(std::string const &) const
edm::EDGetTokenT< LumiScalersCollection > scalerToken_
edm::EDPutTokenT< float > puPut_
edm::EDPutTokenT< unsigned int > lumiPut_
ShallowEventDataProducer(const edm::ParameterSet &)