PandaRoot
PndFtofPoint Class Reference

#include <PndFtofPoint.h>

Inheritance diagram for PndFtofPoint:
PndMCPoint

Public Member Functions

 PndFtofPoint ()
 
 PndFtofPoint (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t distance, Double_t PLin, Double_t PLout)
 
 PndFtofPoint (const PndFtofPoint &point)
 
virtual ~PndFtofPoint ()
 
Int_t GetVolumeID () const
 
Double_t GetPLin () const
 
Double_t GetPLout () const
 
Double_t Getdist () const
 
TString GetDetName () const
 
Double_t GetMass () const
 
virtual void Print (const Option_t *opt) const
 
- Public Member Functions inherited from PndMCPoint
 PndMCPoint ()
 
virtual ~PndMCPoint ()
 
 PndMCPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 posOut, TVector3 mom, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, UInt_t EventId=0)
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
TVector3 GetPosition () const
 
TVector3 GetPositionOut () const
 
TVector3 GetMeanPosition () const
 
void PositionOut (TVector3 &pos) const
 
TVector3 GetMomentum () const
 
TVector3 GetMomentumOut () const
 
void MomentumOut (TVector3 &mom) const
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 

Protected Attributes

Double32_t fPLin = 0.
 
Double32_t fPLout = 0.
 
Double32_t fmass = 0.
 
Double32_t fcharge = 0.
 
Double32_t fdist = 0.
 
TString fDetName
 
Int_t fVolumeID = -999
 
Int_t fpdgCode = 0
 
- Protected Attributes inherited from PndMCPoint
Double32_t fXOut = 0.
 
Double32_t fYOut = 0.
 
Double32_t fZOut = 0.
 
Double32_t fPxOut = 0.
 
Double32_t fPyOut = 0.
 
Double32_t fPzOut = 0.
 

Additional Inherited Members

- Protected Member Functions inherited from PndMCPoint
 ClassDef (PndMCPoint, 1)
 

Detailed Description

Definition at line 15 of file PndFtofPoint.h.

Constructor & Destructor Documentation

◆ PndFtofPoint() [1/3]

PndFtofPoint::PndFtofPoint ( )

Default constructor

◆ PndFtofPoint() [2/3]

PndFtofPoint::PndFtofPoint ( Int_t  trackID,
Int_t  evtID,
Int_t  detID,
TString  detName,
TVector3  posin,
TVector3  momin,
TVector3  posout,
TVector3  momout,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Int_t  pdgCode,
Double_t  distance,
Double_t  PLin,
Double_t  PLout 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCcoordinates at entrance to active volume [cm]
posOutCoordinates at exit of active volume [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
posInLocalLocal coordinates at entrance to active volume [cm]
posOutLocalLocal coordinates at exit of active volume [cm]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

◆ PndFtofPoint() [3/3]

PndFtofPoint::PndFtofPoint ( const PndFtofPoint point)
inline

Copy constructor

Definition at line 39 of file PndFtofPoint.h.

References ~PndFtofPoint().

39 : PndMCPoint(point) { *this = point; };

◆ ~PndFtofPoint()

virtual PndFtofPoint::~PndFtofPoint ( )
virtual

Destructor

Referenced by PndFtofPoint().

Member Function Documentation

◆ GetDetName()

TString PndFtofPoint::GetDetName ( ) const
inline

Definition at line 53 of file PndFtofPoint.h.

References fDetName.

53 { return fDetName; };
TString fDetName
Definition: PndFtofPoint.h:66

◆ Getdist()

Double_t PndFtofPoint::Getdist ( ) const
inline

Definition at line 50 of file PndFtofPoint.h.

References fdist.

50 { return fdist; };
Double32_t fdist
Definition: PndFtofPoint.h:64

◆ GetMass()

Double_t PndFtofPoint::GetMass ( ) const
inline

Definition at line 54 of file PndFtofPoint.h.

References fmass, and Print().

54 { return fmass; };
Double32_t fmass
Definition: PndFtofPoint.h:62

◆ GetPLin()

Double_t PndFtofPoint::GetPLin ( ) const
inline

Definition at line 47 of file PndFtofPoint.h.

References fPLin.

47 { return fPLin; };
Double32_t fPLin
Definition: PndFtofPoint.h:60

◆ GetPLout()

Double_t PndFtofPoint::GetPLout ( ) const
inline

Definition at line 48 of file PndFtofPoint.h.

References fPLout.

48 { return fPLout; };
Double32_t fPLout
Definition: PndFtofPoint.h:61

◆ GetVolumeID()

Int_t PndFtofPoint::GetVolumeID ( ) const
inline

Accessors

Definition at line 45 of file PndFtofPoint.h.

References fVolumeID.

45 { return fVolumeID; };
Int_t fVolumeID
Definition: PndFtofPoint.h:68

◆ Print()

virtual void PndFtofPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Referenced by GetMass().

Member Data Documentation

◆ fcharge

Double32_t PndFtofPoint::fcharge = 0.
protected

Definition at line 63 of file PndFtofPoint.h.

◆ fDetName

TString PndFtofPoint::fDetName
protected

Definition at line 66 of file PndFtofPoint.h.

Referenced by GetDetName().

◆ fdist

Double32_t PndFtofPoint::fdist = 0.
protected

Definition at line 64 of file PndFtofPoint.h.

Referenced by Getdist().

◆ fmass

Double32_t PndFtofPoint::fmass = 0.
protected

Definition at line 62 of file PndFtofPoint.h.

Referenced by GetMass().

◆ fpdgCode

Int_t PndFtofPoint::fpdgCode = 0
protected

Definition at line 69 of file PndFtofPoint.h.

◆ fPLin

Double32_t PndFtofPoint::fPLin = 0.
protected

Definition at line 60 of file PndFtofPoint.h.

Referenced by GetPLin().

◆ fPLout

Double32_t PndFtofPoint::fPLout = 0.
protected

Definition at line 61 of file PndFtofPoint.h.

Referenced by GetPLout().

◆ fVolumeID

Int_t PndFtofPoint::fVolumeID = -999
protected

Definition at line 68 of file PndFtofPoint.h.

Referenced by GetVolumeID().


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