PandaRoot
PndMdtHit Class Reference

#include <PndMdtHit.h>

Inheritance diagram for PndMdtHit:

Public Member Functions

 PndMdtHit ()
 
 PndMdtHit (Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t index)
 
 PndMdtHit (Int_t detID, Int_t stripID, TVector3 &pos, TVector3 &dpos, Int_t bIndex, Int_t sIndex)
 
 PndMdtHit (Int_t detID, Int_t detID1, TVector3 &pos, TVector3 &dpos, Int_t bIndex)
 
virtual ~PndMdtHit ()
 
virtual void Print (const Option_t *opt=nullptr) const
 
Short_t GetModule () const
 
Short_t GetSector () const
 
Short_t GetLayerID () const
 
Short_t GetBox () const
 
Short_t GetWire () const
 
Short_t GetStrip1 () const
 
Short_t GetStrip () const
 
Int_t GetStripIndex () const
 

Detailed Description

Definition at line 9 of file PndMdtHit.h.

Constructor & Destructor Documentation

◆ PndMdtHit() [1/4]

PndMdtHit::PndMdtHit ( )

◆ PndMdtHit() [2/4]

PndMdtHit::PndMdtHit ( Int_t  detID,
TVector3 &  pos,
TVector3 &  dpos,
Int_t  index 
)

◆ PndMdtHit() [3/4]

PndMdtHit::PndMdtHit ( Int_t  detID,
Int_t  stripID,
TVector3 &  pos,
TVector3 &  dpos,
Int_t  bIndex,
Int_t  sIndex 
)

◆ PndMdtHit() [4/4]

PndMdtHit::PndMdtHit ( Int_t  detID,
Int_t  detID1,
TVector3 &  pos,
TVector3 &  dpos,
Int_t  bIndex 
)

◆ ~PndMdtHit()

virtual PndMdtHit::~PndMdtHit ( )
virtual

Member Function Documentation

◆ GetBox()

Short_t PndMdtHit::GetBox ( ) const
inline

Definition at line 33 of file PndMdtHit.h.

References PndMdtID::Box().

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

◆ GetLayerID()

Short_t PndMdtHit::GetLayerID ( ) const
inline

Definition at line 32 of file PndMdtHit.h.

References PndMdtID::Layer().

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

◆ GetModule()

Short_t PndMdtHit::GetModule ( ) const
inline

Public method Clear Resets the flag to -1Accessors

Definition at line 30 of file PndMdtHit.h.

References PndMdtID::Module().

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

◆ GetSector()

Short_t PndMdtHit::GetSector ( ) const
inline

Definition at line 31 of file PndMdtHit.h.

References PndMdtID::Sector().

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

◆ GetStrip()

Short_t PndMdtHit::GetStrip ( ) const
inline

Definition at line 36 of file PndMdtHit.h.

36 { return fStripID; };

◆ GetStrip1()

Short_t PndMdtHit::GetStrip1 ( ) const
inline

Definition at line 35 of file PndMdtHit.h.

References PndMdtID::Strip().

35 { return PndMdtID::Strip(fDetID1); }
static Short_t Strip(Int_t detID)
Definition: PndMdtID.h:21

◆ GetStripIndex()

Int_t PndMdtHit::GetStripIndex ( ) const
inline

Definition at line 37 of file PndMdtHit.h.

37 { return fStripIndex; };

◆ GetWire()

Short_t PndMdtHit::GetWire ( ) const
inline

Definition at line 34 of file PndMdtHit.h.

References PndMdtID::Wire().

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

◆ Print()

virtual void PndMdtHit::Print ( const Option_t *  opt = nullptr) const
virtual

Output to screen (not yet implemented)


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