CMS 3D CMS Logo

List of all members | Public 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 (std::unique_ptr< hgcal::LayerClusterToSimTracksterAssociatorBaseImpl >)
 
 LayerClusterToSimTracksterAssociator ()=default
 
 LayerClusterToSimTracksterAssociator (LayerClusterToSimTracksterAssociator &&)=default
 
 LayerClusterToSimTracksterAssociator (const LayerClusterToSimTracksterAssociator &)=delete
 
LayerClusterToSimTracksterAssociatoroperator= (LayerClusterToSimTracksterAssociator &&)=default
 
const LayerClusterToSimTracksterAssociatoroperator= (const LayerClusterToSimTracksterAssociator &)=delete
 
 ~LayerClusterToSimTracksterAssociator ()=default
 

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)) {}
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511

◆ LayerClusterToSimTracksterAssociator() [2/4]

hgcal::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( )
default

◆ LayerClusterToSimTracksterAssociator() [3/4]

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

◆ LayerClusterToSimTracksterAssociator() [4/4]

hgcal::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( const LayerClusterToSimTracksterAssociator )
delete

◆ ~LayerClusterToSimTracksterAssociator()

hgcal::LayerClusterToSimTracksterAssociator::~LayerClusterToSimTracksterAssociator ( )
default

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 30 of file LayerClusterToSimTracksterAssociator.h.

References m_impl.

Referenced by LCToSimTSAssociatorEDProducer::produce().

36  {
37  return m_impl->associateRecoToSim(cCCH, stCH, cPCH, lCToCPs, sCCH, lCToSCs);
38  };
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl

◆ 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 41 of file LayerClusterToSimTracksterAssociator.h.

References m_impl.

Referenced by LCToSimTSAssociatorEDProducer::produce().

47  {
48  return m_impl->associateSimToReco(cCCH, sTCH, cPCH, cpToLCs, sCCH, sCToLCs);
49  }
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

std::unique_ptr<LayerClusterToSimTracksterAssociatorBaseImpl> hgcal::LayerClusterToSimTracksterAssociator::m_impl
private