68 : Mtag_(iConfig.getParameter<
edm::InputTag>(
"vtxTag")),
69 fallbackMtag_(iConfig.getParameter<
edm::InputTag>(
"vtxFallbackTag")),
70 saveVtxTimes_(iConfig.getParameter<
bool>(
"saveVtxTimes")) {
71 edm::LogInfo(
"PixelDigitizer ") <<
"Enter the Pixel Digitizer";
110 double pthat = myGenEvent->event_scale();
111 float pt_hat =
float(pthat);
115 HepMC::GenEvent::vertex_const_iterator viter;
116 HepMC::GenEvent::vertex_const_iterator
vbegin = myGenEvent->vertices_begin();
117 HepMC::GenEvent::vertex_const_iterator
vend = myGenEvent->vertices_end();
124 HepMC::GenVertex*
v = *viter;
125 float zpos = v->position().z() * 0.1;
130 float tpos = v->position().t() / 299792458
e-6;
BranchAliasSetterT< ProductType > produces()
declare what type of product will make and with which optional label
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
PileupVertexAccumulator(const edm::ParameterSet &conf, edm::ProducerBase &mixMod, edm::ConsumesCollector &iC)
std::vector< float > pT_Hats_
Namespace of DDCMS conversion namespace.
const HepMC::GenEvent * GetEvent() const
~PileupVertexAccumulator() override
std::vector< float > t_posns_
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
std::shared_ptr< cms::Exception > whyFailed() const
edm::InputTag fallbackMtag_
std::vector< float > z_posns_