Go to the documentation of this file. 1 #ifndef RecoTracker_FinalTrackSelectors_TrackCollectionCloner_H
2 #define RecoTracker_FinalTrackSelectors_TrackCollectionCloner_H
44 producesCollector.
produces<std::vector<Trajectory> >().setBranchAlias(
alias +
"Trajectories");
46 "TrajectoryTrackAssociations");
57 void operator()(
Tokens const& tokens, std::vector<unsigned int>
const& selected);
69 std::unique_ptr<TrackingRecHitCollection>
selHits_;
70 std::unique_ptr<std::vector<Trajectory> >
selTrajs_;
71 std::unique_ptr<TrajTrackAssociationCollection>
selTTAss_;
std::unique_ptr< std::vector< Trajectory > > selTrajs_
std::unique_ptr< reco::TrackExtraCollection > selTrackExtras_
std::unique_ptr< reco::TrackCollection > selTracks_
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
bool copyExtras_
copy only the tracks, not extras and rechits (for AOD)
static void fill(edm::ParameterSetDescription &desc)
std::unique_ptr< TrackingRecHitCollection > selHits_
edm::Event & evt
the event
bool copyTrajectories_
copy also trajectories and trajectory->track associations
bool copyExtras_
copy only the tracks, not extras and rechits (for AOD)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
def template(fileName, svg, replaceme="REPLACEME")
bool copyTrajectories_
copy also trajectories and trajectory->track associations
void operator()(Tokens const &tokens, std::vector< unsigned int > const &selected)
process one event
std::unique_ptr< TrajTrackAssociationCollection > selTTAss_
Producer(edm::Event &ievt, TrackCollectionCloner const &cloner)
std::vector< Track > TrackCollection
collection of Tracks
TrackCollectionCloner(edm::ProducesCollector producesCollector, const edm::ParameterSet &cfg, bool copyDefault)