CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TmpSimTrack Class Reference

#include <TmpSimTrack.h>

Public Member Functions

void copyCrossedBoundaryVars (const TrackWithHistory *track)
 
bool crossedBoundary () const
 
double energy () const
 
int getIDAtBoundary () const
 
const math::XYZTLorentzVectorFgetMomentumAtBoundary () const
 
const math::XYZTLorentzVectorFgetPositionAtBoundary () const
 
int id () const
 
int igenpart () const
 
int ivert () const
 
const math::XYZVectorDmomentum () const
 
int parentID () const
 
const math::XYZVectorDparentMomentum () const
 
int part () const
 
 TmpSimTrack (int iid, int ipart, const math::XYZVectorD &ip, double ie)
 
 TmpSimTrack (int iid, int ipart, const math::XYZVectorD &ip, double ie, int iv, int ig, const math::XYZVectorD &ipmom)
 
 TmpSimTrack (int iid, int ipart, const math::XYZVectorD &ip, double ie, int iv, int ig, const math::XYZVectorD &ipmom, const math::XYZVectorD &tkpos, const math::XYZTLorentzVectorD &tkmom)
 
const math::XYZTLorentzVectorDtrackerSurfaceMomentum () const
 
const math::XYZVectorDtrackerSurfacePosition () const
 
 ~TmpSimTrack ()=default
 

Private Attributes

bool crossedBoundary_ {false}
 
int id_
 
int idAtBoundary_ {-1}
 
double ie_
 
int igenpart_
 
math::XYZVectorD ip_
 
int ipart_
 
int ivert_
 
math::XYZTLorentzVectorF momentumAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)}
 
int parentID_
 
math::XYZVectorD parentMomentum_ {math::XYZVectorD(0., 0., 0.)}
 
math::XYZTLorentzVectorF positionAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)}
 
math::XYZTLorentzVectorD tkSurfaceMomentum_ {math::XYZTLorentzVectorD(0., 0., 0., 0.)}
 
math::XYZVectorD tkSurfacePosition_ {math::XYZVectorD(0., 0., 0.)}
 

Detailed Description

Definition at line 9 of file TmpSimTrack.h.

Constructor & Destructor Documentation

◆ TmpSimTrack() [1/3]

TmpSimTrack::TmpSimTrack ( int  iid,
int  ipart,
const math::XYZVectorD ip,
double  ie 
)
inline

Definition at line 11 of file TmpSimTrack.h.

12  : id_(iid), ipart_(ipart), ip_(ip), ie_(ie), ivert_(-1), igenpart_(-1), parentID_(-1) {}
math::XYZVectorD ip_
Definition: TmpSimTrack.h:69
double ie_
Definition: TmpSimTrack.h:70

◆ TmpSimTrack() [2/3]

TmpSimTrack::TmpSimTrack ( int  iid,
int  ipart,
const math::XYZVectorD ip,
double  ie,
int  iv,
int  ig,
const math::XYZVectorD ipmom 
)
inline

Definition at line 14 of file TmpSimTrack.h.

15  : id_(iid), ipart_(ipart), ip_(ip), ie_(ie), ivert_(iv), igenpart_(ig), parentMomentum_(ipmom) {}
math::XYZVectorD parentMomentum_
Definition: TmpSimTrack.h:74
math::XYZVectorD ip_
Definition: TmpSimTrack.h:69
double ie_
Definition: TmpSimTrack.h:70

◆ TmpSimTrack() [3/3]

TmpSimTrack::TmpSimTrack ( int  iid,
int  ipart,
const math::XYZVectorD ip,
double  ie,
int  iv,
int  ig,
const math::XYZVectorD ipmom,
const math::XYZVectorD tkpos,
const math::XYZTLorentzVectorD tkmom 
)
inline

Definition at line 17 of file TmpSimTrack.h.

