PandaRoot
PndSdsGeo Class Reference

#include <PndSdsGeo.h>

Inheritance diagram for PndSdsGeo:
PndLmdGeo

Public Member Functions

 PndSdsGeo ()
 
 ~PndSdsGeo ()
 
const char * getModuleName (Int_t m)
 
const char * getEleName (Int_t m)
 
const char * getKeepinName (Int_t i, Int_t j)
 
Int_t getModNumInMod (const TString &name) const
 

Protected Member Functions

 ClassDef (PndSdsGeo, 1)
 

Protected Attributes

char fModName [20]
 
char fEleName [20]
 
char fKeepinName [20]
 

Detailed Description

Definition at line 6 of file PndSdsGeo.h.

Constructor & Destructor Documentation

◆ PndSdsGeo()

PndSdsGeo::PndSdsGeo ( )

◆ ~PndSdsGeo()

PndSdsGeo::~PndSdsGeo ( )
inline

Definition at line 9 of file PndSdsGeo.h.

References getEleName(), getKeepinName(), getModNumInMod(), getModuleName(), i, and m.

9 {}

Member Function Documentation

◆ ClassDef()

PndSdsGeo::ClassDef ( PndSdsGeo  ,
 
)
protected

◆ getEleName()

const char* PndSdsGeo::getEleName ( Int_t  m)

Referenced by ~PndSdsGeo().

◆ getKeepinName()

const char* PndSdsGeo::getKeepinName ( Int_t  i,
Int_t  j 
)

Referenced by ~PndSdsGeo().

◆ getModNumInMod()

Int_t PndSdsGeo::getModNumInMod ( const TString &  name) const
inline

returns the module index from module name

Definition at line 25 of file PndSdsGeo.h.

Referenced by ~PndSdsGeo().

26 {
28  return (Int_t)(name[3] - '0') - 1;
29 }

◆ getModuleName()

const char* PndSdsGeo::getModuleName ( Int_t  m)

Referenced by ~PndSdsGeo().

Member Data Documentation

◆ fEleName

char PndSdsGeo::fEleName[20]
protected

Definition at line 17 of file PndSdsGeo.h.

◆ fKeepinName

char PndSdsGeo::fKeepinName[20]
protected

Definition at line 18 of file PndSdsGeo.h.

◆ fModName

char PndSdsGeo::fModName[20]
protected

Definition at line 16 of file PndSdsGeo.h.


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