CbmRoot
CbmGeoCave.h
Go to the documentation of this file.
1 #ifndef CBMGEOCAVE_H
2 #define CBMGEOCAVE_H
3 
4 #include "FairGeoSet.h"
5 
6 #include "TString.h"
7 
8 #include <fstream>
9 
10 class FairGeoMedia;
11 
12 class CbmGeoCave : public FairGeoSet {
13 protected:
14  TString name;
15 
16 public:
19  const char* getModuleName(Int_t) { return name.Data(); }
20  Bool_t read(std::fstream&, FairGeoMedia*);
21  void addRefNodes();
22  void write(std::fstream&);
23  void print();
24  ClassDef(CbmGeoCave, 0) // Class for the geometry of CAVE
25 };
26 
27 #endif /* !CBMGEOCAVE_H */
CbmGeoCave::~CbmGeoCave
~CbmGeoCave()
Definition: CbmGeoCave.h:18
CbmGeoCave::CbmGeoCave
CbmGeoCave()
CbmGeoCave::read
Bool_t read(std::fstream &, FairGeoMedia *)
Definition: CbmGeoCave.cxx:33
CbmGeoCave::getModuleName
const char * getModuleName(Int_t)
Definition: CbmGeoCave.h:19
CbmGeoCave::print
void print()
Definition: CbmGeoCave.cxx:103
CbmGeoCave::name
TString name
Definition: CbmGeoCave.h:14
CbmGeoCave
Definition: CbmGeoCave.h:12
CbmGeoCave::write
void write(std::fstream &)
Definition: CbmGeoCave.cxx:87
CbmGeoCave::addRefNodes
void addRefNodes()
Definition: CbmGeoCave.cxx:81