Import Geant4 11.3.0.beta source tree
This commit is contained in:
@@ -30,9 +30,10 @@
|
||||
#ifndef B2bDetectorConstruction_h
|
||||
#define B2bDetectorConstruction_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VUserDetectorConstruction.hh"
|
||||
#include "tls.hh"
|
||||
|
||||
#include "G4Threading.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4VPhysicalVolume;
|
||||
class G4LogicalVolume;
|
||||
@@ -59,10 +60,10 @@ class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
void ConstructSDandField() override;
|
||||
|
||||
// Set methods
|
||||
void SetTargetMaterial (G4String );
|
||||
void SetChamberMaterial(G4String );
|
||||
void SetMaxStep (G4double );
|
||||
void SetCheckOverlaps(G4bool );
|
||||
void SetTargetMaterial(G4String);
|
||||
void SetChamberMaterial(G4String);
|
||||
void SetMaxStep(G4double);
|
||||
void SetCheckOverlaps(G4bool);
|
||||
|
||||
private:
|
||||
// methods
|
||||
@@ -70,22 +71,22 @@ class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
G4VPhysicalVolume* DefineVolumes();
|
||||
|
||||
// static data members
|
||||
static G4ThreadLocal G4GlobalMagFieldMessenger* fMagFieldMessenger;
|
||||
// magnetic field messenger
|
||||
static G4ThreadLocal G4GlobalMagFieldMessenger* fMagFieldMessenger;
|
||||
// magnetic field messenger
|
||||
// data members
|
||||
G4LogicalVolume* fLogicTarget = nullptr; // pointer to the logical Target
|
||||
G4LogicalVolume* fLogicChamber = nullptr; // pointer to the logical Chamber
|
||||
G4LogicalVolume* fLogicTarget = nullptr; // pointer to the logical Target
|
||||
G4LogicalVolume* fLogicChamber = nullptr; // pointer to the logical Chamber
|
||||
|
||||
G4Material* fTargetMaterial = nullptr; // pointer to the target material
|
||||
G4Material* fChamberMaterial = nullptr; // pointer to the chamber material
|
||||
G4Material* fTargetMaterial = nullptr; // pointer to the target material
|
||||
G4Material* fChamberMaterial = nullptr; // pointer to the chamber material
|
||||
|
||||
G4UserLimits* fStepLimit = nullptr; // pointer to user step limits
|
||||
G4UserLimits* fStepLimit = nullptr; // pointer to user step limits
|
||||
|
||||
DetectorMessenger* fMessenger = nullptr; // messenger
|
||||
DetectorMessenger* fMessenger = nullptr; // messenger
|
||||
|
||||
G4bool fCheckOverlaps = true; // option to activate checking of volumes overlaps
|
||||
G4bool fCheckOverlaps = true; // option to activate checking of volumes overlaps
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace B2b
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user