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 21 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 45 of file PndMdtHit.h.

References PndMdtID::Box().

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

◆ GetLayerID()

Short_t PndMdtHit::GetLayerID ( ) const
inline

Definition at line 44 of file PndMdtHit.h.

References PndMdtID::Layer().

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

◆ GetModule()

Short_t PndMdtHit::GetModule ( ) const
inline

Public method Clear Resets the flag to -1Accessors

Definition at line 42 of file PndMdtHit.h.

References PndMdtID::Module().

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

◆ GetSector()

Short_t PndMdtHit::GetSector ( ) const
inline

Definition at line 43 of file PndMdtHit.h.

References PndMdtID::Sector().

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

◆ GetStrip()

Short_t PndMdtHit::GetStrip ( ) const
inline

Definition at line 48 of file PndMdtHit.h.

48 { return fStripID; };

◆ GetStrip1()

Short_t PndMdtHit::GetStrip1 ( ) const
inline

Definition at line 47 of file PndMdtHit.h.

References PndMdtID::Strip().

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

◆ GetStripIndex()

Int_t PndMdtHit::GetStripIndex ( ) const
inline

Definition at line 49 of file PndMdtHit.h.

49 { return fStripIndex; };

◆ GetWire()

Short_t PndMdtHit::GetWire ( ) const
inline

Definition at line 46 of file PndMdtHit.h.

References PndMdtID::Wire().

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

◆ 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: