EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGeoBuilder.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairGeoBuilder.h
1 #ifndef FAIRGEOBUILDER_H
2 #define FAIRGEOBUILDER_H
3 
4 #include "TNamed.h"
5 
6 //class FairGeoSet;
7 class FairGeoNode;
8 class FairGeoMedium;
9 
14 class FairGeoBuilder : public TNamed
15 {
16  protected:
17  Int_t nRot; // number of defined rotations
18  Int_t nMed; // number of defined media
19 
21  FairGeoBuilder(const char* name,const char* title);
22  public:
23  virtual ~FairGeoBuilder() {}
24  virtual Bool_t createNode(FairGeoNode*, Int_t hadFormat =0)=0;
25  virtual Int_t createMedium(FairGeoMedium*)=0;
26  virtual void finalize() {}
27  ClassDef(FairGeoBuilder,0)
28 };
29 
30 #endif /* !FAIRGEOBUILDER_H */