9 produces<unsigned int>(
"run");
10 produces<unsigned int>(
"event");
11 produces<unsigned int>(
"bx");
12 produces<unsigned int>(
"lumi");
13 produces<float>(
"instLumi");
14 produces<float>(
"PU");
15 #ifdef ExtendedCALIBTree
16 produces<std::vector<bool>>(
"TrigTech");
17 produces<std::vector<bool>>(
"TrigPh");
25 auto run = std::make_unique<unsigned int>(
iEvent.id().run());
26 auto event = std::make_unique<unsigned int>(
iEvent.id().event());
27 auto bx = std::make_unique<unsigned int>(
iEvent.bunchCrossing());
28 auto lumi = std::make_unique<unsigned int>(
iEvent.luminosityBlock());
33 #ifdef ExtendedCALIBTree
34 std::vector<bool> TrigTech_(64,
false);
35 std::vector<bool> TrigPh_(128,
false);
38 #ifdef ExtendedCALIBTree
43 for (
int i = 0;
i < 64; ++
i) {
44 TrigPh_[
i] = dWord[
i];
51 for (
int i = 0;
i < 64; ++
i) {
56 auto TrigTech = std::make_unique<std::vector<bool>>(TrigTech_);
57 auto TrigPh = std::make_unique<std::vector<bool>>(TrigPh_);
72 <<
"LumiScalers collection not found in the event; will write dummy values";
75 auto instLumi = std::make_unique<float>(instLumi_);
76 auto PU = std::make_unique<float>(PU_);
82 #ifdef ExtendedCALIBTree