14 ecalTBInfo_ = consumes<PEcalTBInfo>(
edm::InputTag(
"EcalTBInfoLabel",
"SimEcalTBG4Object"));
15 produces<EcalTBEventHeader>();
30 event.getByToken(ecalTBInfo_,EcalTBInfo);
32 theEcalTBInfo = EcalTBInfo.
product();
34 edm::LogError(
"FakeTBEventHeaderProducer") <<
"Error! can't get the product PEcalTBInfo";
42 product->setEventNumber(evtid);
43 product->setRunNumber(event.
id().
run());
44 product->setBurstNumber(1);
45 product->setTriggerMask(0
x1);
EventNumber_t event() const
Namespace of DDCMS conversion namespace.
T const * product() const
static const int SMCRYSTALMODE