PandaRoot
BSEmcDetectorID Class Reference

#include <BSEmcDetectorID.h>

Public Member Functions

 BSEmcDetectorID (Int_t t_detectorId=0)
 
virtual ~BSEmcDetectorID ()
 
Short_t GetModule () const
 
Short_t GetRow () const
 
Short_t GetColumn () const
 
Short_t GetCopy () const
 
Short_t GetXPad () const
 
Short_t GetYPad () const
 
Int_t GetDetectorId () const
 

Detailed Description

Definition at line 25 of file BSEmcDetectorID.h.

Constructor & Destructor Documentation

◆ BSEmcDetectorID()

BSEmcDetectorID::BSEmcDetectorID ( Int_t  t_detectorId = 0)

◆ ~BSEmcDetectorID()

virtual BSEmcDetectorID::~BSEmcDetectorID ( )
virtual

Member Function Documentation

◆ GetColumn()

Short_t BSEmcDetectorID::GetColumn ( ) const
inline

Definition at line 32 of file BSEmcDetectorID.h.

32 { return (fDetectorId % 10000); };

◆ GetCopy()

Short_t BSEmcDetectorID::GetCopy ( ) const
inline

Definition at line 33 of file BSEmcDetectorID.h.

References GetXPad(), and GetYPad().

33 { return ((fDetectorId / 10000) % 100); };

◆ GetDetectorId()

Int_t BSEmcDetectorID::GetDetectorId ( ) const
inline

Definition at line 36 of file BSEmcDetectorID.h.

36 { return fDetectorId; };

◆ GetModule()

Short_t BSEmcDetectorID::GetModule ( ) const
inline

Definition at line 30 of file BSEmcDetectorID.h.

30 { return (fDetectorId / 100000000); };

◆ GetRow()

Short_t BSEmcDetectorID::GetRow ( ) const
inline

Definition at line 31 of file BSEmcDetectorID.h.

31 { return ((fDetectorId / 1000000) % 100); };

◆ GetXPad()

Short_t BSEmcDetectorID::GetXPad ( ) const

Referenced by GetCopy().

◆ GetYPad()

Short_t BSEmcDetectorID::GetYPad ( ) const

Referenced by GetCopy().


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