14 ecalTBInfo_ = consumes<PEcalTBInfo>(
edm::InputTag(
"EcalTBInfoLabel",
"SimEcalTBG4Object"));
15 produces<EcalTBEventHeader>();
27 event.getByToken(ecalTBInfo_, EcalTBInfo);
29 theEcalTBInfo = EcalTBInfo.
product();
31 edm::LogError(
"FakeTBEventHeaderProducer") <<
"Error! can't get the product PEcalTBInfo";
40 product->setEventNumber(
evtid);
41 product->setRunNumber(
event.id().run());
42 product->setBurstNumber(1);
43 product->setTriggerMask(0
x1);