er  dev
Public Member Functions | Protected Attributes | List of all members
ERPoint Class Reference

The data class for storing pieces of charged tracks in sensitive volumes in NeuRad. More...

#include <ERPoint.h>

Inheritance diagram for ERPoint:
Inheritance graph
[legend]
Collaboration diagram for ERPoint:
Collaboration graph
[legend]

Public Member Functions

 ERPoint ()
 
 ERPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Int_t fVolNb, Double_t mass, TVector3 posIn, TVector3 posInLoc, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t timeIn, Double_t timeOut, Double_t trackLength, Double_t eLoss, Double_t lightYield, Int_t pid, Double_t charge)
 
 ERPoint (const ERPoint &)
 
virtual ~ERPoint ()
 
ERPointoperator= (const ERPoint &)
 
Int_t GetEventID () const
 
Int_t GetMot0TrackID () const
 
Double_t GetXIn () const
 
Double_t GetYIn () const
 
Double_t GetZIn () const
 
Double_t GetXInLocal () const
 
Double_t GetYInLocal () const
 
Double_t GetZInLocal () const
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxIn () const
 
Double_t GetPyIn () const
 
Double_t GetPzIn () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
Double_t GetPIn () const
 
Double_t GetPOut () const
 
Double_t GetMass () const
 
Double_t GetLightYield () const
 
Int_t GetPID () const
 
Double_t GetCharge () const
 
Double_t GetTime () const
 
Double_t GetTimeIn () const
 
Double_t GetTimeOut () const
 
Double_t GetVolNb () const
 
Double_t GetLength () 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
 
Double_t GetP (Double_t pointLen) const
 
Double_t GetTime (Double_t pointLen) const
 
Bool_t IsUsable () const
 
virtual void Print (const Option_t *opt=0) const
 
void SetLightYield (Double_t ly)
 
void SetTimeIn (Double_t t)
 
void SetXIn (Double_t xin)
 
void SetXOut (Double_t xout)
 
void SetYIn (Double_t yin)
 
void SetYOut (Double_t yout)
 
void SetZIn (Double_t zin)
 
void SetZOut (Double_t zout)
 

Protected Attributes

Int_t fEventID
 
Int_t fMot0TrackID
 
Int_t fVolNb
 
Double_t fMass
 
Double32_t fXlocal
 
Double32_t fYlocal
 
Double32_t fZlocal
 
Double32_t fX_out
 
Double32_t fY_out
 
Double32_t fZ_out
 
Double32_t fPx_out
 
Double32_t fPy_out
 
Double32_t fPz_out
 
Double_t fTimeIn
 
Double_t fTimeOut
 
Double_t fLightYield
 
Int_t fPID
 
Double_t fCharge
 
Double_t fTrackLength
 

Detailed Description

The data class for storing pieces of charged tracks in sensitive volumes in NeuRad.

Author
V.Schetinin sch_v.nosp@m.ital.nosp@m.iy@ma.nosp@m.il.r.nosp@m.u
Version
1.0

Definition at line 23 of file ERPoint.h.

Constructor & Destructor Documentation

ERPoint::ERPoint ( )

Default constructor

Definition at line 17 of file ERPoint.cxx.

ERPoint::ERPoint ( Int_t  eventID,
Int_t  trackID,
Int_t  mot0trackID,
Int_t  fVolNb,
Double_t  mass,
TVector3  posIn,
TVector3  posInLoc,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  timeIn,
Double_t  timeOut,
Double_t  trackLength,
Double_t  eLoss,
Double_t  lightYield,
Int_t  pid,
Double_t  charge 
)

Constructor with arguments

Parameters
EventIDIndex of Event
trackIDIndex of MCTrack
mot0trackIDIndex of Mother MCTrack
fiberInModuleNbnumber of fiber in module
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]
lightYieldEnergy deposit [MeV]

Definition at line 25 of file ERPoint.cxx.

ERPoint::ERPoint ( const ERPoint right)

Copy constructor

Definition at line 47 of file ERPoint.cxx.

ERPoint::~ERPoint ( )
virtual

Destructor

Definition at line 61 of file ERPoint.cxx.

Member Function Documentation

Int_t ERPoint::GetEventID ( ) const
inline

Accessors

Definition at line 67 of file ERPoint.h.

Double_t ERPoint::GetX ( Double_t  z) const

Point coordinates at given z from linear extrapolation

Definition at line 83 of file ERPoint.cxx.

Bool_t ERPoint::IsUsable ( ) const

Check for distance between in and out

Definition at line 107 of file ERPoint.cxx.

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

Output to screen

Definition at line 69 of file ERPoint.cxx.

void ERPoint::SetLightYield ( Double_t  ly)
inline

Modifies

Definition at line 115 of file ERPoint.h.


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