1 #ifndef MuonToSimAssociatorBase_h 2 #define MuonToSimAssociatorBase_h 25 return (r1.
id() == r2.
id() ? r1.
key() < r2.
key() : r1.
id() < r2.
id());
28 typedef std::map<edm::RefToBase<reco::Muon>, std::vector<std::pair<TrackingParticleRef, double>>,
RefToBaseSort>
30 typedef std::map<TrackingParticleRef, std::vector<std::pair<edm::RefToBase<reco::Muon>,
double>>>
SimToMuonCollection;
33 SimToMuonCollection &simToReco,
41 SimToMuonCollection &simToReco,
std::map< edm::RefToBase< reco::Muon >, std::vector< std::pair< TrackingParticleRef, double > >, RefToBaseSort > MuonToSimCollection
def setup(process, global_tag, zero_tesla=False)
MuonToSimAssociatorBase()
virtual void associateMuons(MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &, MuonTrackType, const edm::RefVector< TrackingParticleCollection > &, const edm::Event *event=0, const edm::EventSetup *setup=0) const =0
bool operator()(const edm::RefToBase< T > &r1, const edm::RefToBase< T > &r2) const
virtual ~MuonToSimAssociatorBase()
std::map< TrackingParticleRef, std::vector< std::pair< edm::RefToBase< reco::Muon >, double > > > SimToMuonCollection