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