CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public 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
 
 MuonToTrackingParticleAssociator (const MuonToTrackingParticleAssociator &)=delete
 
MuonToTrackingParticleAssociatoroperator= (MuonToTrackingParticleAssociator &&)=default
 
MuonToTrackingParticleAssociatoroperator= (const MuonToTrackingParticleAssociator &)=delete
 
 ~MuonToTrackingParticleAssociator ()=default
 

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
reco::MuonToTrackingParticleAssociator::~MuonToTrackingParticleAssociator ( )
default
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl iImpl)

Definition at line 21 of file MuonToTrackingParticleAssociator.cc.

23  : impl_(std::move(iImpl)) {}
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
def move
Definition: eostools.py:511
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( MuonToTrackingParticleAssociator &&  )
default
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( const MuonToTrackingParticleAssociator )
delete

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(), MuonMCClassifier::produce(), and MuonSimClassifier::produce().

31  {
32  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
33  }
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 34 of file MuonToTrackingParticleAssociator.h.

References impl_, and patZpeak::muons.

38  {
39  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
40  }
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
MuonToTrackingParticleAssociator& reco::MuonToTrackingParticleAssociator::operator= ( MuonToTrackingParticleAssociator &&  )
default
MuonToTrackingParticleAssociator& reco::MuonToTrackingParticleAssociator::operator= ( const MuonToTrackingParticleAssociator )
delete

Member Data Documentation

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

Definition at line 43 of file MuonToTrackingParticleAssociator.h.

Referenced by associateMuons().