Files
geant4/examples/extended/parameterisations/gflash/include/ExGflashDetectorConstruction.hh
T
2016-06-09 14:36:02 +02:00

105 lines
3.0 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. *
// ********************************************************************
//
#ifndef ExGflashDetectorConstruction_h
#define ExGflashDetectorConstruction_h 1
#include "globals.hh"
#include "G4VUserDetectorConstruction.hh"
class G4Box;
class G4LogicalVolume;
class G4VPhysicalVolume;
class GFlashHomoShowerParameterisation;
class GFlashHitMaker;
class GFlashShowerModel;
class GFlashParticleBounds;
class ExGflashDetectorConstruction : public G4VUserDetectorConstruction
{
public:
ExGflashDetectorConstruction();
~ExGflashDetectorConstruction();
G4VPhysicalVolume* Construct();
const G4VPhysicalVolume* GetCristal(int num__crystal)
{return m_crystal_phys[num__crystal];};
private:
G4LogicalVolume* m_experimentalHall_log;
G4LogicalVolume* m_calo_log;
G4VPhysicalVolume* m_experimentalHall_phys;
G4VPhysicalVolume* m_calo_phys;
G4Box *m_experimentalHall_box;
G4double m_experimentalHall_x;
G4double m_experimentalHall_y;
G4double m_experimentalHall_z;
G4double m_calo_xside;
G4double m_calo_yside;
G4double m_calo_zside;
G4int m_NbOfCrystals; // Nb of chambers in the tracker region
G4double m_CrystalWidth; // width of the chambers
G4double m_CrystalWidht;
G4double m_CrystalLenght;
//@@@ ExGflashDetectorConstruction : wie mache ich das am besten ?
G4Box *m_crystal[100];
G4LogicalVolume* m_crystal_log[100];
G4VPhysicalVolume* m_crystal_phys[100];
// Gflash members
GFlashHomoShowerParameterisation *m_theParameterisation;
GFlashHitMaker *m_theHMaker;
GFlashParticleBounds *m_theParticleBounds;
GFlashShowerModel* m_theFastShowerModel;
G4Region* aRegion;
};
#endif