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