FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoTarget.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 FAIRGEOTARGET_H
9 #define FAIRGEOTARGET_H
10 
11 #include "FairGeoSet.h" // for FairGeoSet
12 
13 #include <Rtypes.h> // for FairGeoTarget::Class, Int_t, etc
14 
15 class FairGeoTarget : public FairGeoSet
16 {
17  protected:
18  char modName[2]; // name of module
19  char eleName[2]; // substring for elements in module
20  public:
21  FairGeoTarget();
23  const char* getModuleName(Int_t) { return modName; }
24  const char* getEleName(Int_t) { return eleName; }
25  ClassDef(FairGeoTarget, 0); // Class for geometry of Target
26 };
27 
28 #endif /* !FAIRGEOTARGET_H */
ClassDef(FairGeoTarget, 0)
const char * getEleName(Int_t)
Definition: FairGeoTarget.h:24
char modName[2]
Definition: FairGeoTarget.h:18
char eleName[2]
Definition: FairGeoTarget.h:19
const char * getModuleName(Int_t)
Definition: FairGeoTarget.h:23