1 #ifndef HICaloCompatibleTrackSelector_H
2 #define HICaloCompatibleTrackSelector_H
49 typedef reco::PFCandidateCollection::const_iterator
CI;
50 typedef reco::TrackCollection::const_iterator
TI;
98 std::auto_ptr< TrackingRecHitCollection>
selHits_;
101 std::auto_ptr< TrajTrackAssociationCollection >
selTTAss_;
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::InputTag srcPFCands_
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_
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)
edm::InputTag srcTracks_
source collection label
std::string funcDeltaRTowerMatch_
bool copyTrajectories_
copy also trajectories and trajectory->track associations