CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations Struct Reference

Public Member Functions

 GsfTrackExtrapolations ()
 
void operator() (const reco::GsfTrack &trk, const reco::SuperCluster &sc, const MultiTrajectoryStateTransform &mtsTransform)
 

Public Attributes

GlobalVector innMom
 
TrajectoryStateOnSurface innTSOS
 
GlobalVector outMom
 
TrajectoryStateOnSurface outTSOS
 
GlobalPoint sclPos
 
TrajectoryStateOnSurface sclTSOS
 

Detailed Description

Definition at line 43 of file EgammaHLTGsfTrackVarProducer.cc.

Constructor & Destructor Documentation

◆ GsfTrackExtrapolations()

EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::GsfTrackExtrapolations ( )
inline

Definition at line 44 of file EgammaHLTGsfTrackVarProducer.cc.

44 {}

Member Function Documentation

◆ operator()()

void EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::operator() ( const reco::GsfTrack trk,
const reco::SuperCluster sc,
const MultiTrajectoryStateTransform mtsTransform 
)

Definition at line 279 of file EgammaHLTGsfTrackVarProducer.cc.

References MultiTrajectoryStateTransform::extrapolatedState(), MultiTrajectoryStateTransform::innerStateOnSurface(), innMom, innTSOS, multiTrajectoryStateMode::momentumFromModeCartesian(), MultiTrajectoryStateTransform::outerStateOnSurface(), outMom, outTSOS, multiTrajectoryStateMode::positionFromModeCartesian(), sclPos, sclTSOS, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().

280  {
281  innTSOS = mtsTransform.innerStateOnSurface(trk);
282  outTSOS = mtsTransform.outerStateOnSurface(trk);
283  sclTSOS = mtsTransform.extrapolatedState(innTSOS, GlobalPoint(sc.x(), sc.y(), sc.z()));
284 
288 }
TrajectoryStateOnSurface outerStateOnSurface(const reco::GsfTrack &tk) const
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
double x() const
x coordinate of cluster centroid
Definition: CaloCluster.h:172
bool positionFromModeCartesian(TrajectoryStateOnSurface const &tsos, GlobalPoint &position)
TrajectoryStateOnSurface innerStateOnSurface(const reco::GsfTrack &tk) const
double z() const
z coordinate of cluster centroid
Definition: CaloCluster.h:178
double y() const
y coordinate of cluster centroid
Definition: CaloCluster.h:175
TrajectoryStateOnSurface extrapolatedState(const TrajectoryStateOnSurface tsos, const GlobalPoint &point) const
bool momentumFromModeCartesian(TrajectoryStateOnSurface const &tsos, GlobalVector &momentum)

Member Data Documentation

◆ innMom

GlobalVector EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::innMom

Definition at line 52 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by operator()().

◆ innTSOS

TrajectoryStateOnSurface EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::innTSOS

Definition at line 48 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by operator()().

◆ outMom

GlobalVector EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::outMom

Definition at line 52 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by operator()().

◆ outTSOS

TrajectoryStateOnSurface EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::outTSOS

Definition at line 49 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by operator()().

◆ sclPos

GlobalPoint EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::sclPos

Definition at line 53 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by operator()().

◆ sclTSOS

TrajectoryStateOnSurface EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::sclTSOS

Definition at line 50 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by operator()().