112 lines
3.5 KiB
C++
112 lines
3.5 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * 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. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
// ********************************************************************
|
|
// * *
|
|
// * cosmicray_charging advanced example for Geant4 *
|
|
// * (adapted simulation of test-mass charging in the LISA mission) *
|
|
// * *
|
|
// * Henrique Araujo (h.araujo@imperial.ac.uk) & Peter Wass *
|
|
// * Imperial College London *
|
|
// * *
|
|
// ********************************************************************
|
|
|
|
#ifndef LISADetectorConstruction_h
|
|
#define LISADetectorConstruction_h 1
|
|
|
|
#include "G4VUserDetectorConstruction.hh"
|
|
|
|
#include "G4UserLimits.hh"
|
|
|
|
#include "G4Material.hh"
|
|
#include "G4MaterialTable.hh"
|
|
#include "G4MaterialPropertiesTable.hh"
|
|
#include "G4Element.hh"
|
|
#include "G4Isotope.hh"
|
|
#include "G4UnitsTable.hh"
|
|
|
|
#include "G4Box.hh"
|
|
#include "G4Tubs.hh"
|
|
#include "G4Sphere.hh"
|
|
#include "G4Cons.hh"
|
|
#include "G4Trap.hh"
|
|
#include "G4Torus.hh"
|
|
#include "G4Trd.hh"
|
|
#include "G4VSolid.hh"
|
|
#include "G4UnionSolid.hh"
|
|
#include "G4SubtractionSolid.hh"
|
|
|
|
#include "G4ThreeVector.hh"
|
|
#include "G4RotationMatrix.hh"
|
|
#include "G4Transform3D.hh"
|
|
|
|
#include "G4PVPlacement.hh"
|
|
#include "G4LogicalVolume.hh"
|
|
#include "G4VPhysicalVolume.hh"
|
|
|
|
#include "G4Region.hh"
|
|
|
|
#include "G4VisAttributes.hh"
|
|
#include "G4Colour.hh"
|
|
|
|
#include "G4ios.hh"
|
|
#include "globals.hh"
|
|
|
|
#include <math.h>
|
|
|
|
|
|
class LISADetectorConstruction : public G4VUserDetectorConstruction {
|
|
|
|
public:
|
|
LISADetectorConstruction();
|
|
~LISADetectorConstruction();
|
|
|
|
G4VPhysicalVolume* Construct();
|
|
|
|
private:
|
|
void ConstructMaterials();
|
|
G4VPhysicalVolume* ConstructDetector();
|
|
|
|
|
|
private:
|
|
// pointers to materials
|
|
G4Material *vacuum;
|
|
G4Material *Al6061;
|
|
G4Material *AlHoneycomb;
|
|
G4Material *Scell;
|
|
G4Material *MLImat;
|
|
G4Material *molybdenum;
|
|
G4Material *TiAlloy;
|
|
G4Material *gold;
|
|
G4Material *AuPt;
|
|
G4Material *CFRP;
|
|
G4Material *ULEglass;
|
|
G4Material *SHAPAL;
|
|
G4Material *SiC;
|
|
G4Material *foam;
|
|
|
|
|
|
};
|
|
|
|
#endif
|
|
|