FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
stt
PndGeoStt.h
Go to the documentation of this file.
1
#ifndef PNDGEOSTT_H
2
#define PNDGEOSTT_H
3
4
#include "FairGeoSet.h"
5
6
class
PndGeoStt
:
public
FairGeoSet
7
{
8
protected
:
9
char
modName
[20];
// name of module
10
char
eleName
[20];
// substring for elements in module
11
public
:
12
PndGeoStt
();
13
~PndGeoStt
() {}
14
const
char
*
getModuleName
(Int_t);
15
const
char
*
getEleName
(Int_t);
16
inline
Int_t
getModNumInMod
(
const
TString
&);
17
ClassDef(
PndGeoStt
,0)
// Class for Stt
18
};
19
20
// TODO: we don't need this?
21
22
inline
Int_t
PndGeoStt::getModNumInMod
(
const
TString
&
name
) {
23
// returns the module index from module name
24
25
26
return
(Int_t)(name[3]-
'0'
)-1;
27
}
28
29
#endif
/* !PNDGEOSTT_H */
PndGeoStt::PndGeoStt
PndGeoStt()
PndGeoStt::~PndGeoStt
~PndGeoStt()
Definition:
PndGeoStt.h:13
PndGeoStt::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition:
PndGeoStt.h:22
PndGeoStt
Definition:
PndGeoStt.h:6
PndGeoStt::getModuleName
const char * getModuleName(Int_t)
Definition:
PndGeoStt.cxx:24
PndGeoStt::modName
char modName[20]
Definition:
PndGeoStt.h:9
TString
TString
Definition:
SimCompleteLinkDef.h:6
name
TString name
Definition:
createRootGeoFile.C:82
PndGeoStt::eleName
char eleName[20]
Definition:
PndGeoStt.h:10
PndGeoStt::getEleName
const char * getEleName(Int_t)
Definition:
PndGeoStt.cxx:34
Generated on Sun Aug 18 2019 03:01:30 for FairRoot/PandaRoot by
1.8.8