CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::G4SimTrack ( )
inline

Definition at line 12 of file G4SimTrack.h.

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

Definition at line 14 of file G4SimTrack.h.

15  : id_(iid), ipart_(ipart), ip_(ip), ie_(ie),ivert_(-1),igenpart_(-1), parentID_(-1),
int ipart_
Definition: G4SimTrack.h:48
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
int ivert_
Definition: G4SimTrack.h:51
math::XYZVectorD parentMomentum_
Definition: G4SimTrack.h:54
math::XYZTLorentzVectorD tkSurfaceMomentum_
Definition: G4SimTrack.h:56
int igenpart_
Definition: G4SimTrack.h:52
math::XYZVectorD tkSurfacePosition_
Definition: G4SimTrack.h:55
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
math::XYZVectorD ip_
Definition: G4SimTrack.h:49
int parentID_
Definition: G4SimTrack.h:53
double ie_
Definition: G4SimTrack.h:50
G4SimTrack::G4SimTrack ( int  iid,
int  ipart,
const math::XYZVectorD ip,
double  ie,
int  iv,
int  ig,
const math::XYZVectorD ipmom 
)
inline

Definition at line 19 of file G4SimTrack.h.

21  : id_(iid),ipart_(ipart),ip_(ip),ie_(ie),ivert_(iv),igenpart_(ig),parentMomentum_(ipmom),
int ipart_
Definition: G4SimTrack.h:48
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
int ivert_
Definition: G4SimTrack.h:51
math::XYZVectorD parentMomentum_
Definition: G4SimTrack.h:54
math::XYZTLorentzVectorD tkSurfaceMomentum_
Definition: G4SimTrack.h:56
int igenpart_
Definition: G4SimTrack.h:52
math::XYZVectorD tkSurfacePosition_
Definition: G4SimTrack.h:55
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
math::XYZVectorD ip_
Definition: G4SimTrack.h:49
double ie_
Definition: G4SimTrack.h:50
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 24 of file G4SimTrack.h.

27  : id_(iid),ipart_(ipart),ip_(ip),ie_(ie),ivert_(iv),igenpart_(ig),parentMomentum_(ipmom),
28  tkSurfacePosition_(tkpos),tkSurfaceMomentum_(tkmom) {}
int ipart_
Definition: G4SimTrack.h:48
int ivert_
Definition: G4SimTrack.h:51
math::XYZVectorD parentMomentum_
Definition: G4SimTrack.h:54
math::XYZTLorentzVectorD tkSurfaceMomentum_
Definition: G4SimTrack.h:56
int igenpart_
Definition: G4SimTrack.h:52
math::XYZVectorD tkSurfacePosition_
Definition: G4SimTrack.h:55
math::XYZVectorD ip_
Definition: G4SimTrack.h:49
double ie_
Definition: G4SimTrack.h:50
G4SimTrack::~G4SimTrack ( )
inline

Definition at line 30 of file G4SimTrack.h.

30 {}

Member Function Documentation

double G4SimTrack::energy ( void  ) const
inline

Definition at line 35 of file G4SimTrack.h.

References ie_.

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

35 { return ie_; }
double ie_
Definition: G4SimTrack.h:50
int G4SimTrack::id ( void  ) const
inline

Definition at line 32 of file G4SimTrack.h.

References id_.

Referenced by G4SimEvent::load().

32 { return id_; }
int G4SimTrack::igenpart ( ) const
inline

Definition at line 37 of file G4SimTrack.h.

References igenpart_.

Referenced by G4SimEvent::load().

37 { return igenpart_; }
int igenpart_
Definition: G4SimTrack.h:52
int G4SimTrack::ivert ( ) const
inline

Definition at line 36 of file G4SimTrack.h.

References ivert_.

Referenced by G4SimEvent::load().

36 { return ivert_; }
int ivert_
Definition: G4SimTrack.h:51
const math::XYZVectorD& G4SimTrack::momentum ( ) const
inline

Definition at line 34 of file G4SimTrack.h.

References ip_.

Referenced by G4SimEvent::load().

34 { return ip_; }
math::XYZVectorD ip_
Definition: G4SimTrack.h:49
int G4SimTrack::parentID ( ) const
inline

Definition at line 45 of file G4SimTrack.h.

References parentID_.

45 { return parentID_; }
int parentID_
Definition: G4SimTrack.h:53
const math::XYZVectorD& G4SimTrack::parentMomentum ( ) const
inline

Definition at line 39 of file G4SimTrack.h.

References parentMomentum_.

39 { return parentMomentum_; }
math::XYZVectorD parentMomentum_
Definition: G4SimTrack.h:54
int G4SimTrack::part ( ) const
inline

Definition at line 33 of file G4SimTrack.h.

References ipart_.

Referenced by G4SimEvent::load().

33 { return ipart_; }
int ipart_
Definition: G4SimTrack.h:48
const math::XYZTLorentzVectorD& G4SimTrack::trackerSurfaceMomentum ( ) const
inline

Definition at line 42 of file G4SimTrack.h.

References tkSurfaceMomentum_.

Referenced by G4SimEvent::load().

42 {return tkSurfaceMomentum_;}
math::XYZTLorentzVectorD tkSurfaceMomentum_
Definition: G4SimTrack.h:56
const math::XYZVectorD& G4SimTrack::trackerSurfacePosition ( ) const
inline

Definition at line 41 of file G4SimTrack.h.

References tkSurfacePosition_.

Referenced by G4SimEvent::load().

41 {return tkSurfacePosition_;}
math::XYZVectorD tkSurfacePosition_
Definition: G4SimTrack.h:55

Member Data Documentation

int G4SimTrack::id_
private

Definition at line 47 of file G4SimTrack.h.

Referenced by id().

double G4SimTrack::ie_
private

Definition at line 50 of file G4SimTrack.h.

Referenced by energy().

int G4SimTrack::igenpart_
private

Definition at line 52 of file G4SimTrack.h.

Referenced by igenpart().

math::XYZVectorD G4SimTrack::ip_
private

Definition at line 49 of file G4SimTrack.h.

Referenced by momentum().

int G4SimTrack::ipart_
private

Definition at line 48 of file G4SimTrack.h.

Referenced by part().

int G4SimTrack::ivert_
private

Definition at line 51 of file G4SimTrack.h.

Referenced by ivert().

int G4SimTrack::parentID_
private

Definition at line 53 of file G4SimTrack.h.

Referenced by parentID().

math::XYZVectorD G4SimTrack::parentMomentum_
private

Definition at line 54 of file G4SimTrack.h.

Referenced by parentMomentum().

math::XYZTLorentzVectorD G4SimTrack::tkSurfaceMomentum_
private

Definition at line 56 of file G4SimTrack.h.

Referenced by trackerSurfaceMomentum().

math::XYZVectorD G4SimTrack::tkSurfacePosition_
private

Definition at line 55 of file G4SimTrack.h.

Referenced by trackerSurfacePosition().