72 edm::LogInfo (
"PixelDigitizer ") <<
"Enter the Pixel Digitizer";
109 const HepMC::GenEvent *myGenEvent = MCevt->GetEvent();
111 double pthat = myGenEvent->event_scale();
112 float pt_hat = float(pthat);
116 HepMC::GenEvent::vertex_const_iterator viter;
117 HepMC::GenEvent::vertex_const_iterator
vbegin = myGenEvent->vertices_begin();
118 HepMC::GenEvent::vertex_const_iterator
vend = myGenEvent->vertices_end();
125 HepMC::GenVertex*
v = *viter;
126 float zpos = v->position().z()*0.1;
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual ~PileupVertexAccumulator()
PileupVertexAccumulator(const edm::ParameterSet &conf, edm::one::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c) override
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< float > pT_Hats_
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
std::vector< float > z_posns_