Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
@@ -23,8 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: UltraActionInitializer.hh 66241 2012-12-13 18:34:42Z gunter $
// GEANT4 tag $Name: $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -33,7 +31,6 @@
#define UltraActionInitializer_h 1
#include "G4VUserActionInitialization.hh"
class G4GeneralParticleSource;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -46,8 +43,9 @@ public:
void Build() const;
void BuildForMaster() const;
private:
G4GeneralParticleSource* masterGPS;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -53,6 +53,8 @@
class G4VPhysicalVolume;
class G4LogicalVolume;
class G4SDManager;
class G4OpticalSurface;
class UltraDetectorMessenger;
class UltraScintSD;
class UltraPMTSD;
class UltraFresnelLens;
@@ -67,26 +69,31 @@ public:
public:
G4VPhysicalVolume* Construct();
void ConstructSDandField();
void SetReflectionType(G4String);
inline G4double GetLambdaMin() const {return lambda_min;}
inline G4double GetLambdaMax() const {return lambda_max;}
private:
// Methods to build ULTRA
G4VPhysicalVolume *ConstructUVscope(G4VPhysicalVolume *);
G4VPhysicalVolume *ConstructMirror(G4VPhysicalVolume *);
G4VPhysicalVolume *ConstructGround(G4VPhysicalVolume *);
UltraFresnelLens *FresnelLens ;
void ConstructUVscope();
void ConstructReflector();
void SetReflectorOpticalProperties();
// Material definitions
void ConstructTableMaterials();
private:
G4LogicalVolume* logicalPMT;
UltraDetectorMessenger *fDetectorMessenger;
G4VPhysicalVolume *fWorld_phys ;
UltraFresnelLens *FresnelLens ;
G4OpticalSurface *fReflectorOpticalSurface;
G4LogicalVolume *logicalPMT;
G4LogicalVolume *fReflectorLog;
G4String fReflectionType;
G4bool fIsReflectorConstructed;
G4double lambda_min ;
G4double lambda_max ;
};
@@ -0,0 +1,56 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
#ifndef UltraDetectorMessenger_h
#define UltraDetectorMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class UltraDetectorConstruction;
class G4UIdirectory;
class G4UIcmdWithAString;
class UltraDetectorMessenger: public G4UImessenger
{
friend class UltraDetectorConstruction;
public:
void SetNewValue(G4UIcommand*, G4String);
private:
UltraDetectorMessenger(UltraDetectorConstruction* );
~UltraDetectorMessenger();
UltraDetectorConstruction* fDetector;// pointer to detector
G4UIdirectory* fDetectorDir;
G4UIcmdWithAString* fMirrorCmd; // change surface reflective properties
};
#endif