er  dev
Public Member Functions | Protected Attributes | List of all members
ERGadastLaBrPoint Class Reference
Inheritance diagram for ERGadastLaBrPoint:
Inheritance graph
[legend]
Collaboration diagram for ERGadastLaBrPoint:
Collaboration graph
[legend]

Public Member Functions

 ERGadastLaBrPoint ()
 
 ERGadastLaBrPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Double_t mass, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t pdg, Int_t cell)
 
 ERGadastLaBrPoint (const ERGadastLaBrPoint &)
 
virtual ~ERGadastLaBrPoint ()
 
ERGadastLaBrPointoperator= (const ERGadastLaBrPoint &)
 
Int_t GetEventID () const
 
Int_t GetMot0TrackID () const
 
Double_t GetXIn () const
 
Double_t GetYIn () const
 
Double_t GetZIn () const
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
Double_t GetMass () const
 
Int_t GetCell () const
 
void PositionIn (TVector3 &pos)
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
Double_t GetX (Double_t z) const
 
Double_t GetY (Double_t z) const
 
Bool_t IsUsable () const
 
virtual void Print (const Option_t *opt=0) const
 

Protected Attributes

Int_t fEventID
 
Int_t fMot0TrackID
 
Double_t fMass
 
Double32_t fX_out
 
Double32_t fY_out
 
Double32_t fZ_out
 
Double32_t fPx_out
 
Double32_t fPy_out
 
Double32_t fPz_out
 
Int_t fPDG
 
Int_t fCell
 

Detailed Description

Definition at line 17 of file ERGadastLaBrPoint.h.

Constructor & Destructor Documentation

ERGadastLaBrPoint::ERGadastLaBrPoint ( )

Default constructor

Definition at line 8 of file ERGadastLaBrPoint.cxx.

ERGadastLaBrPoint::ERGadastLaBrPoint ( Int_t  eventID,
Int_t  trackID,
Int_t  mot0trackID,
Double_t  mass,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  pdg,
Int_t  cell 
)

Constructor with arguments

Parameters
EventIDIndex of Event
trackIDIndex of MCTrack
mot0trackIDIndex of Mother MCTrack
posInCcoordinates at entrance of point [cm]
posOutCoordinates at exit of point [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [KeV]

Definition at line 19 of file ERGadastLaBrPoint.cxx.

ERGadastLaBrPoint::ERGadastLaBrPoint ( const ERGadastLaBrPoint right)

Copy constructor

Definition at line 37 of file ERGadastLaBrPoint.cxx.

ERGadastLaBrPoint::~ERGadastLaBrPoint ( )
virtual

Destructor

Definition at line 49 of file ERGadastLaBrPoint.cxx.

Member Function Documentation

Int_t ERGadastLaBrPoint::GetEventID ( ) const
inline

Accessors

Definition at line 58 of file ERGadastLaBrPoint.h.

Double_t ERGadastLaBrPoint::GetX ( Double_t  z) const

Point coordinates at given z from linear extrapolation

Definition at line 70 of file ERGadastLaBrPoint.cxx.

Bool_t ERGadastLaBrPoint::IsUsable ( ) const

Check for distance between in and out

Definition at line 94 of file ERGadastLaBrPoint.cxx.

void ERGadastLaBrPoint::Print ( const Option_t *  opt = 0) const
virtual

Output to screen

Definition at line 57 of file ERGadastLaBrPoint.cxx.


The documentation for this class was generated from the following files: