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

#include <ERBeamDetTOFPoint.h>

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

Public Member Functions

 ERBeamDetTOFPoint ()
 
 ERBeamDetTOFPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Int_t pid, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t ToF, Double_t length, Double_t eLoss, Double_t lightYield, Int_t ToFNb)
 
 ERBeamDetTOFPoint (const ERBeamDetTOFPoint &)
 
virtual ~ERBeamDetTOFPoint ()
 
ERBeamDetTOFPointoperator= (const ERBeamDetTOFPoint &)
 
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
 
Int_t GetPID () const
 
Int_t GetToFNb () const
 
void PositionIn (TVector3 &pos)
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
Float_t LightYield () const
 
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
 
Int_t fPid
 
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 fLightYield
 
Int_t fToFNb
 

Detailed Description

ERBeamDetTOFPoint.h

Definition at line 20 of file ERBeamDetTOFPoint.h.

Constructor & Destructor Documentation

ERBeamDetTOFPoint::ERBeamDetTOFPoint ( )

Default constructor

Definition at line 9 of file ERBeamDetTOFPoint.cxx.

ERBeamDetTOFPoint::ERBeamDetTOFPoint ( Int_t  eventID,
Int_t  trackID,
Int_t  mot0trackID,
Int_t  pid,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  ToF,
Double_t  length,
Double_t  eLoss,
Double_t  lightYield,
Int_t  ToFNb 
)

Constructor with arguments

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

Definition at line 16 of file ERBeamDetTOFPoint.cxx.

ERBeamDetTOFPoint::ERBeamDetTOFPoint ( const ERBeamDetTOFPoint right)

Copy constructor

Definition at line 32 of file ERBeamDetTOFPoint.cxx.

ERBeamDetTOFPoint::~ERBeamDetTOFPoint ( )
virtual

Destructor

Definition at line 40 of file ERBeamDetTOFPoint.cxx.

Member Function Documentation

Int_t ERBeamDetTOFPoint::GetEventID ( ) const
inline

Accessors

Definition at line 63 of file ERBeamDetTOFPoint.h.

Double_t ERBeamDetTOFPoint::GetX ( Double_t  z) const

Point coordinates at given z from linear extrapolation

Definition at line 55 of file ERBeamDetTOFPoint.cxx.

Bool_t ERBeamDetTOFPoint::IsUsable ( ) const

Check for distance between in and out

Definition at line 73 of file ERBeamDetTOFPoint.cxx.

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

Output to screen

Definition at line 44 of file ERBeamDetTOFPoint.cxx.


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