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

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

#include <ERNeuRadPoint.h>

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

Public Member Functions

 ERNeuRadPoint ()
 
 ERNeuRadPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Int_t fiberNb, Int_t pixelNb, Int_t moduleNb, 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)
 
 ERNeuRadPoint (const ERNeuRadPoint &)
 
virtual ~ERNeuRadPoint ()
 
ERNeuRadPointoperator= (const ERNeuRadPoint &)
 
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 GetModuleNb ()
 
Int_t GetPixelNb ()
 
Int_t GetFiberNb () const
 
Int_t GetPID () const
 
Double_t GetCharge () const
 
Double_t GetTime () const
 
Double_t GetTimeIn () const
 
Double_t GetTimeOut () 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 fFiberNb
 
Int_t fPixelNb
 
Int_t fModuleNb
 
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 22 of file ERNeuRadPoint.h.

Constructor & Destructor Documentation

ERNeuRadPoint::ERNeuRadPoint ( )

Default constructor

Definition at line 13 of file ERNeuRadPoint.cxx.

ERNeuRadPoint::ERNeuRadPoint ( Int_t  eventID,
Int_t  trackID,
Int_t  mot0trackID,
Int_t  fiberNb,
Int_t  pixelNb,
Int_t  moduleNb,
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 22 of file ERNeuRadPoint.cxx.

ERNeuRadPoint::ERNeuRadPoint ( const ERNeuRadPoint right)

Copy constructor

Definition at line 43 of file ERNeuRadPoint.cxx.

ERNeuRadPoint::~ERNeuRadPoint ( )
virtual

Destructor

Definition at line 55 of file ERNeuRadPoint.cxx.

Member Function Documentation

Int_t ERNeuRadPoint::GetEventID ( ) const
inline

Accessors

Definition at line 62 of file ERNeuRadPoint.h.

Double_t ERNeuRadPoint::GetX ( Double_t  z) const

Point coordinates at given z from linear extrapolation

Definition at line 73 of file ERNeuRadPoint.cxx.

Bool_t ERNeuRadPoint::IsUsable ( ) const

Check for distance between in and out

Definition at line 93 of file ERNeuRadPoint.cxx.

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

Output to screen

Definition at line 61 of file ERNeuRadPoint.cxx.

void ERNeuRadPoint::SetLightYield ( Double_t  ly)
inline

Modifies

Definition at line 111 of file ERNeuRadPoint.h.


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