#include <PileupVertexAccumulator.h>
|
void | accumulate (edm::Event const &e, edm::EventSetup const &c) override |
|
void | accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) override |
|
virtual void | beginJob () |
|
void | finalizeEvent (edm::Event &e, edm::EventSetup const &c) override |
|
void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) override |
|
| PileupVertexAccumulator (const edm::ParameterSet &conf, edm::ProducesCollector, edm::ConsumesCollector &iC) |
|
| ~PileupVertexAccumulator () override |
|
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) |
|
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &setup) |
|
| DigiAccumulatorMixMod () |
|
virtual void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) |
|
virtual void | endRun (edm::Run const &run, edm::EventSetup const &setup) |
|
virtual void | finalizeBunchCrossing (edm::Event &event, edm::EventSetup const &setup, int bunchCrossing) |
|
virtual PileupMixingContent * | getEventPileupInfo () |
|
virtual void | initializeBunchCrossing (edm::Event const &event, edm::EventSetup const &setup, int bunchCrossing) |
|
virtual void | StorePileupInformation (std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventList, int bunchSpace) |
|
virtual | ~DigiAccumulatorMixMod () |
|
Definition at line 41 of file PileupVertexAccumulator.h.
◆ PileupVertexAccumulator()
◆ ~PileupVertexAccumulator()
PileupVertexAccumulator::~PileupVertexAccumulator |
( |
| ) |
|
|
override |
◆ accumulate() [1/2]
◆ accumulate() [2/2]
Implements DigiAccumulatorMixMod.
Definition at line 99 of file PileupVertexAccumulator.cc.
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;
References MillePedeFileConverter_cfg::e, fallbackMtag_, dqmMemoryStats::float, edm::HepMCProduct::GetEvent(), iEvent, Mtag_, pT_Hats_, saveVtxTimes_, t_posns_, findQualityFiles::v, vbegin, vend, edm::HandleBase::whyFailed(), and z_posns_.
◆ beginJob()
virtual void cms::PileupVertexAccumulator::beginJob |
( |
void |
| ) |
|
|
inlinevirtual |
◆ finalizeEvent()
◆ initializeEvent()
◆ fallbackMtag_
◆ Mtag_
◆ pT_Hats_
std::vector<float> cms::PileupVertexAccumulator::pT_Hats_ |
|
private |
◆ saveVtxTimes_
bool cms::PileupVertexAccumulator::saveVtxTimes_ |
|
private |
◆ t_posns_
std::vector<float> cms::PileupVertexAccumulator::t_posns_ |
|
private |
◆ z_posns_
std::vector<float> cms::PileupVertexAccumulator::z_posns_ |
|
private |