/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GeoBuilder.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GeoBuilder.hh Source File
Ratpac-two
GeoBuilder.hh
1 #ifndef __RATGeoBuilder__
2 #define __RATGeoBuilder__
3 
4 #include <G4VPhysicalVolume.hh>
5 #include <RAT/DB.hh>
6 #include <string>
7 #include <vector>
8 
9 namespace RAT {
10 
11 class GeoBuilder {
12  public:
13  // Initialize factory with default classes
14  GeoBuilder();
15  // Construct all geometry from database, returns world volume
16  G4VPhysicalVolume *ConstructAll(std::string geo_tablename = "GEO");
17 
18  // Construct a volume from particular table (assumes mother volume already
19  // exists), returns physical volume
20  G4VPhysicalVolume *Construct(DBLinkPtr table);
21 };
22 
23 } // namespace RAT
24 
25 #endif
Definition: GeoBuilder.hh:11
Definition: CCCrossSecMessenger.hh:29