PandaRoot
PndMdtPoint Class Reference

#include <PndMdtPoint.h>

Inheritance diagram for PndMdtPoint:

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 Attributes

ClassDef(PndMdtPoint, 2) protected TVector3 fMomIn
 

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
TLorentzVectorfPosIn The position of the hit [cm] at the exitentrance point
TLorentzVectorfMomIn The momentum of the particle giving the hit [GeV] at the exitentrance point
TLorentzVectorfPos The position of the hit [cm] at the exit point
TLorentzVectorfMom 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 fMomIn.

40 { return fMomIn; }
ClassDef(PndMdtPoint, 2) protected TVector3 fMomIn
Definition: PndMdtPoint.h:55

◆ GetMomOut()

TVector3 PndMdtPoint::GetMomOut ( ) const
inline

Definition at line 42 of file PndMdtPoint.h.

42 { return TVector3(fPx, fPy, fPz); }

◆ GetPosIn()

TVector3 PndMdtPoint::GetPosIn ( ) const
inline

Accessors

Definition at line 39 of file PndMdtPoint.h.

39 { return fPosIn; }

◆ GetPosOut()

TVector3 PndMdtPoint::GetPosOut ( ) const
inline

Definition at line 41 of file PndMdtPoint.h.

41 { return TVector3(fX, fY, fZ); }

◆ 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 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().

Member Data Documentation

◆ fMomIn

ClassDef (PndMdtPoint, 2) protected TVector3 PndMdtPoint::fMomIn

Definition at line 55 of file PndMdtPoint.h.

Referenced by GetMomIn().


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