CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
reco::MuonToTrackingParticleAssociator Class Reference

#include <MuonToTrackingParticleAssociator.h>

Public Member Functions

void associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &muons, MuonTrackType type, const edm::RefVector< TrackingParticleCollection > &tpColl) const
 
void associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::Handle< edm::View< reco::Muon > > &muons, MuonTrackType type, const edm::Handle< TrackingParticleCollection > &tpColl) const
 
 MuonToTrackingParticleAssociator ()=default
 
 MuonToTrackingParticleAssociator (std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl >)
 
 MuonToTrackingParticleAssociator (MuonToTrackingParticleAssociator &&)=default
 
MuonToTrackingParticleAssociatoroperator= (MuonToTrackingParticleAssociator &&)=default
 
 ~MuonToTrackingParticleAssociator ()=default
 

Private Member Functions

 MuonToTrackingParticleAssociator (const MuonToTrackingParticleAssociator &)=delete
 
MuonToTrackingParticleAssociatoroperator= (const MuonToTrackingParticleAssociator &)=delete
 

Private Attributes

std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
 

Detailed Description

Definition at line 15 of file MuonToTrackingParticleAssociator.h.

Constructor & Destructor Documentation

reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( )
default

Referenced by associateMuons().

reco::MuonToTrackingParticleAssociator::~MuonToTrackingParticleAssociator ( )
default
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl iImpl)

Definition at line 22 of file MuonToTrackingParticleAssociator.cc.

22  :
23  impl_(std::move(iImpl))
24 {
25 }
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
def move(src, dest)
Definition: eostools.py:510
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( MuonToTrackingParticleAssociator &&  )
default
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( const MuonToTrackingParticleAssociator )
privatedelete

Member Function Documentation

void reco::MuonToTrackingParticleAssociator::associateMuons ( MuonToSimCollection recoToSim,
SimToMuonCollection simToReco,
const edm::RefToBaseVector< reco::Muon > &  muons,
MuonTrackType  type,
const edm::RefVector< TrackingParticleCollection > &  tpColl 
) const
inline

Definition at line 27 of file MuonToTrackingParticleAssociator.h.

References impl_.

Referenced by RecoMuonValidator::analyze(), MuonSimClassifier::produce(), and MuonMCClassifier::produce().

29  {
30  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
31  }
type
Definition: HCALResponse.h:21
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
void reco::MuonToTrackingParticleAssociator::associateMuons ( MuonToSimCollection recoToSim,
SimToMuonCollection simToReco,
const edm::Handle< edm::View< reco::Muon > > &  muons,
MuonTrackType  type,
const edm::Handle< TrackingParticleCollection > &  tpColl 
) const
inline

Definition at line 32 of file MuonToTrackingParticleAssociator.h.

References impl_, extraflags_cff::muons, MuonToTrackingParticleAssociator(), and operator=().

34  {
35  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
36  }
type
Definition: HCALResponse.h:21
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
MuonToTrackingParticleAssociator& reco::MuonToTrackingParticleAssociator::operator= ( MuonToTrackingParticleAssociator &&  )
default

Referenced by associateMuons().

MuonToTrackingParticleAssociator& reco::MuonToTrackingParticleAssociator::operator= ( const MuonToTrackingParticleAssociator )
privatedelete

Member Data Documentation

std::unique_ptr<MuonToTrackingParticleAssociatorBaseImpl const> reco::MuonToTrackingParticleAssociator::impl_
private

Definition at line 42 of file MuonToTrackingParticleAssociator.h.

Referenced by associateMuons().