PandaRoot
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  public:
8  PndSdsGeo();
9  ~PndSdsGeo() {}
10  const char *getModuleName(Int_t m);
11  const char *getEleName(Int_t m);
12  const char *getKeepinName(Int_t i, Int_t j);
13  inline Int_t getModNumInMod(const TString &name) const;
14 
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
26 {
28  return (Int_t)(name[3] - '0') - 1;
29 }
30 
31 #endif /* !PNDSDSGEO_H */
const char * getKeepinName(Int_t i, Int_t j)
__m128 m
Definition: P4_F32vec4.h:26
char fEleName[20]
Definition: PndSdsGeo.h:17
char fKeepinName[20]
Definition: PndSdsGeo.h:18
char fModName[20]
Definition: PndSdsGeo.h:16
unsigned int i
Definition: P4_F32vec4.h:21
ClassDef(PndSdsGeo, 1)
const char * getEleName(Int_t m)
const char * getModuleName(Int_t m)
~PndSdsGeo()
Definition: PndSdsGeo.h:9
Int_t getModNumInMod(const TString &name) const
Definition: PndSdsGeo.h:25