BmnRoot
Loading...
Searching...
No Matches
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
15class 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:
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 */
ClassDef(FairGeoMagnet, 0)
const char * getEleName(Int_t)
const char * getModuleName(Int_t)