FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MyGeoCave.h
Go to the documentation of this file.
1 
2 /********************************************************************************
3  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
4  * *
5  * This software is distributed under the terms of the *
6  * GNU Lesser General Public Licence (LGPL) version 3, *
7  * copied verbatim in the file "LICENSE" *
8  ********************************************************************************/
9 
10 // -------------------------------------------------------------------------
11 // ----- MyGeoCave file -----
12 // ----- Created 26/03/14 by M. Al-Turany -----
13 // -------------------------------------------------------------------------
14 
15 #ifndef MYGEOCAVE_H
16 #define MYGEOCAVE_H
17 
18 #include "FairGeoSet.h" // for FairGeoSet
19 
20 #include <Rtypes.h> // for MyGeoCave::Class, Bool_t, etc
21 #include <TString.h> // for TString
22 #include <fstream> // for fstream
23 #include <iosfwd> // for fstream
24 
25 class FairGeoMedia;
26 
27 class MyGeoCave : public FairGeoSet
28 {
29  protected:
30  TString name;
31 
32  public:
33  MyGeoCave();
35  const char* getModuleName(Int_t) { return name.Data(); }
36  Bool_t read(std::fstream&, FairGeoMedia*);
37  void addRefNodes();
38  void write(std::fstream&);
39  void print();
40  ClassDef(MyGeoCave, 0); // Class for the geometry of CAVE
41 };
42 
43 #endif /* !MyGEOCAVE_H */
void addRefNodes()
Definition: MyGeoCave.cxx:102
~MyGeoCave()
Definition: MyGeoCave.h:34
void write(std::fstream &)
ClassDef(MyGeoCave, 0)
TString name
Definition: MyGeoCave.h:30
void print()
Definition: MyGeoCave.cxx:126
const char * getModuleName(Int_t)
Definition: MyGeoCave.h:35
Bool_t read(std::fstream &, FairGeoMedia *)