CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
hgcal::LayerClusterToSimTracksterAssociator Class Reference

#include <LayerClusterToSimTracksterAssociator.h>

Public Member Functions

hgcal::RecoToSimTracksterCollection associateRecoToSim (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &stCH, const edm::Handle< CaloParticleCollection > &cPCH, const hgcal::RecoToSimCollection &lCToCPs, const edm::Handle< SimClusterCollection > &sCCH, const hgcal::RecoToSimCollectionWithSimClusters &lCToSCs) const
 Associate a LayerCluster to SimTracksters. More...
 
hgcal::SimTracksterToRecoCollection associateSimToReco (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &sTCH, const edm::Handle< CaloParticleCollection > &cPCH, const hgcal::SimToRecoCollection &cpToLCs, const edm::Handle< SimClusterCollection > &sCCH, const hgcal::SimToRecoCollectionWithSimClusters &sCToLCs) const
 Associate a SimTrackster to LayerClusters. More...
 
 LayerClusterToSimTracksterAssociator ()=default
 
 LayerClusterToSimTracksterAssociator (LayerClusterToSimTracksterAssociator &&)=default
 
 LayerClusterToSimTracksterAssociator (std::unique_ptr< hgcal::LayerClusterToSimTracksterAssociatorBaseImpl >)
 
LayerClusterToSimTracksterAssociatoroperator= (LayerClusterToSimTracksterAssociator &&)=default
 
 ~LayerClusterToSimTracksterAssociator ()=default
 

Private Member Functions

 LayerClusterToSimTracksterAssociator (const LayerClusterToSimTracksterAssociator &)=delete
 
const LayerClusterToSimTracksterAssociatoroperator= (const LayerClusterToSimTracksterAssociator &)=delete
 

Private Attributes

std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 16 of file LayerClusterToSimTracksterAssociator.h.

Constructor & Destructor Documentation

◆ LayerClusterToSimTracksterAssociator() [1/4]

hgcal::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( std::unique_ptr< hgcal::LayerClusterToSimTracksterAssociatorBaseImpl ptr)

Definition at line 5 of file LayerClusterToSimTracksterAssociator.cc.

7  : m_impl(std::move(ptr)) {}

◆ LayerClusterToSimTracksterAssociator() [2/4]

hgcal::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( )
default

◆ LayerClusterToSimTracksterAssociator() [3/4]

hgcal::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( LayerClusterToSimTracksterAssociator &&  )
default

◆ ~LayerClusterToSimTracksterAssociator()

hgcal::LayerClusterToSimTracksterAssociator::~LayerClusterToSimTracksterAssociator ( )
default

◆ LayerClusterToSimTracksterAssociator() [4/4]

hgcal::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( const LayerClusterToSimTracksterAssociator )
privatedelete

Member Function Documentation

◆ associateRecoToSim()

hgcal::RecoToSimTracksterCollection hgcal::LayerClusterToSimTracksterAssociator::associateRecoToSim ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< ticl::TracksterCollection > &  stCH,
const edm::Handle< CaloParticleCollection > &  cPCH,
const hgcal::RecoToSimCollection lCToCPs,
const edm::Handle< SimClusterCollection > &  sCCH,
const hgcal::RecoToSimCollectionWithSimClusters lCToSCs 
) const
inline

Associate a LayerCluster to SimTracksters.

Definition at line 26 of file LayerClusterToSimTracksterAssociator.h.

32  {
33  return m_impl->associateRecoToSim(cCCH, stCH, cPCH, lCToCPs, sCCH, lCToSCs);
34  };

References m_impl.

Referenced by LCToSimTSAssociatorEDProducer::produce().

◆ associateSimToReco()

hgcal::SimTracksterToRecoCollection hgcal::LayerClusterToSimTracksterAssociator::associateSimToReco ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< ticl::TracksterCollection > &  sTCH,
const edm::Handle< CaloParticleCollection > &  cPCH,
const hgcal::SimToRecoCollection cpToLCs,
const edm::Handle< SimClusterCollection > &  sCCH,
const hgcal::SimToRecoCollectionWithSimClusters sCToLCs 
) const
inline

Associate a SimTrackster to LayerClusters.

Definition at line 37 of file LayerClusterToSimTracksterAssociator.h.

43  {
44  return m_impl->associateSimToReco(cCCH, sTCH, cPCH, cpToLCs, sCCH, sCToLCs);
45  }

References m_impl.

Referenced by LCToSimTSAssociatorEDProducer::produce().

◆ operator=() [1/2]

const LayerClusterToSimTracksterAssociator& hgcal::LayerClusterToSimTracksterAssociator::operator= ( const LayerClusterToSimTracksterAssociator )
privatedelete

◆ operator=() [2/2]

LayerClusterToSimTracksterAssociator& hgcal::LayerClusterToSimTracksterAssociator::operator= ( LayerClusterToSimTracksterAssociator &&  )
default

Member Data Documentation

◆ m_impl

std::unique_ptr<LayerClusterToSimTracksterAssociatorBaseImpl> hgcal::LayerClusterToSimTracksterAssociator::m_impl
private
hgcal::LayerClusterToSimTracksterAssociator::m_impl
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl
Definition: LayerClusterToSimTracksterAssociator.h:54
eostools.move
def move(src, dest)
Definition: eostools.py:511