44 #ifndef CEXMC_SETUP_HH
45 #define CEXMC_SETUP_HH
51 #include <G4String.hh>
90 G4bool validateGDMLFile =
true );
113 void SetupSpecialVolumes(
const G4GDMLParser & gdmlParser );
119 void ReadRightDetectors(
void );
122 static void AssertAndAsignDetectorRole(
135 G4bool calorimeterRegionInitialized;
137 G4bool calorimeterGeometryDataInitialized;
163 return targetTransform;
170 return calorimeterLeftTransform;
177 return calorimeterRightTransform;
184 return calorimeterGeometry;
194 return monitorVolume;
196 return vetoCounterVolume;
198 return calorimeterVolume;
210 if ( pVolume == rightVetoCounter || pVolume == rightCalorimeter )
220 if ( pVolume == rightCalorimeter )
void ConvertToCrystalGeometry(const G4ThreeVector &src, G4int &row, G4int &column, G4ThreeVector &dst) const
CexmcSetup(const G4String &gdmlFile="default.gdml", G4bool validateGDMLFile=true)
const G4AffineTransform & GetCalorimeterLeftTransform(void) const
const G4LogicalVolume * GetVolume(SpecialVolumeType volume) const
const XML_Char int const XML_Char * value
G4bool IsRightCalorimeter(const G4VPhysicalVolume *pVolume) const
G4bool IsRightDetector(const G4VPhysicalVolume *pVolume) const
const G4AffineTransform & GetCalorimeterRightTransform(void) const
const CalorimeterGeometryData & GetCalorimeterGeometry(void) const
const G4AffineTransform & GetTargetTransform(void) const
G4VPhysicalVolume * Construct(void)
CalorimeterGeometryData()
static const G4double pos