SToGS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
SToGS_ScintillatorDF.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 
27 #ifndef SToGS_ScintillatorDF_h
28 #define SToGS_ScintillatorDF_h 1
29 
30 #include "SToGS_DetectorFactory.hh"
31 
33 namespace SToGS {
35 
38  {
39  public:
40  // All individual methods to build some detector units
41  // make PARIS PW with/without encapuslation, housing
46  G4VPhysicalVolume *MakePPW(G4String detname, G4double caps_width = 0.0, G4double housing_width = 0.0, G4String opt = "bare");
47  // make paris cluster from
48  G4VPhysicalVolume *MakeCPPW(G4String detname, G4String opt = "bare");
49 
50  // make CHATEAU DE CRYTSAL module
51  G4VPhysicalVolume *MakeCdC(G4String detname, G4String opt = "bare");
52 
53  // make a Fatima module
54  G4VPhysicalVolume *MakeFATIMAM(G4String detname, G4String opt = "bare");
55  G4VPhysicalVolume *MakeFATIMAQ(G4String detname, G4String opt = "bare");
56 
57  // make EDEN
58  G4VPhysicalVolume *MakeEDEN(G4String detname, G4double caps_width = 0.0, G4double extra_back = 0.0, G4String opt = "v0");
59 
60  public:
62  virtual G4VPhysicalVolume *Make(G4String /* name */, G4String /* version_string */);
63 
64  public:
65  ScintillatorDF(G4String path) : DetectorFactory(path)
66  {;}
67  virtual ~ScintillatorDF()
68  {;}
69 
71  virtual void MakeStore();
72  };
73 } // SToGS Namespace
74 
75 #endif
76 
77 
Base classe to build scintillators.
G4VPhysicalVolume * MakeCdC(G4String detname, G4String opt="bare")
G4VPhysicalVolume * MakeFATIMAQ(G4String detname, G4String opt="bare")
G4VPhysicalVolume * MakeCPPW(G4String detname, G4String opt="bare")
virtual void MakeStore()
build the default store i.e. all the scintillators detectors.
Base Factory. This is a container of sub-factories.
G4VPhysicalVolume * MakeFATIMAM(G4String detname, G4String opt="bare")
G4VPhysicalVolume * MakeEDEN(G4String detname, G4double caps_width=0.0, G4double extra_back=0.0, G4String opt="v0")
G4VPhysicalVolume * MakePPW(G4String detname, G4double caps_width=0.0, G4double housing_width=0.0, G4String opt="bare")
virtual G4VPhysicalVolume * Make(G4String, G4String)
Should be implemented in any sub factory. It built (C++) a detector and return it.