FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoRootBuilder.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 FAIRGEOROOTBUILDER_H
9 #define FAIRGEOROOTBUILDER_H
10 
11 #include "FairGeoBuilder.h" // for FairGeoBuilder
12 
13 #include <Rtypes.h> // for FairGeoRootBuilder::Class, etc
14 
15 class FairGeoMedium;
16 class FairGeoNode;
17 class TGeoManager;
18 
24 {
25  private:
27  FairGeoRootBuilder& operator=(const FairGeoRootBuilder&);
28 
29  protected:
30  TGeoManager* geoManager; // ROOT geometry manager
31 
32  public:
34  FairGeoRootBuilder(const char*, const char*);
36  void setGeoManager(TGeoManager* me) { geoManager = me; }
37  Bool_t createNode(FairGeoNode*, Int_t hadFormat = 0);
39  void finalize();
40  void checkOverlaps(Double_t ovlp = 0.0001);
42 };
43 
44 #endif /* !FAIRGEOROOTBUILDER_H */
TGeoManager * geoManager
ClassDef(FairGeoRootBuilder, 0)
void checkOverlaps(Double_t ovlp=0.0001)
Int_t createMedium(FairGeoMedium *)
void setGeoManager(TGeoManager *me)
Bool_t createNode(FairGeoNode *, Int_t hadFormat=0)