FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoMagnet.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef FAIRGEOMAGNET_H
9 #define FAIRGEOMAGNET_H
10 
11 #include "FairGeoSet.h" // for FairGeoSet
12 
13 #include <Rtypes.h> // for FairGeoMagnet::Class, Int_t, etc
14 
15 class FairGeoMagnet : public FairGeoSet
16 {
17  protected:
18  char modName[2]; // name of module
19  char eleName[2]; // substring for elements in module
20 
21  public:
22  FairGeoMagnet();
24  const char* getModuleName(Int_t) { return modName; }
25  const char* getEleName(Int_t) { return eleName; }
26  ClassDef(FairGeoMagnet, 0); // Class for the geometry of Magnet
27 };
28 
29 #endif /* !FAIRGEOMAGNET_H */
char eleName[2]
Definition: FairGeoMagnet.h:19
const char * getEleName(Int_t)
Definition: FairGeoMagnet.h:25
ClassDef(FairGeoMagnet, 0)
const char * getModuleName(Int_t)
Definition: FairGeoMagnet.h:24
char modName[2]
Definition: FairGeoMagnet.h:18