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

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GeoCalibrationStickFactory.hh Source File
Ratpac-two
GeoCalibrationStickFactory.hh
1 #ifndef __RAT_GeoCalibrationStickFactory__
2 #define __RAT_GeoCalibrationStickFactory__
3 
4 #include <G4OpticalSurface.hh>
5 #include <G4VPhysicalVolume.hh>
6 #include <G4VisAttributes.hh>
7 #include <RAT/GeoFactory.hh>
8 #include <vector>
9 
10 namespace RAT {
12  public:
13  GeoCalibrationStickFactory() : GeoFactory("CalibrationStick"){};
14  virtual G4VPhysicalVolume *Construct(DBLinkPtr table);
15 
16  protected:
17  static G4VisAttributes *GetColor(std::vector<double> color);
18  void SetVis(G4LogicalVolume *volume, std::vector<double> color);
19  G4OpticalSurface *GetSurface(std::string surface_name);
20 };
21 
22 } // namespace RAT
23 
24 #endif // __RAT_GeoCalibrationStickFactory__
Definition: GeoCalibrationStickFactory.hh:11
Definition: GeoFactory.hh:18
Definition: CCCrossSecMessenger.hh:29