FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoShapes.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 FAIRGEOSHAPES_H
9 #define FAIRGEOSHAPES_H
10 
11 #include <Rtypes.h> // for FairGeoShapes::Class, etc
12 #include <TObject.h> // for TObject
13 #include <TString.h> // for TString
14 #include <iosfwd> // for fstream
15 
16 class FairGeoVolume;
17 class FairGeoBasicShape;
18 class TList;
23 class FairGeoShapes : public TObject
24 {
25  private:
27  FairGeoShapes& operator=(const FairGeoShapes&);
28 
29  protected:
30  TList* shapes; // list of already created shape classes
31 
32  public:
33  FairGeoShapes();
36  FairGeoBasicShape* selectShape(const TString&);
37  Int_t readPoints(std::fstream*, FairGeoVolume*);
38  Bool_t writePoints(std::fstream*, FairGeoVolume*);
39  void printPoints(FairGeoVolume* volu);
40  ClassDef(FairGeoShapes, 0); //
41 };
42 
43 #endif /* !FAIRGEOSHAPES_H */
ClassDef(FairGeoShapes, 0)
Int_t readPoints(std::fstream *, FairGeoVolume *)
Bool_t writePoints(std::fstream *, FairGeoVolume *)
void printPoints(FairGeoVolume *volu)
FairGeoBasicShape * selectShape(FairGeoVolume *)
TList * shapes
Definition: FairGeoShapes.h:30