1 #ifndef HICaloCompatibleTrackSelector_H 2 #define HICaloCompatibleTrackSelector_H 58 typedef reco::PFCandidateCollection::const_iterator
CI;
59 typedef reco::TrackCollection::const_iterator
TI;
109 std::unique_ptr<TrackingRecHitCollection>
selHits_;
112 std::unique_ptr<TrajTrackAssociationCollection>
selTTAss_;
edm::EDGetTokenT< CaloTowerCollection > srcTower_
reco::TrackCollection::const_iterator TI
void produce(edm::Event &evt, const edm::EventSetup &es)
process one event
std::unique_ptr< TrackingRecHitCollection > selHits_
virtual ~HICaloCompatibleTrackSelector()
destructor
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_
std::string minimumQuality_
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)
edm::RefProd< std::vector< Trajectory > > rTrajectories_
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
edm::EDGetTokenT< TrajTrackAssociationCollection > srcTrackTrajAssoc_