Public Member Functions | |
void | addPileups (PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override |
void | addSignals (edm::Event const &iEvent, edm::EventSetup const &iSetup) override |
void | initializeEvent (edm::Event const &iEvent, edm::EventSetup const &iSetup) override |
PreMixingTrackingParticleWorker (const edm::ParameterSet &ps, edm::ProducerBase &producer, edm::ConsumesCollector &&iC) | |
void | put (edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing) override |
~PreMixingTrackingParticleWorker () override=default | |
Public Member Functions inherited from PreMixingWorker | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &iLumi, edm::EventSetup const &iSetup) |
virtual void | beginRun (edm::Run const &iRun, edm::EventSetup const &iSetup) |
virtual void | endRun () |
virtual void | finalizeBunchCrossing (edm::Event &iEvent, edm::EventSetup const &iSetup, int bunchCrossing) |
virtual void | initializeBunchCrossing (edm::Event const &iEvent, edm::EventSetup const &iSetup, int bunchCrossing) |
PreMixingWorker ()=default | |
virtual | ~PreMixingWorker ()=default |
Private Member Functions | |
void | add (const std::vector< TrackingParticle > &particles, const std::vector< TrackingVertex > &vertices) |
Private Attributes | |
std::unique_ptr< std::vector< TrackingParticle > > | NewTrackList_ |
std::unique_ptr< std::vector< TrackingVertex > > | NewVertexList_ |
std::string | TrackingParticleCollectionDM_ |
edm::InputTag | TrackingParticlePileInputTag_ |
TrackingParticleRefProd | TrackListRef_ |
edm::EDGetTokenT< std::vector< TrackingParticle > > | TrackSigToken_ |
TrackingVertexRefProd | VertexListRef_ |
edm::EDGetTokenT< std::vector< TrackingVertex > > | VtxSigToken_ |
Definition at line 15 of file PreMixingTrackingParticleWorker.cc.
PreMixingTrackingParticleWorker::PreMixingTrackingParticleWorker | ( | const edm::ParameterSet & | ps, |
edm::ProducerBase & | producer, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 47 of file PreMixingTrackingParticleWorker.cc.
References edm::ProductRegistryHelper::produces(), and TrackingParticleCollectionDM_.
|
overridedefault |
|
private |
Definition at line 98 of file PreMixingTrackingParticleWorker.cc.
References NewTrackList_, NewVertexList_, HiIsolationCommonParameters_cff::track, TrackListRef_, VertexListRef_, and extraflags_cff::vtx.
Referenced by addPileups(), addSignals(), and counter.Counter::register().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 83 of file PreMixingTrackingParticleWorker.cc.
References add(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), edm::EventPrincipal::id(), edm::HandleBase::isValid(), LogDebug, PileUpEventPrincipal::principal(), and TrackingParticlePileInputTag_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 71 of file PreMixingTrackingParticleWorker.cc.
References add(), edm::Event::getByToken(), edm::HandleBase::isValid(), l1t::tracks, TrackSigToken_, and VtxSigToken_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 58 of file PreMixingTrackingParticleWorker.cc.
References iEvent, NewTrackList_, NewVertexList_, TrackingParticleCollectionDM_, TrackListRef_, and VertexListRef_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 162 of file PreMixingTrackingParticleWorker.cc.
References DEFINE_PREMIXING_WORKER, eostools::move(), NewTrackList_, NewVertexList_, edm::Event::put(), and TrackingParticleCollectionDM_.
|
private |
Definition at line 41 of file PreMixingTrackingParticleWorker.cc.
Referenced by add(), initializeEvent(), and put().
|
private |
Definition at line 42 of file PreMixingTrackingParticleWorker.cc.
Referenced by add(), initializeEvent(), and put().
|
private |
Definition at line 38 of file PreMixingTrackingParticleWorker.cc.
Referenced by initializeEvent(), PreMixingTrackingParticleWorker(), and put().
|
private |
Definition at line 36 of file PreMixingTrackingParticleWorker.cc.
Referenced by addPileups().
|
private |
Definition at line 43 of file PreMixingTrackingParticleWorker.cc.
Referenced by add(), and initializeEvent().
|
private |
Definition at line 33 of file PreMixingTrackingParticleWorker.cc.
Referenced by addSignals().
|
private |
Definition at line 44 of file PreMixingTrackingParticleWorker.cc.
Referenced by add(), and initializeEvent().
|
private |
Definition at line 34 of file PreMixingTrackingParticleWorker.cc.
Referenced by addSignals().