Go to the documentation of this file.
67 : Mtag_(iConfig.getParameter<
edm::
InputTag>(
"vtxTag")),
68 fallbackMtag_(iConfig.getParameter<
edm::
InputTag>(
"vtxFallbackTag")),
69 saveVtxTimes_(iConfig.getParameter<
bool>(
"saveVtxTimes")) {
70 edm::LogInfo(
"PixelDigitizer ") <<
"Enter the Pixel Digitizer";
109 double pthat = myGenEvent->event_scale();
110 float pt_hat =
float(pthat);
114 HepMC::GenEvent::vertex_const_iterator viter;
115 HepMC::GenEvent::vertex_const_iterator vbegin = myGenEvent->vertices_begin();
116 HepMC::GenEvent::vertex_const_iterator vend = myGenEvent->vertices_end();
123 HepMC::GenVertex*
v = *viter;
124 float zpos =
v->position().z() * 0.1;
129 float tpos =
v->position().t() / 299792458
e-6;
Log< level::Info, false > LogInfo
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.