hlit-ana
0.0.0
|
Track object. More...
#include <HlitTrack.h>
Public Member Functions | |
HlitTrack () | |
virtual | ~HlitTrack () |
Double_t | GetPx () const |
Momentum x component. More... | |
Double_t | GetPy () const |
Momentum y component. More... | |
Double_t | GetPz () const |
Momentum z component. More... | |
Short_t | GetCharge () const |
Charge of track. More... | |
void | SetPx (Double_t px) |
void | SetPy (Double_t py) |
void | SetPz (Double_t pz) |
void | SetP (Double_t *p) |
void | SetCharge (Short_t ch) |
virtual void | Print (Option_t *option="") const |
virtual void | Clear (Option_t *option="") |
void | BuildRandom () |
Private Member Functions | |
HlitTrack (const HlitTrack &) | |
Copy constructor. | |
HlitTrack & | operator= (const HlitTrack &) |
not implemented | |
Private Attributes | |
Double_t | fPx |
Momentum x. | |
Double_t | fPy |
Momentum y. | |
Double_t | fPz |
Momentum z. | |
Short_t | fCharge |
Charge. | |
Track object.
Definition at line 13 of file HlitTrack.h.
HlitTrack::HlitTrack | ( | ) |
A constructor
Definition at line 10 of file HlitTrack.cxx.
|
virtual |
A destructor
Definition at line 18 of file HlitTrack.cxx.
void HlitTrack::BuildRandom | ( | ) |
|
virtual |
|
inline |
Charge of track.
Definition at line 47 of file HlitTrack.h.
References fCharge.
Referenced by HlitTaskRsn::Exec().
|
inline |
Momentum x component.
Definition at line 44 of file HlitTrack.h.
References fPx.
Referenced by HlitTaskRsn::Exec(), and HlitAnalysisSelectorIO::Process().
|
inline |
Momentum y component.
Definition at line 45 of file HlitTrack.h.
References fPy.
Referenced by HlitTaskRsn::Exec(), and HlitAnalysisSelectorIO::Process().
|
inline |
Momentum z component.
Definition at line 46 of file HlitTrack.h.
References fPz.
Referenced by HlitAnalysisSelectorIO::Process().
|
virtual |
Printing track info
Definition at line 39 of file HlitTrack.cxx.
References fCharge, fPx, fPy, and fPz.
Referenced by HlitEvent::Print().
|
inline |
void HlitTrack::SetP | ( | Double_t * | p | ) |
Sets all components of momentum
Definition at line 58 of file HlitTrack.cxx.
|
inline |
px | Momentum x component Sets x component of momentum ! |
Definition at line 49 of file HlitTrack.h.
References fPx.
|
inline |
py | Momentum y component Sets y component of momentum ! |
Definition at line 50 of file HlitTrack.h.
References fPy.
|
inline |
pz | Momentum z component Sets z component of momentum ! |
Definition at line 51 of file HlitTrack.h.
References fPz.