1 #ifndef HICaloCompatibleTrackSelector_H
2 #define HICaloCompatibleTrackSelector_H
57 typedef reco::PFCandidateCollection::const_iterator
CI;
58 typedef reco::TrackCollection::const_iterator
TI;
117 std::unique_ptr<TrackingRecHitCollection>
selHits_;
120 std::unique_ptr<TrajTrackAssociationCollection>
selTTAss_;
edm::EDGetTokenT< CaloTowerCollection > srcTower_
reco::TrackCollection::const_iterator TI
std::unique_ptr< TrackingRecHitCollection > selHits_
std::string qualityToSet_
std::string qualityToMatch_
edm::EDGetTokenT< reco::TrackCollection > srcTracks_
source collection label
edm::EDGetTokenT< std::vector< Trajectory > > srcTrackTrajs_
std::string qualityToSkip_
TrackingRecHitRefProd rHits_
reco::PFCandidateCollection::const_iterator CI
std::unique_ptr< std::vector< const Trajectory * > > selTrajPtrs_
std::unique_ptr< std::vector< Trajectory > > selTrajs_
edm::RefProd< std::vector< Trajectory > > rTrajectories_
std::string minimumQuality_
void produce(edm::Event &evt, const edm::EventSetup &es) override
process one event
bool selectByTowers(TI ti, const edm::Handle< TrackCollection > hSrcTrack, const edm::Handle< CaloTowerCollection > towers, bool isTowerThere)
reco::TrackRefProd rTracks_
bool copyExtras_
copy only the tracks, not extras and rechits (for AOD)
std::vector< reco::TrackRef > trackRefs_
edm::EDGetTokenT< reco::PFCandidateCollection > srcPFCands_
std::unique_ptr< TrajTrackAssociationCollection > selTTAss_
double matchPFCandToTrack(const edm::Handle< PFCandidateCollection > &pfCandidates, unsigned it, double trkPt)
XYZPointD XYZPoint
point in space with cartesian internal representation
std::string funcCaloComp_
HICaloCompatibleTrackSelector(const edm::ParameterSet &cfg)
constructor
reco::TrackExtraRefProd rTrackExtras_
std::unique_ptr< reco::TrackExtraCollection > selTrackExtras_
std::unique_ptr< reco::TrackCollection > selTracks_
storage
bool selectByPFCands(TI ti, const edm::Handle< TrackCollection > hSrcTrack, const edm::Handle< PFCandidateCollection > pfCandidates, bool isPFThere)
void matchByDrAllowReuse(const reco::Track &trk, const edm::Handle< CaloTowerCollection > &towers, double &bestdr, double &bestpt)
std::string funcDeltaRTowerMatch_
bool copyTrajectories_
copy also trajectories and trajectory->track associations
~HICaloCompatibleTrackSelector() override
destructor
edm::EDGetTokenT< TrajTrackAssociationCollection > srcTrackTrajAssoc_