Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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.
|
||||
//
|
||||
// $Id: ExN05DetectorConstruction.hh,v 2.3 1998/12/10 04:11:02 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
#ifndef ExN05DetectorConstruction_h
|
||||
#define ExN05DetectorConstruction_h 1
|
||||
|
||||
#include "G4LogicalVolume.hh"
|
||||
#include "G4VUserDetectorConstruction.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4UserLimits;
|
||||
class ExN05DetectorMessenger;
|
||||
|
||||
class ExN05DetectorConstruction : public G4VUserDetectorConstruction
|
||||
{
|
||||
public:
|
||||
ExN05DetectorConstruction();
|
||||
~ExN05DetectorConstruction();
|
||||
|
||||
public:
|
||||
G4VPhysicalVolume* Construct();
|
||||
|
||||
|
||||
// methods for UserLimits in crystal
|
||||
void UseUserLimits(G4bool value);
|
||||
G4bool IsUseUserLimits() { return fUseUserLimits; }
|
||||
G4double GetMaxTimeInCrystal() const { return theMaxTimeCutsInCrystal; }
|
||||
G4double GetMinEkineInCrystal() const { return theMinEkineCutsInCrystal; }
|
||||
G4double GetMinRangeInCrystal() const { return theMinRangeCutsInCrystal; }
|
||||
void SetMaxTimeInCrystal(G4double value);
|
||||
void SetMinEkineInCrystal(G4double value);
|
||||
void SetMinRangeInCrystal(G4double value);
|
||||
|
||||
private:
|
||||
G4LogicalVolume* theCrystalLog;
|
||||
G4LogicalVolume* theTowerLog;
|
||||
|
||||
G4bool fUseUserLimits;
|
||||
G4UserLimits* theUserLimitsForCrystal;
|
||||
G4double theMaxTimeCutsInCrystal;
|
||||
G4double theMinEkineCutsInCrystal;
|
||||
G4double theMinRangeCutsInCrystal;
|
||||
|
||||
// messeneger
|
||||
ExN05DetectorMessenger* theMessenger;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user