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_
bool copyExtras_
copy only the tracks, not extras and rechits (for AOD)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
std::vector< Track > TrackCollection
collection of Tracks
static void fill(edm::ParameterSetDescription &desc)
std::unique_ptr< reco::TrackExtraCollection > selTrackExtras_
std::unique_ptr< reco::TrackCollection > selTracks_
std::unique_ptr< TrackingRecHitCollection > selHits_
bool copyTrajectories_
copy also trajectories and trajectory->track associations
edm::Event & evt
the event
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
T getParameter(std::string const &) const
bool copyExtras_
copy only the tracks, not extras and rechits (for AOD)
std::unique_ptr< TrajTrackAssociationCollection > selTTAss_
Producer(edm::Event &ievt, TrackCollectionCloner const &cloner)
TrackCollectionCloner(edm::ProducesCollector producesCollector, const edm::ParameterSet &cfg, bool copyDefault)
bool copyTrajectories_
copy also trajectories and trajectory->track associations
void operator()(Tokens const &tokens, std::vector< unsigned int > const &selected)
process one event