PandaRoot
PndGeoOt Class Reference

#include <PndGeoOt.h>

Inheritance diagram for PndGeoOt:

Public Member Functions

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

Protected Attributes

std::string modName
 
std::string eleName
 

Detailed Description

Definition at line 29 of file PndGeoOt.h.

Constructor & Destructor Documentation

◆ PndGeoOt()

PndGeoOt::PndGeoOt ( )

◆ ~PndGeoOt()

PndGeoOt::~PndGeoOt ( )
inline

Definition at line 35 of file PndGeoOt.h.

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

35 {}

Member Function Documentation

◆ getEleName()

const char* PndGeoOt::getEleName ( Int_t  )

Referenced by ~PndGeoOt().

◆ getModNumInMod()

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

Definition at line 42 of file PndGeoOt.h.

Referenced by ~PndGeoOt().

43 {
44  // returns the module index from module name
45 
46  return (Int_t)(name[2] - '0') - 1;
47 }

◆ getModuleName()

const char* PndGeoOt::getModuleName ( Int_t  )

Referenced by ~PndGeoOt().

Member Data Documentation

◆ eleName

std::string PndGeoOt::eleName
protected

Definition at line 32 of file PndGeoOt.h.

◆ modName

std::string PndGeoOt::modName
protected

Definition at line 31 of file PndGeoOt.h.


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