Geant4
10.01.p03
|
#include <CexmcSetup.hh>
Classes | |
struct | CalorimeterGeometryData |
Public Types | |
enum | SpecialVolumeType { Monitor, VetoCounter, Calorimeter, Target } |
Private Member Functions | |
void | SetupSpecialVolumes (const G4GDMLParser &gdmlParser) |
void | ReadTransforms (const G4GDMLParser &gdmlParser) |
void | ReadCalorimeterGeometryData (const G4LogicalVolume *lVolume) |
void | ReadRightDetectors (void) |
Static Private Member Functions | |
static void | AssertAndAsignDetectorRole (CexmcDetectorRole &detectorRole, CexmcDetectorRole value) |
static void | RotateMatrix (const G4ThreeVector &pos, G4RotationMatrix &rm) |
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Definition at line 59 of file CexmcSetup.hh.
Enumerator | |
---|---|
Monitor | |
VetoCounter | |
Calorimeter | |
Target |
Definition at line 62 of file CexmcSetup.hh.
|
explicit |
Definition at line 71 of file CexmcSetup.cc.
|
staticprivate |
Definition at line 474 of file CexmcSetup.cc.
References CexmcMultipleDetectorRoles, and CexmcNumberOfDetectorRoles.
Referenced by SetupSpecialVolumes().
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 81 of file CexmcSetup.cc.
References CexmcWeirdException, gdmlFile, G4RunManager::GetRunManager(), G4RunManager::GetUserPhysicsList(), G4GDMLParser::GetWorldVolume(), G4GDMLParser::Read(), ReadRightDetectors(), ReadTransforms(), CexmcPhysicsManager::SetupConstructionHook(), CexmcRunManager::SetupConstructionHook(), SetupSpecialVolumes(), validateGDMLFile, and world.
void CexmcSetup::ConvertToCrystalGeometry | ( | const G4ThreeVector & | src, |
G4int & | row, | ||
G4int & | column, | ||
G4ThreeVector & | dst | ||
) | const |
|
inline |
Definition at line 182 of file CexmcSetup.hh.
References calorimeterGeometry.
Referenced by CexmcEnergyDepositDigitizer::CexmcEnergyDepositDigitizer(), CexmcReconstructor::CexmcReconstructor(), CexmcTrackPointsDigitizer::CexmcTrackPointsDigitizer(), and CexmcScenePrimitives::HighlightInnerCrystals().
|
inline |
Definition at line 167 of file CexmcSetup.hh.
References calorimeterLeftTransform.
Referenced by CexmcReconstructor::CexmcReconstructor(), and CexmcScenePrimitives::HighlightInnerCrystals().
|
inline |
Definition at line 174 of file CexmcSetup.hh.
References calorimeterRightTransform.
Referenced by CexmcReconstructor::CexmcReconstructor(), and CexmcScenePrimitives::HighlightInnerCrystals().
|
inline |
Definition at line 161 of file CexmcSetup.hh.
References targetTransform.
Referenced by CexmcReconstructor::CexmcReconstructor(), CexmcScenePrimitives::DrawRadialLine(), CexmcScenePrimitives::MarkTargetCenter(), and CexmcPhysicsList< BasePhysics, StudiedPhysics, ProductionModel >::SetupConstructionHook().
|
inline |
Definition at line 188 of file CexmcSetup.hh.
References Calorimeter, calorimeterVolume, Monitor, monitorVolume, Target, targetVolume, VetoCounter, and vetoCounterVolume.
Referenced by CexmcSteppingAction::CexmcSteppingAction(), CexmcTrackingAction::CexmcTrackingAction(), and CexmcPhysicsList< BasePhysics, StudiedPhysics, ProductionModel >::SetupConstructionHook().
|
inline |
Definition at line 217 of file CexmcSetup.hh.
References rightCalorimeter.
Referenced by CexmcEnergyDepositInCalorimeter::GetIndex(), and CexmcTrackPointsInCalorimeter::GetIndex().
|
inline |
Definition at line 207 of file CexmcSetup.hh.
References rightCalorimeter, and rightVetoCounter.
Referenced by CexmcEnergyDepositInLeftRightSet::GetIndex(), and CexmcTrackPointsInLeftRightSet::GetIndex().
|
private |
Definition at line 363 of file CexmcSetup.cc.
References calorimeterGeometry, CexmcIncompatibleGeometry, CexmcSetup::CalorimeterGeometryData::crystalHeight, CexmcSetup::CalorimeterGeometryData::crystalLength, CexmcSetup::CalorimeterGeometryData::crystalWidth, G4LogicalVolume::GetDaughter(), G4LogicalVolume::GetNoDaughters(), G4LogicalVolume::GetSolid(), G4Box::GetXHalfLength(), G4Box::GetYHalfLength(), G4Box::GetZHalfLength(), CexmcSetup::CalorimeterGeometryData::nCrystalsInColumn, CexmcSetup::CalorimeterGeometryData::nCrystalsInRow, and width.
Referenced by SetupSpecialVolumes().
|
private |
Definition at line 440 of file CexmcSetup.cc.
References calorimeterVolume, G4PhysicalVolumeStore::GetInstance(), rightCalorimeter, rightVetoCounter, and vetoCounterVolume.
Referenced by Construct().
|
private |
Definition at line 337 of file CexmcSetup.cc.
References calorimeterLeftTransform, calorimeterRightTransform, G4GDMLParser::GetPosition(), G4GDMLParser::GetRotation(), position, RotateMatrix(), G4AffineTransform::SetNetRotation(), G4AffineTransform::SetNetTranslation(), and targetTransform.
Referenced by Construct().
|
staticprivate |
Definition at line 484 of file CexmcSetup.cc.
Referenced by ReadTransforms().
|
private |
Definition at line 117 of file CexmcSetup.cc.
References G4SDManager::AddNewDetector(), G4Region::AddRootLogicalVolume(), AssertAndAsignDetectorRole(), calorimeterGeometryDataInitialized, calorimeterRegionInitialized, calorimeterVolume, CEXMC_LINE_START, CexmcCalorimeterDetectorRole, CexmcCalorimeterGeometryDataNotInitialized, CexmcCalorimeterRegionName, CexmcCalorimeterRegionNotInitialized, CexmcDetectorRoleName, CexmcDetectorTypeName, CexmcEDDetector, CexmcMonitorDetectorRole, CexmcNumberOfDetectorRoles, CexmcTargetDetectorRole, CexmcTPDetector, CexmcVetoCounterDetectorRole, G4cout, G4endl, G4VUserPhysicsList::GetDefaultCutValue(), G4LogicalVolumeStore::GetInstance(), G4RegionStore::GetInstance(), G4RunManager::GetRunManager(), G4SDManager::GetSDMpointer(), G4GDMLParser::GetVolumeAuxiliaryInformation(), CexmcPrimitiveScorer::InitializeMessenger(), mm, monitorVolume, ReadCalorimeterGeometryData(), G4MultiFunctionalDetector::RegisterPrimitive(), G4VPrimitiveScorer::SetFilter(), G4ProductionCuts::SetProductionCut(), G4Region::SetProductionCuts(), targetVolume, and vetoCounterVolume.
Referenced by Construct().
|
private |
Definition at line 157 of file CexmcSetup.hh.
Referenced by ConvertToCrystalGeometry(), GetCalorimeterGeometry(), and ReadCalorimeterGeometryData().
|
private |
Definition at line 137 of file CexmcSetup.hh.
Referenced by SetupSpecialVolumes().
|
private |
Definition at line 153 of file CexmcSetup.hh.
Referenced by GetCalorimeterLeftTransform(), and ReadTransforms().
|
private |
Definition at line 135 of file CexmcSetup.hh.
Referenced by SetupSpecialVolumes().
|
private |
Definition at line 155 of file CexmcSetup.hh.
Referenced by GetCalorimeterRightTransform(), and ReadTransforms().
|
private |
Definition at line 143 of file CexmcSetup.hh.
Referenced by GetVolume(), ReadRightDetectors(), and SetupSpecialVolumes().
|
private |
Definition at line 131 of file CexmcSetup.hh.
Referenced by Construct().
|
private |
Definition at line 139 of file CexmcSetup.hh.
Referenced by GetVolume(), and SetupSpecialVolumes().
|
private |
Definition at line 149 of file CexmcSetup.hh.
Referenced by IsRightCalorimeter(), IsRightDetector(), and ReadRightDetectors().
|
private |
Definition at line 147 of file CexmcSetup.hh.
Referenced by IsRightDetector(), and ReadRightDetectors().
|
private |
Definition at line 151 of file CexmcSetup.hh.
Referenced by GetTargetTransform(), and ReadTransforms().
|
private |
Definition at line 145 of file CexmcSetup.hh.
Referenced by GetVolume(), and SetupSpecialVolumes().
|
private |
Definition at line 133 of file CexmcSetup.hh.
Referenced by Construct().
|
private |
Definition at line 141 of file CexmcSetup.hh.
Referenced by GetVolume(), ReadRightDetectors(), and SetupSpecialVolumes().
|
private |
Definition at line 129 of file CexmcSetup.hh.
Referenced by Construct().