1 #ifndef MuonAssociatorByHitsHelper_h
2 #define MuonAssociatorByHitsHelper_h
60 std::function<void(const TrackHitsCollection &, const TrackingParticleCollection &)>
diagnostics_;
89 int &n_tracker_matched_valid,
90 int &n_dt_matched_valid,
91 int &n_csc_matched_valid,
92 int &n_rpc_matched_valid,
93 int &n_gem_matched_valid,
94 int &n_tracker_INVALID,
99 int &n_tracker_matched_INVALID,
100 int &n_dt_matched_INVALID,
101 int &n_csc_matched_INVALID,
102 int &n_rpc_matched_INVALID,
103 int &n_gem_matched_INVALID,
unsigned int NHitCut_muon
std::function< void(const TrackHitsCollection &, const TrackingParticleCollection &)> diagnostics_
const bool ThreeHitTracksAreSpecial
std::string write_matched_simtracks(const std::vector< SimHitIdpr > &) const
std::map< size_t, std::vector< IndexMatch > > IndexAssociation
int getShared(MapOfMatchedIds &matchedIds, TrackingParticleCollection::const_iterator trpart) const
RPCHitAssociator const * rpcHitAssoc_
TrackerHitAssociator const * trackerHitAssoc_
GEMHitAssociator const * gemHitAssoc_
bool operator<(const IndexMatch &other) const
std::pair< unsigned int, std::vector< SimHitIdpr > > uint_SimHitIdpr_pair
IndexAssociation associateSimToRecoIndices(const TrackHitsCollection &, const edm::RefVector< TrackingParticleCollection > &, Resources const &) const
int LayerFromDetid(const DetId &) const
double EfficiencyCut_track
const bool AbsoluteNumberOfHits_muon
IndexMatch(size_t index, double global_quality)
std::vector< std::unique_ptr< uint_SimHitIdpr_pair > > MapOfMatchedIds
std::vector< std::pair< trackingRecHit_iterator, trackingRecHit_iterator > > TrackHitsCollection
MuonAssociatorByHitsHelper(const edm::ParameterSet &conf)
const bool rejectBadGlobal
CSCHitAssociator const * cscHitAssoc_
unsigned int NHitCut_track
const TrackingRecHit * getHitPtr(const trackingRecHit_iterator &iter) const
const bool AbsoluteNumberOfHits_track
DTHitAssociator const * dtHitAssoc_
const bool acceptOneStubMatchings
TrackerTopology const * tTopo_
IndexAssociation associateRecoToSimIndices(const TrackHitsCollection &, const edm::RefVector< TrackingParticleCollection > &, Resources const &) const
std::pair< uint32_t, EncodedEventId > SimHitIdpr
const TrackingRecHit * getHitPtr(edm::OwnVector< TrackingRecHit >::const_iterator iter) const
std::vector< TrackingParticle > TrackingParticleCollection
double EfficiencyCut_muon
Resources(TrackerTopology const *tTopo, TrackerHitAssociator const *trackerHitAssoc, CSCHitAssociator const *cscHitAssoc, DTHitAssociator const *dtHitAssoc, RPCHitAssociator const *rpcHitAssoc, GEMHitAssociator const *gemHitAssoc, std::function< void(const TrackHitsCollection &, const TrackingParticleCollection &)> diagnostics)
const bool includeZeroHitMuons
void getMatchedIds(MapOfMatchedIds &tracker_matchedIds_valid, MapOfMatchedIds &muon_matchedIds_valid, MapOfMatchedIds &tracker_matchedIds_INVALID, MapOfMatchedIds &muon_matchedIds_INVALID, int &n_tracker_valid, int &n_dt_valid, int &n_csc_valid, int &n_rpc_valid, int &n_gem_valid, int &n_tracker_matched_valid, int &n_dt_matched_valid, int &n_csc_matched_valid, int &n_rpc_matched_valid, int &n_gem_matched_valid, int &n_tracker_INVALID, int &n_dt_INVALID, int &n_csc_INVALID, int &n_rpc_INVALID, int &n_gem_INVALID, int &n_tracker_matched_INVALID, int &n_dt_matched_INVALID, int &n_csc_matched_INVALID, int &n_rpc_matched_INVALID, int &n_gem_matched_INVALID, trackingRecHit_iterator begin, trackingRecHit_iterator end, const TrackerHitAssociator *trackertruth, const DTHitAssociator &dttruth, const CSCHitAssociator &csctruth, const RPCHitAssociator &rpctruth, const GEMHitAssociator &gemtruth, bool printRts, const TrackerTopology *) const