CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
converter::TrackToRefCandidate Struct Reference

#include <TrackToRefCandidate.h>

Inheritance diagram for converter::TrackToRefCandidate:
converter::MassiveCandidateConverter

Public Types

typedef reco::RecoChargedRefCandidate Candidate
 
typedef reco::TrackCollection Components
 
typedef reco::Track value_type
 

Public Member Functions

void convert (reco::TrackRef trkRef, reco::RecoChargedRefCandidate &c) const
 
 TrackToRefCandidate (const edm::ParameterSet &cfg, edm::ConsumesCollector iC)
 
- Public Member Functions inherited from converter::MassiveCandidateConverter
void beginFirstRun (const edm::EventSetup &)
 
 MassiveCandidateConverter (const edm::ParameterSet &, edm::ConsumesCollector)
 

Additional Inherited Members

- Protected Attributes inherited from converter::MassiveCandidateConverter
double massSqr_
 
PdtEntry particle_
 

Detailed Description

Definition at line 12 of file TrackToRefCandidate.h.

Member Typedef Documentation

◆ Candidate

Definition at line 15 of file TrackToRefCandidate.h.

◆ Components

Definition at line 14 of file TrackToRefCandidate.h.

◆ value_type

Definition at line 13 of file TrackToRefCandidate.h.

Constructor & Destructor Documentation

◆ TrackToRefCandidate()

converter::TrackToRefCandidate::TrackToRefCandidate ( const edm::ParameterSet cfg,
edm::ConsumesCollector  iC 
)
inline

Definition at line 16 of file TrackToRefCandidate.h.

Member Function Documentation

◆ convert()

void converter::TrackToRefCandidate::convert ( reco::TrackRef  trkRef,
reco::RecoChargedRefCandidate c 
) const
inline

Definition at line 17 of file TrackToRefCandidate.h.

17  {
19  }

References c, converter::MassiveCandidateConverter::massSqr_, and mathSSE::sqrt().

reco::RecoChargedRefCandidate
Definition: RecoChargedRefCandidate.h:12
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
converter::MassiveCandidateConverter::MassiveCandidateConverter
MassiveCandidateConverter(const edm::ParameterSet &, edm::ConsumesCollector)
Definition: MassiveCandidateConverter.cc:12
looper.cfg
cfg
Definition: looper.py:296
converter::MassiveCandidateConverter::massSqr_
double massSqr_
Definition: MassiveCandidateConverter.h:20
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56