26  : id_(iid),
27  ipart_(ipart),
28  ip_(ip),
29  ie_(ie),
30  ivert_(iv),
31  igenpart_(ig),
32  parentMomentum_(ipmom),
33  tkSurfacePosition_(tkpos),
34  tkSurfaceMomentum_(tkmom) {}
math::XYZTLorentzVectorD tkSurfaceMomentum_
Definition: TmpSimTrack.h:76
math::XYZVectorD parentMomentum_
Definition: TmpSimTrack.h:74
math::XYZVectorD ip_
Definition: TmpSimTrack.h:69
math::XYZVectorD tkSurfacePosition_
Definition: TmpSimTrack.h:75
double ie_
Definition: TmpSimTrack.h:70

◆ ~TmpSimTrack()

TmpSimTrack::~TmpSimTrack ( )
default

Member Function Documentation

◆ copyCrossedBoundaryVars()

void TmpSimTrack::copyCrossedBoundaryVars ( const TrackWithHistory track)
inline

Definition at line 53 of file TmpSimTrack.h.

References crossedBoundary_, idAtBoundary_, momentumAtBoundary_, positionAtBoundary_, and HLT_2024v12_cff::track.

Referenced by SimTrackManager::reallyStoreTracks().

53  {
54  if (track->crossedBoundary()) {
55  crossedBoundary_ = track->crossedBoundary();
56  idAtBoundary_ = track->getIDAtBoundary();
57  positionAtBoundary_ = track->getPositionAtBoundary();
58  momentumAtBoundary_ = track->getMomentumAtBoundary();
59  }
60  }
math::XYZTLorentzVectorF momentumAtBoundary_
Definition: TmpSimTrack.h:80
int idAtBoundary_
Definition: TmpSimTrack.h:78
bool crossedBoundary_
Definition: TmpSimTrack.h:77
math::XYZTLorentzVectorF positionAtBoundary_
Definition: TmpSimTrack.h:79

◆ crossedBoundary()

bool TmpSimTrack::crossedBoundary ( ) const
inline

Definition at line 61 of file TmpSimTrack.h.

References crossedBoundary_.

61 { return crossedBoundary_; }
bool crossedBoundary_
Definition: TmpSimTrack.h:77

◆ energy()

double TmpSimTrack::energy ( void  ) const
inline

Definition at line 41 of file TmpSimTrack.h.

References ie_.

Referenced by Jet.Jet::rawEnergy().

41 { return ie_; }
double ie_
Definition: TmpSimTrack.h:70

◆ getIDAtBoundary()

int TmpSimTrack::getIDAtBoundary ( ) const
inline

Definition at line 64 of file TmpSimTrack.h.

References idAtBoundary_.

64 { return idAtBoundary_; }
int idAtBoundary_
Definition: TmpSimTrack.h:78

◆ getMomentumAtBoundary()

const math::XYZTLorentzVectorF& TmpSimTrack::getMomentumAtBoundary ( ) const
inline

Definition at line 63 of file TmpSimTrack.h.

References momentumAtBoundary_.

63 { return momentumAtBoundary_; }
math::XYZTLorentzVectorF momentumAtBoundary_
Definition: TmpSimTrack.h:80

◆ getPositionAtBoundary()

const math::XYZTLorentzVectorF& TmpSimTrack::getPositionAtBoundary ( ) const
inline

Definition at line 62 of file TmpSimTrack.h.

References positionAtBoundary_.

62 { return positionAtBoundary_; }
math::XYZTLorentzVectorF positionAtBoundary_
Definition: TmpSimTrack.h:79

◆ id()

int TmpSimTrack::id ( void  ) const
inline

Definition at line 38 of file TmpSimTrack.h.

References id_.

38 { return id_; }

◆ igenpart()

int TmpSimTrack::igenpart ( ) const
inline

Definition at line 43 of file TmpSimTrack.h.

References igenpart_.

43 { return igenpart_; }

◆ ivert()

int TmpSimTrack::ivert ( ) const
inline

Definition at line 42 of file TmpSimTrack.h.

References ivert_.

42 { return ivert_; }

◆ momentum()

const math::XYZVectorD& TmpSimTrack::momentum ( ) const
inline

Definition at line 40 of file TmpSimTrack.h.

References ip_.

40 { return ip_; }
math::XYZVectorD ip_
Definition: TmpSimTrack.h:69

◆ parentID()

int TmpSimTrack::parentID ( ) const
inline

