1
/* This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus
3
* MAUS is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation, either version 3 of the License, or
6
* (at your option) any later version.
8
* MAUS is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with MAUS. If not, see <http://www.gnu.org/licenses/>.
23
#include <G4ThreeVector.hh>
26
#include "Config/MiceModule.hh"
31
class G4LogicalVolume;
32
class G4VPhysicalVolume;
33
class G4VPVParameterisation;
37
* This class is used in the GEANT4 simulation of the EMR detector to describe
38
* the geometry of a triangular scintillator bar and the wavelength shifting fiber.
43
/** @brief Constructor
45
EMRBar(MiceModule* mod, G4Material* mater, G4VPhysicalVolume* mlv);
47
/** @brief Default destructor
51
/** @brief The physical volume of the
53
G4VPhysicalVolume* physicalBar() const { return physiBar; }
55
/** @brief The logical volume of the core
57
G4LogicalVolume* logicalBar() const { return logicBar; }
59
/** @brief The placement of the core
61
G4PVPlacement* placementBar() const { return physiCalorimeter; }
64
G4Box* solidCalorimeter; // pointer to the solid Calorimeter
65
G4LogicalVolume* logicCalorimeter; // pointer to the logical Calorimeter
66
G4PVPlacement* physiCalorimeter; // pointer to the physical Calorimeter
68
G4Trap* solidBar; // pointer to the solid Bar
69
G4LogicalVolume* logicBar; // pointer to the logical Bar
70
G4VPhysicalVolume* physiBar; // pointer to the physical Bar
73
G4LogicalVolume* logicHole;
74
G4VPhysicalVolume* physiHole;
76
G4Tubs* solidFiberCladding;
77
G4LogicalVolume* logicFiberCladding;
78
G4VPhysicalVolume* physiFiberCladding;
80
G4Tubs* solidFiberCore;
81
G4LogicalVolume* logicFiberCore;
82
G4VPhysicalVolume* physiFiberCore;
84
G4VPVParameterisation* barParam; // pointer to bar parameterisation