PandaRoot
PndGeoFts Class Reference

#include <PndGeoFts.h>

Inheritance diagram for PndGeoFts:

Public Member Functions

 PndGeoFts ()
 
 ~PndGeoFts ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 
Int_t getModNumInMod (const TString &)
 

Protected Attributes

char modName [40]
 
char eleName [40]
 

Detailed Description

Definition at line 6 of file PndGeoFts.h.

Constructor & Destructor Documentation

◆ PndGeoFts()

PndGeoFts::PndGeoFts ( )

◆ ~PndGeoFts()

PndGeoFts::~PndGeoFts ( )
inline

Definition at line 12 of file PndGeoFts.h.

References getEleName(), getModNumInMod(), and getModuleName().

12 {}

Member Function Documentation

◆ getEleName()

const char* PndGeoFts::getEleName ( Int_t  )

Referenced by ~PndGeoFts().

◆ getModNumInMod()

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

Definition at line 19 of file PndGeoFts.h.

Referenced by ~PndGeoFts().

20 {
21  // returns the module index from module name
22 
23  return (Int_t)(name[3] - '0') - 1;
24 }

◆ getModuleName()

const char* PndGeoFts::getModuleName ( Int_t  )

Referenced by ~PndGeoFts().

Member Data Documentation

◆ eleName

char PndGeoFts::eleName[40]
protected

Definition at line 9 of file PndGeoFts.h.

◆ modName

char PndGeoFts::modName[40]
protected

Definition at line 8 of file PndGeoFts.h.


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