Track object.
More...
#include <Track.hh>
Track object.
- Author
- Martin Vala mvala.nosp@m.@cer.nosp@m.n.ch
Definition at line 14 of file Track.hh.
A destructor
Definition at line 28 of file Track.cc.
void NDHep::Track::BuildRandom |
( |
| ) |
|
void NDHep::Track::Clear |
( |
Option_t * |
option = "" | ) |
|
|
virtual |
Int_t NDHep::Track::GetCharge |
( |
| ) |
const |
|
inline |
Charge of track.
- Returns
- charge !
Definition at line 71 of file Track.hh.
References fCharge.
Double_t NDHep::Track::GetP |
( |
| ) |
const |
Get momentum value for current track.
Returns value of total momentum for current track
Definition at line 92 of file Track.cc.
References fPx, fPy, and fPz.
Int_t NDHep::Track::GetPIDNsigma |
( |
Int_t |
i | ) |
const |
|
inline |
NSigma of PID type.
- Returns
- pidNsigma !
Definition at line 73 of file Track.hh.
References fPIDNsigma.
Double_t NDHep::Track::GetPx |
( |
| ) |
const |
|
inline |
Momentum x component.
- Returns
- Px component !
Definition at line 68 of file Track.hh.
References fPx.
Double_t NDHep::Track::GetPy |
( |
| ) |
const |
|
inline |
Momentum y component.
- Returns
- Py component !
Definition at line 69 of file Track.hh.
References fPy.
Double_t NDHep::Track::GetPz |
( |
| ) |
const |
|
inline |
Momentum z component.
- Returns
- Pz component !
Definition at line 70 of file Track.hh.
References fPz.
Int_t NDHep::Track::GetTPCSignal |
( |
| ) |
const |
|
inline |
TPC signal of track.
- Returns
- tpcSignal !
Definition at line 72 of file Track.hh.
References fTPCSignal.
Bool_t NDHep::Track::IsPrimary |
( |
| ) |
const |
|
inline |
void NDHep::Track::Print |
( |
Option_t * |
option = "" | ) |
const |
|
virtual |
void NDHep::Track::SetCharge |
( |
Short_t |
ch | ) |
|
|
inline |
void NDHep::Track::SetP |
( |
Double_t * |
p | ) |
|
Sets all components of momentum
Definition at line 82 of file Track.cc.
References fPx, fPy, and fPz.
void NDHep::Track::SetPIDNsigma |
( |
Int_t |
i, |
|
|
Double_t |
s |
|
) |
| |
- Parameters
-
i | particle type |
s | nSigma value Sets PID nSigma value ! |
Sets all components of nsigma (kElectron kMuon kPion kKaon kProton)
Definition at line 101 of file Track.cc.
References fPIDNsigma.
void NDHep::Track::SetPrimary |
( |
Bool_t |
isPrimary | ) |
|
|
inline |
- Parameters
-
isPrimary | is track primary Sets if track is primary |
Definition at line 84 of file Track.hh.
References fIsPrimary.
void NDHep::Track::SetPx |
( |
Double_t |
px | ) |
|
|
inline |
!
- Parameters
-
px | Momentum x component Sets x component of momentum ! |
Definition at line 77 of file Track.hh.
References fPx.
void NDHep::Track::SetPy |
( |
Double_t |
py | ) |
|
|
inline |
- Parameters
-
py | Momentum y component Sets y component of momentum ! |
Definition at line 78 of file Track.hh.
References fPy.
void NDHep::Track::SetPz |
( |
Double_t |
pz | ) |
|
|
inline |
- Parameters
-
pz | Momentum z component Sets z component of momentum ! |
Definition at line 79 of file Track.hh.
References fPz.
void NDHep::Track::SetTPCSignal |
( |
Double_t |
s | ) |
|
|
inline |
- Parameters
-
s | TPC signal Sets TPC signal ! |
Definition at line 81 of file Track.hh.
References fTPCSignal.
The documentation for this class was generated from the following files: