PandaRoot
PndGeoFts.h
Go to the documentation of this file.
1
#ifndef PNDGEOFTS_H
2
#define PNDGEOFTS_H
3
4
#include "FairGeoSet.h"
5
6
class
PndGeoFts
:
public
FairGeoSet {
7
protected
:
8
char
modName
[40];
// name of module
9
char
eleName
[40];
// substring for elements in module
10
public
:
11
PndGeoFts
();
12
~PndGeoFts
() {}
13
const
char
*
getModuleName
(Int_t);
14
const
char
*
getEleName
(Int_t);
15
inline
Int_t
getModNumInMod
(
const
TString &);
16
ClassDef(
PndGeoFts
, 0)
// Class for Fts
17
};
18
19
inline
Int_t
PndGeoFts::getModNumInMod
(
const
TString &name)
20
{
21
// returns the module index from module name
22
23
return
(Int_t)(name[3] -
'0'
) - 1;
24
}
25
26
#endif
/* !PNDGEOFTS_H */
PndGeoFts::modName
char modName[40]
Definition:
PndGeoFts.h:8
PndGeoFts::getEleName
const char * getEleName(Int_t)
PndGeoFts::eleName
char eleName[40]
Definition:
PndGeoFts.h:9
PndGeoFts::~PndGeoFts
~PndGeoFts()
Definition:
PndGeoFts.h:12
PndGeoFts
Definition:
PndGeoFts.h:6
PndGeoFts::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition:
PndGeoFts.h:19
PndGeoFts::PndGeoFts
PndGeoFts()
PndGeoFts::getModuleName
const char * getModuleName(Int_t)
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
detectors
fts
PndGeoFts.h
Generated on Fri Oct 21 2022 07:03:58 for PandaRoot by
1.8.13