Go to the documentation of this file.
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;
edm::InputTag fallbackMtag_
std::vector< float > pT_Hats_
std::vector< float > t_posns_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::shared_ptr< cms::Exception > whyFailed() const
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
const HepMC::GenEvent * GetEvent() const
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
PileupVertexAccumulator(const edm::ParameterSet &conf, edm::ProducesCollector, edm::ConsumesCollector &iC)
~PileupVertexAccumulator() override
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
std::vector< float > z_posns_
Namespace of DDCMS conversion namespace.