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

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GeoCherenkovSourceFactory.hh Source File
Ratpac-two
GeoCherenkovSourceFactory.hh
1 
17 #ifndef __RAT_GeoCherenkovSourceFactory__
18 #define __RAT_GeoCherenkovSourceFactory__
19 
20 #include <G4OpticalSurface.hh>
21 #include <G4VPhysicalVolume.hh>
22 #include <G4VisAttributes.hh>
23 #include <RAT/GeoFactory.hh>
24 #include <vector>
25 
26 namespace RAT {
28  public:
29  GeoCherenkovSourceFactory() : GeoFactory("CherenkovSource"){};
30  virtual G4VPhysicalVolume *Construct(DBLinkPtr table);
31 
32  protected:
33  static G4VisAttributes *GetColor(std::vector<double> color);
34  G4OpticalSurface *GetSurface(std::string surface_name);
35 };
36 
37 } // namespace RAT
38 
39 #endif // __RAT_GeoCherenkovSourceFactory__
Geometry for the Cherenkov Source being developed at Berkeley.
Definition: GeoCherenkovSourceFactory.hh:27
Definition: GeoFactory.hh:18
Definition: CCCrossSecMessenger.hh:29