test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ()
 
 MuonToTrackingParticleAssociator (std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl >)
 
void swap (MuonToTrackingParticleAssociator &iOther)
 
 ~MuonToTrackingParticleAssociator ()
 

Private Member Functions

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

Private Attributes

MuonToTrackingParticleAssociatorBaseImpl
const * 
impl_
 

Detailed Description

Definition at line 15 of file MuonToTrackingParticleAssociator.h.

Constructor & Destructor Documentation

reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( )

Definition at line 22 of file MuonToTrackingParticleAssociator.cc.

22  :
23  impl_(nullptr)
24 {
25 }
MuonToTrackingParticleAssociatorBaseImpl const * impl_
reco::MuonToTrackingParticleAssociator::~MuonToTrackingParticleAssociator ( )

Definition at line 32 of file MuonToTrackingParticleAssociator.cc.

33 {
34  delete impl_;
35 }
MuonToTrackingParticleAssociatorBaseImpl const * impl_
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl iImpl)

Definition at line 27 of file MuonToTrackingParticleAssociator.cc.

27  :
28  impl_(iImpl.release())
29 {
30 }
MuonToTrackingParticleAssociatorBaseImpl const * impl_
reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( const MuonToTrackingParticleAssociator )
private

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 25 of file MuonToTrackingParticleAssociator.h.

References reco::MuonToTrackingParticleAssociatorBaseImpl::associateMuons(), and impl_.

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

27  {
28  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
29  }
type
Definition: HCALResponse.h:21
virtual void associateMuons(MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &muons, MuonTrackType type, const edm::RefVector< TrackingParticleCollection > &tpColl) const =0
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 30 of file MuonToTrackingParticleAssociator.h.

References reco::MuonToTrackingParticleAssociatorBaseImpl::associateMuons(), impl_, and patZpeak::muons.

32  {
33  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
34  }
type
Definition: HCALResponse.h:21
virtual void associateMuons(MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &muons, MuonTrackType type, const edm::RefVector< TrackingParticleCollection > &tpColl) const =0
MuonToTrackingParticleAssociatorBaseImpl const * impl_
MuonToTrackingParticleAssociator& reco::MuonToTrackingParticleAssociator::operator= ( const MuonToTrackingParticleAssociator )
private
void reco::MuonToTrackingParticleAssociator::swap ( MuonToTrackingParticleAssociator iOther)
inline

Definition at line 36 of file MuonToTrackingParticleAssociator.h.

References impl_, and std::swap().

36  {
37  std::swap(impl_, iOther.impl_);
38  }
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
MuonToTrackingParticleAssociatorBaseImpl const * impl_

Member Data Documentation

MuonToTrackingParticleAssociatorBaseImpl const* reco::MuonToTrackingParticleAssociator::impl_
private

Definition at line 44 of file MuonToTrackingParticleAssociator.h.

Referenced by associateMuons(), and swap().