CMS 3D CMS Logo

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

#include <G4SimTrack.h>

Public Member Functions

double energy () const
 
 G4SimTrack ()
 
 G4SimTrack (int iid, int ipart, const math::XYZVectorD &ip, double ie)
 
 G4SimTrack (int iid, int ipart, const math::XYZVectorD &ip, double ie, int iv, int ig, const math::XYZVectorD &ipmom)
 
 G4SimTrack (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)
 
int id () const
 
int igenpart () const
 
int ivert () const
 
const math::XYZVectorDmomentum () const
 
int parentID () const
 
const math::XYZVectorDparentMomentum () const
 
int part () const
 
const math::XYZTLorentzVectorDtrackerSurfaceMomentum () const
 
const math::XYZVectorDtrackerSurfacePosition () const
 
 ~G4SimTrack ()
 

Private Attributes

int id_
 
double ie_
 
int igenpart_
 
math::XYZVectorD ip_
 
int ipart_
 
int ivert_
 
int parentID_
 
math::XYZVectorD parentMomentum_
 
math::XYZTLorentzVectorD tkSurfaceMomentum_
 
math::XYZVectorD tkSurfacePosition_
 

Detailed Description

Definition at line 9 of file G4SimTrack.h.

Constructor & Destructor Documentation

◆ G4SimTrack() [1/4]

G4SimTrack::G4SimTrack ( )
inline

Definition at line 11 of file G4SimTrack.h.

11 {}

◆ G4SimTrack() [2/4]

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

Definition at line 13 of file G4SimTrack.h.

14  : id_(iid),
15  ipart_(ipart),
16  ip_(ip),
17  ie_(ie),
18  ivert_(-1),
19  igenpart_(-1),
20  parentID_(-1),
21  parentMomentum_(math::XYZVectorD(0., 0., 0.)),

◆ G4SimTrack() [3/4]

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

Definition at line 25 of file G4SimTrack.h.

26  : id_(iid),
27  ipart_(ipart),
28  ip_(ip),
29  ie_(ie),
30  ivert_(iv),
31  igenpart_(ig),
32  parentMomentum_(ipmom),

◆ G4SimTrack() [4/4]

G4SimTrack::G4SimTrack ( 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 36 of file G4SimTrack.h.

45  : id_(iid),
46  ipart_(ipart),
47  ip_(ip),
48  ie_(ie),
49  ivert_(iv),
50  igenpart_(ig),
51  parentMomentum_(ipmom),
52  tkSurfacePosition_(tkpos),
53  tkSurfaceMomentum_(tkmom) {}

◆ ~G4SimTrack()

G4SimTrack::~G4SimTrack ( )
inline

Definition at line 55 of file G4SimTrack.h.

55 {}

Member Function Documentation

◆ energy()

double G4SimTrack::energy ( void  ) const
inline

Definition at line 60 of file G4SimTrack.h.

60 { return ie_; }

References ie_.

Referenced by G4SimEvent::load(), and Jet.Jet::rawEnergy().

◆ id()

int G4SimTrack::id ( void  ) const
inline

Definition at line 57 of file G4SimTrack.h.

57 { return id_; }

References id_.

Referenced by G4SimEvent::load().

◆ igenpart()

int G4SimTrack::igenpart ( ) const
inline

Definition at line 62 of file G4SimTrack.h.

62 { return igenpart_; }

References igenpart_.

Referenced by G4SimEvent::load().

◆ ivert()

int G4SimTrack::ivert ( ) const
inline

Definition at line 61 of file G4SimTrack.h.

61 { return ivert_; }

References ivert_.

Referenced by G4SimEvent::load().

◆ momentum()

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

Definition at line 59 of file G4SimTrack.h.

59 { return ip_; }

References ip_.

Referenced by G4SimEvent::load().

◆ parentID()

int G4SimTrack::parentID ( ) const
inline

Definition at line 70 of file G4SimTrack.h.

70 { return parentID_; }

References parentID_.

◆ parentMomentum()

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

Definition at line 64 of file G4SimTrack.h.

64 { return parentMomentum_; }

References parentMomentum_.

◆ part()

int G4SimTrack::part ( ) const
inline

Definition at line 58 of file G4SimTrack.h.

58 { return ipart_; }

References ipart_.

Referenced by G4SimEvent::load().

◆ trackerSurfaceMomentum()

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

Definition at line 67 of file G4SimTrack.h.

67 { return tkSurfaceMomentum_; }

References tkSurfaceMomentum_.

Referenced by G4SimEvent::load().

◆ trackerSurfacePosition()

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

Definition at line 66 of file G4SimTrack.h.

66 { return tkSurfacePosition_; }

References tkSurfacePosition_.

Referenced by G4SimEvent::load().

Member Data Documentation

◆ id_

int G4SimTrack::id_
private

Definition at line 73 of file G4SimTrack.h.

Referenced by id().

◆ ie_

double G4SimTrack::ie_
private

Definition at line 76 of file G4SimTrack.h.

Referenced by energy().

◆ igenpart_

int G4SimTrack::igenpart_
private

Definition at line 78 of file G4SimTrack.h.

Referenced by igenpart().

◆ ip_

math::XYZVectorD G4SimTrack::ip_
private

Definition at line 75 of file G4SimTrack.h.

Referenced by momentum().

◆ ipart_

int G4SimTrack::ipart_
private

Definition at line 74 of file G4SimTrack.h.

Referenced by part().

◆ ivert_

int G4SimTrack::ivert_
private

Definition at line 77 of file G4SimTrack.h.

Referenced by ivert().

◆ parentID_

int G4SimTrack::parentID_
private

Definition at line 79 of file G4SimTrack.h.

Referenced by parentID().

◆ parentMomentum_

math::XYZVectorD G4SimTrack::parentMomentum_
private

Definition at line 80 of file G4SimTrack.h.

Referenced by parentMomentum().

◆ tkSurfaceMomentum_

math::XYZTLorentzVectorD G4SimTrack::tkSurfaceMomentum_
private

Definition at line 82 of file G4SimTrack.h.

Referenced by trackerSurfaceMomentum().

◆ tkSurfacePosition_

math::XYZVectorD G4SimTrack::tkSurfacePosition_
private

Definition at line 81 of file G4SimTrack.h.

Referenced by trackerSurfacePosition().

G4SimTrack::ip_
math::XYZVectorD ip_
Definition: G4SimTrack.h:75
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
G4SimTrack::ipart_
int ipart_
Definition: G4SimTrack.h:74
G4SimTrack::tkSurfacePosition_
math::XYZVectorD tkSurfacePosition_
Definition: G4SimTrack.h:81
G4SimTrack::parentMomentum_
math::XYZVectorD parentMomentum_
Definition: G4SimTrack.h:80
G4SimTrack::ie_
double ie_
Definition: G4SimTrack.h:76
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
G4SimTrack::tkSurfaceMomentum_
math::XYZTLorentzVectorD tkSurfaceMomentum_
Definition: G4SimTrack.h:82
G4SimTrack::igenpart_
int igenpart_
Definition: G4SimTrack.h:78
G4SimTrack::ivert_
int ivert_
Definition: G4SimTrack.h:77
G4SimTrack::id_
int id_
Definition: G4SimTrack.h:73
G4SimTrack::parentID_
int parentID_
Definition: G4SimTrack.h:79