Definition at line 51 of file TmpSimTrack.h.

References parentID_.

51 { return parentID_; }

◆ parentMomentum()

const math::XYZVectorD& TmpSimTrack::parentMomentum ( ) const
inline

Definition at line 45 of file TmpSimTrack.h.

References parentMomentum_.

45 { return parentMomentum_; }
math::XYZVectorD parentMomentum_
Definition: TmpSimTrack.h:74

◆ part()

int TmpSimTrack::part ( ) const
inline

Definition at line 39 of file TmpSimTrack.h.

References ipart_.

39 { return ipart_; }

◆ trackerSurfaceMomentum()

const math::XYZTLorentzVectorD& TmpSimTrack::trackerSurfaceMomentum ( ) const
inline

Definition at line 48 of file TmpSimTrack.h.

References tkSurfaceMomentum_.

48 { return tkSurfaceMomentum_; }
math::XYZTLorentzVectorD tkSurfaceMomentum_
Definition: TmpSimTrack.h:76

◆ trackerSurfacePosition()

const math::XYZVectorD& TmpSimTrack::trackerSurfacePosition ( ) const
inline

Definition at line 47 of file TmpSimTrack.h.

References tkSurfacePosition_.

47 { return tkSurfacePosition_; }
math::XYZVectorD tkSurfacePosition_
Definition: TmpSimTrack.h:75

Member Data Documentation

◆ crossedBoundary_

bool TmpSimTrack::crossedBoundary_ {false}
private

Definition at line 77 of file TmpSimTrack.h.

Referenced by copyCrossedBoundaryVars(), and crossedBoundary().

◆ id_

int TmpSimTrack::id_
private

Definition at line 67 of file TmpSimTrack.h.

Referenced by id().

◆ idAtBoundary_

int TmpSimTrack::idAtBoundary_ {-1}
private

Definition at line 78 of file TmpSimTrack.h.

Referenced by copyCrossedBoundaryVars(), and getIDAtBoundary().

◆ ie_

double TmpSimTrack::ie_
private

Definition at line 70 of file TmpSimTrack.h.

Referenced by energy().

◆ igenpart_

int TmpSimTrack::igenpart_
private

Definition at line 72 of file TmpSimTrack.h.

Referenced by igenpart().

◆ ip_

math::XYZVectorD TmpSimTrack::ip_
private

Definition at line 69 of file TmpSimTrack.h.

Referenced by momentum().

◆ ipart_

int TmpSimTrack::ipart_
private

Definition at line 68 of file TmpSimTrack.h.

Referenced by part().

◆ ivert_

int TmpSimTrack::ivert_
private

Definition at line 71 of file TmpSimTrack.h.

Referenced by ivert().

◆ momentumAtBoundary_

math::XYZTLorentzVectorF TmpSimTrack::momentumAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)}
private

Definition at line 80 of file TmpSimTrack.h.

Referenced by copyCrossedBoundaryVars(), and getMomentumAtBoundary().

◆ parentID_

int TmpSimTrack::parentID_
private

Definition at line 73 of file TmpSimTrack.h.

Referenced by parentID().

◆ parentMomentum_

math::XYZVectorD TmpSimTrack::parentMomentum_ {math::XYZVectorD(0., 0., 0.)}
private

Definition at line 74 of file TmpSimTrack.h.

Referenced by parentMomentum().

◆ positionAtBoundary_

math::XYZTLorentzVectorF TmpSimTrack::positionAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)}
private

Definition at line 79 of file TmpSimTrack.h.

Referenced by copyCrossedBoundaryVars(), and getPositionAtBoundary().

◆ tkSurfaceMomentum_

math::XYZTLorentzVectorD TmpSimTrack::tkSurfaceMomentum_ {math::XYZTLorentzVectorD(0., 0., 0., 0.)}
private

Definition at line 76 of file TmpSimTrack.h.

Referenced by trackerSurfaceMomentum().

◆ tkSurfacePosition_

math::XYZVectorD TmpSimTrack::tkSurfacePosition_ {math::XYZVectorD(0., 0., 0.)}
private

Definition at line 75 of file TmpSimTrack.h.

Referenced by trackerSurfacePosition().