PandaRoot
PndMdtPoint Class Reference

#include <PndMdtPoint.h>

Inheritance diagram for PndMdtPoint:
PndMCPoint

Public Member Functions

 PndMdtPoint ()
 
 PndMdtPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, TVector3 pos_in, TVector3 mom_in)
 
virtual ~PndMdtPoint ()
 
TVector3 GetPosIn () const
 
TVector3 GetMomIn () const
 
TVector3 GetPosOut () const
 
TVector3 GetMomOut () const
 
Short_t GetModule () const
 
Short_t GetSector () const
 
Short_t GetLayerID () const
 
Short_t GetBox () const
 
Short_t GetWire () 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)
 

Additional Inherited Members

- Protected Member Functions inherited from PndMCPoint
 ClassDef (PndMCPoint, 1)
 
- 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.
 

Detailed Description

Definition at line 11 of file PndMdtPoint.h.

Constructor & Destructor Documentation

◆ PndMdtPoint() [1/2]

PndMdtPoint::PndMdtPoint ( )

Default constructor

◆ PndMdtPoint() [2/2]

PndMdtPoint::PndMdtPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
TVector3  pos_in,
TVector3  mom_in 
)

Constructor with arguments

Parameters
Int_tfEventID The ID of the event
Int_tfTrackID The ID of the track
Int_tfDetectorID The ID of the detector
TVector3fPosIn The position of the hit [cm] at the exitentrance point
TVector3fMomIn The momentum of the particle giving the hit [GeV] at the exitentrance point
TVector3fPos The position of the hit [cm] at the exit point
TVector3fMom The momentum of the particle giving the hit [GeV] at the exit point
Double_tfELoss contains the total energy at the layer [GeV] because it is omitted in parsInitializing constructor - see the above order

◆ ~PndMdtPoint()

virtual PndMdtPoint::~PndMdtPoint ( )
virtual

Copy constructor Destructor

Member Function Documentation

◆ GetBox()

Short_t PndMdtPoint::GetBox ( ) const
inline

Definition at line 47 of file PndMdtPoint.h.

References PndMdtID::Box().

47 { return PndMdtID::Box(GetDetectorID()); }
static Short_t Box(Int_t detID)
Definition: PndMdtID.h:19

◆ GetLayerID()

Short_t PndMdtPoint::GetLayerID ( ) const
inline

Definition at line 46 of file PndMdtPoint.h.

References PndMdtID::Layer().

46 { return PndMdtID::Layer(GetDetectorID()); }
static Short_t Layer(Int_t detID)
Definition: PndMdtID.h:18

◆ GetModule()

Short_t PndMdtPoint::GetModule ( ) const
inline

Definition at line 44 of file PndMdtPoint.h.

References PndMdtID::Module().

44 { return PndMdtID::Module(GetDetectorID()); }
static Short_t Module(Int_t detID)
Definition: PndMdtID.h:16

◆ GetMomIn()

TVector3 PndMdtPoint::GetMomIn ( ) const
inline

Definition at line 40 of file PndMdtPoint.h.

References PndMCPoint::GetMomentum().

40 { return GetMomentum(); }
TVector3 GetMomentum() const
Definition: PndMCPoint.h:34

◆ GetMomOut()

TVector3 PndMdtPoint::GetMomOut ( ) const
inline

Definition at line 42 of file PndMdtPoint.h.

References PndMCPoint::GetMomentumOut().

42 { return GetMomentumOut(); }
TVector3 GetMomentumOut() const
Definition: PndMCPoint.h:35

◆ GetPosIn()

TVector3 PndMdtPoint::GetPosIn ( ) const
inline

Accessors

Definition at line 39 of file PndMdtPoint.h.

References PndMCPoint::GetPosition().

39 { return GetPosition(); }
TVector3 GetPosition() const
Definition: PndMCPoint.h:29

◆ GetPosOut()

TVector3 PndMdtPoint::GetPosOut ( ) const
inline

Definition at line 41 of file PndMdtPoint.h.

References PndMCPoint::GetPositionOut().

41 { return GetPositionOut(); }
TVector3 GetPositionOut() const
Definition: PndMCPoint.h:30

◆ GetSector()

Short_t PndMdtPoint::GetSector ( ) const
inline

Definition at line 45 of file PndMdtPoint.h.

References PndMdtID::Sector().

45 { return PndMdtID::Sector(GetDetectorID()); }
static Short_t Sector(Int_t detID)
Definition: PndMdtID.h:17

◆ GetWire()

Short_t PndMdtPoint::GetWire ( ) const
inline

Definition at line 48 of file PndMdtPoint.h.

References PndMCPoint::ClassDef(), Print(), and PndMdtID::Wire().

48 { return PndMdtID::Wire(GetDetectorID()); }
static Short_t Wire(Int_t detID)
Definition: PndMdtID.h:20

◆ Print()

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

Modifiers Output to screen

Referenced by GetWire().


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