#include <TrackCollectionCloner.h>
Public Member Functions | |
void | operator() (Tokens const &tokens, std::vector< unsigned int > const &selected) |
process one event More... | |
Producer (edm::Event &ievt, TrackCollectionCloner const &cloner) | |
~Producer () | |
Public Attributes | |
bool | copyExtras_ |
copy only the tracks, not extras and rechits (for AOD) More... | |
bool | copyTrajectories_ |
copy also trajectories and trajectory->track associations More... | |
edm::Event & | evt |
the event More... | |
std::unique_ptr< TrackingRecHitCollection > | selHits_ |
std::unique_ptr< reco::TrackExtraCollection > | selTrackExtras_ |
std::unique_ptr< reco::TrackCollection > | selTracks_ |
std::unique_ptr< std::vector< Trajectory > > | selTrajs_ |
std::unique_ptr< TrajTrackAssociationCollection > | selTTAss_ |
Definition at line 52 of file TrackCollectionCloner.h.
TrackCollectionCloner::Producer::Producer | ( | edm::Event & | ievt, |
TrackCollectionCloner const & | cloner | ||
) |
Definition at line 8 of file TrackCollectionCloner.cc.
References copyExtras_, copyTrajectories_, evt, edm::Event::getRefBeforePut(), selHits_, selTrackExtras_, selTracks_, selTrajs_, and selTTAss_.
TrackCollectionCloner::Producer::~Producer | ( | ) |
Definition at line 84 of file TrackCollectionCloner.cc.
References copyExtras_, copyTrajectories_, evt, eostools::move(), edm::Event::put(), selHits_, selTrackExtras_, selTracks_, selTrajs_, and selTTAss_.
void TrackCollectionCloner::Producer::operator() | ( | Tokens const & | tokens, |
std::vector< unsigned int > const & | selected | ||
) |
process one event
Definition at line 23 of file TrackCollectionCloner.cc.
References copyExtras_, copyTrajectories_, evt, edm::Event::getRefBeforePut(), dqmdumpme::k, selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, TrackCollectionTokens::tracks(), and TrackCollectionTokens::trajectories().
bool TrackCollectionCloner::Producer::copyExtras_ |
copy only the tracks, not extras and rechits (for AOD)
Definition at line 60 of file TrackCollectionCloner.h.
Referenced by operator()(), Producer(), and ~Producer().
bool TrackCollectionCloner::Producer::copyTrajectories_ |
copy also trajectories and trajectory->track associations
Definition at line 62 of file TrackCollectionCloner.h.
Referenced by operator()(), Producer(), and ~Producer().
edm::Event& TrackCollectionCloner::Producer::evt |
the event
Definition at line 65 of file TrackCollectionCloner.h.
Referenced by operator()(), Producer(), and ~Producer().
std::unique_ptr<TrackingRecHitCollection> TrackCollectionCloner::Producer::selHits_ |
Definition at line 69 of file TrackCollectionCloner.h.
Referenced by operator()(), Producer(), and ~Producer().
std::unique_ptr<reco::TrackExtraCollection> TrackCollectionCloner::Producer::selTrackExtras_ |
Definition at line 68 of file TrackCollectionCloner.h.
Referenced by operator()(), Producer(), and ~Producer().
std::unique_ptr<reco::TrackCollection> TrackCollectionCloner::Producer::selTracks_ |
Definition at line 67 of file TrackCollectionCloner.h.
Referenced by operator()(), HLTMuonTrackSelector::produce(), Producer(), and ~Producer().
std::unique_ptr<std::vector<Trajectory> > TrackCollectionCloner::Producer::selTrajs_ |
Definition at line 70 of file TrackCollectionCloner.h.
Referenced by operator()(), Producer(), and ~Producer().
std::unique_ptr<TrajTrackAssociationCollection> TrackCollectionCloner::Producer::selTTAss_ |
Definition at line 71 of file TrackCollectionCloner.h.
Referenced by operator()(), Producer(), and ~Producer().