Warning, file /geant4/examples/extended/parameterisations/Par04/include/Par04ParallelFullWorld.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #ifndef PAR04PARALLELFULLWORLD_HH
0027 #define PAR04PARALLELFULLWORLD_HH
0028
0029 #include "Par04DetectorConstruction.hh"
0030
0031 #include "G4VUserParallelWorld.hh"
0032 #include "globals.hh"
0033
0034 class Par04ParallelMessenger;
0035 class G4LogicalVolume;
0036 class G4VPhysicalVolume;
0037
0038 class Par04ParallelFullWorld : public G4VUserParallelWorld
0039 {
0040 public:
0041 Par04ParallelFullWorld(G4String aWorldName, const Par04DetectorConstruction* aMassDetector);
0042 ~Par04ParallelFullWorld();
0043
0044 virtual void Construct() final;
0045 virtual void ConstructSD() final;
0046
0047
0048 inline void SetNbOfSlices(G4int aNumber) { fNbOfSlices = aNumber; };
0049
0050 inline G4int GetNbOfSlices() const { return fNbOfSlices; };
0051
0052 inline void SetNbOfRows(G4int aNumber) { fNbOfRows = aNumber; };
0053
0054 inline G4int GetNbOfRows() const { return fNbOfRows; };
0055
0056 inline G4int GetNbOfLayers() const { return fNbOfLayers; };
0057
0058 void Print();
0059
0060 private:
0061
0062 Par04ParallelMessenger* fParallelMessenger = nullptr;
0063 const Par04DetectorConstruction* fMassDetector;
0064 std::vector<G4LogicalVolume*> fLogicalCell;
0065 G4int fNbOfLayers = 1;
0066 G4int fNbOfSlices = 1;
0067 G4int fNbOfRows = 1;
0068 G4double fLayerThickness = 0;
0069 };
0070
0071 #endif