1 #ifndef HICaloCompatibleTrackSelector_H
2 #define HICaloCompatibleTrackSelector_H
58 typedef reco::PFCandidateCollection::const_iterator
CI;
59 typedef reco::TrackCollection::const_iterator
TI;
112 std::auto_ptr< TrajTrackAssociationCollection >
selTTAss_;
edm::EDGetTokenT< CaloTowerCollection > srcTower_
reco::TrackCollection::const_iterator TI
std::auto_ptr< TrackingRecHitCollection > selHits_
void produce(edm::Event &evt, const edm::EventSetup &es)
process one event
virtual ~HICaloCompatibleTrackSelector()
destructor
std::string qualityToSet_
std::string qualityToMatch_
std::auto_ptr< reco::TrackExtraCollection > selTrackExtras_
edm::EDGetTokenT< reco::TrackCollection > srcTracks_
source collection label
edm::EDGetTokenT< std::vector< Trajectory > > srcTrackTrajs_
std::string qualityToSkip_
std::vector< PFCandidatePtr > pfCandidates(const PFJet &jet, int particleId, bool sort=true)
TrackingRecHitRefProd rHits_
reco::PFCandidateCollection::const_iterator CI
std::auto_ptr< std::vector< Trajectory > > selTrajs_
std::auto_ptr< std::vector< const Trajectory * > > selTrajPtrs_
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_
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::auto_ptr< reco::TrackCollection > selTracks_
storage
std::auto_ptr< TrajTrackAssociationCollection > selTTAss_
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_