FDsimG4Mirror.hh
Go to the documentation of this file.
1 #ifndef _TelescopeSimulatorLX_FDsimG4Mirror_h_
2 #define _TelescopeSimulatorLX_FDsimG4Mirror_h_
3 
4 #include <globals.hh>
5 #include <MirrorParamsReader.hh>
6 
7 
8 class G4LogicalVolume;
9 class G4VPhysicalVolume;
10 class G4Material;
11 
12 
13 namespace TelescopeSimulatorLX {
14 
15  class FDsimG4Mirror {
16 
17  public:
18  FDsimG4Mirror();
19  FDsimG4Mirror(const G4String& telescopeName, const G4String& mirrorDataFile,
20  G4VPhysicalVolume* const mother);
22 
23  void DumpInfo();
24 
25  private:
26  void ReadMirrorSegmentPositions(const eTelescope eTelescopeName,
27  const char* const szFilename);
28  void BuildMirror();
29  void CheckParameters() { }
30 
31  eTelescope GeteTelescope(const G4String& telescopeName);
32 
33  static const G4int fNMAXMIRROR = 60;
34  G4String fTelescopeName;
35  G4String fMirrorDataFile;
36  G4int fNumOfMirrors = 0;
37  G4VPhysicalVolume* fMotherPhysicalVolume = nullptr;
38 
40 
41  };
42 
43 }
44 
45 
46 #endif
G4VPhysicalVolume * fMotherPhysicalVolume
void ReadMirrorSegmentPositions(const eTelescope eTelescopeName, const char *const szFilename)
eTelescope GeteTelescope(const G4String &telescopeName)

, generated on Tue Sep 26 2023.