FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
fts
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
{
8
protected
:
9
char
modName
[40];
// name of module
10
char
eleName
[40];
// substring for elements in module
11
public
:
12
PndGeoFts
();
13
~PndGeoFts
() {}
14
const
char
*
getModuleName
(Int_t);
15
const
char
*
getEleName
(Int_t);
16
inline
Int_t
getModNumInMod
(
const
TString
&);
17
ClassDef(
PndGeoFts
,0)
// Class for Fts
18
};
19
20
inline
Int_t
PndGeoFts::getModNumInMod
(
const
TString
&
name
) {
21
// returns the module index from module name
22
23
24
return
(Int_t)(name[3]-
'0'
)-1;
25
}
26
27
#endif
/* !PNDGEOFTS_H */
PndGeoFts::modName
char modName[40]
Definition:
PndGeoFts.h:9
PndGeoFts::eleName
char eleName[40]
Definition:
PndGeoFts.h:10
PndGeoFts::~PndGeoFts
~PndGeoFts()
Definition:
PndGeoFts.h:13
PndGeoFts
Definition:
PndGeoFts.h:6
PndGeoFts::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition:
PndGeoFts.h:20
PndGeoFts::getModuleName
const char * getModuleName(Int_t)
Definition:
PndGeoFts.cxx:21
PndGeoFts::getEleName
const char * getEleName(Int_t)
Definition:
PndGeoFts.cxx:32
TString
TString
Definition:
SimCompleteLinkDef.h:6
name
TString name
Definition:
createRootGeoFile.C:82
PndGeoFts::PndGeoFts
PndGeoFts()
Generated on Sun Aug 18 2019 03:01:29 for FairRoot/PandaRoot by
1.8.8