51 parser.
Read(
"Par02FullDetector.gdml" );
52 G4cout <<
"Geometry loaded from file .......Par02FullDetector.gdml " <<
G4endl;
58 for ( G4GDMLAuxMapType::const_iterator iter = aAuxMap->begin();
59 iter != aAuxMap->end(); ++iter ) {
60 for ( G4GDMLAuxListType::const_iterator vit = (*iter).second.begin();
61 vit != (*iter).second.end(); ++vit ) {
62 if ( (*vit).type ==
"FastSimModel" ) {
64 if ( ( myvol->
GetName() ).find(
"Tracker" ) != std::string::npos ) {
68 }
else if ( ( myvol->
GetName() ).find(
"HCal" ) != std::string::npos ) {
70 fHCalList.back()->AddRootLogicalVolume( myvol );
72 }
else if ( ( myvol->
GetName() ).find(
"ECal" ) != std::string::npos ) {
74 fECalList.back()->AddRootLogicalVolume( myvol );
76 }
else if ( ( myvol->
GetName() ).find(
"Muon" ) != std::string::npos ) {
78 fMuonList.back()->AddRootLogicalVolume( myvol );
80 G4cout << G4endl <<
"NOT A KNOWN DETECTOR !!!" <<
G4endl;
88 fTrackerList[ iterTracker ]->GetProductionCuts()->SetProductionCut
89 ( 1.0* ( ( *
fTrackerList[ iterTracker ]->GetRootLogicalVolumeIterator() )->
90 GetMaterial()->GetRadlen() ) );
96 fECalList[ iterECal ]->GetProductionCuts()->SetProductionCut
97 ( 0.5* ( ( *
fECalList[ iterECal ]->GetRootLogicalVolumeIterator() )->
98 GetMaterial()->GetRadlen() ) );
99 fECalList[ iterECal ]->GetProductionCuts()->
104 fHCalList[ iterHCal ]->GetProductionCuts()->SetProductionCut(
105 0.5* ( ( *
fHCalList[iterHCal]->GetRootLogicalVolumeIterator() )->
106 GetMaterial()->GetRadlen() ) );
107 fHCalList[ iterHCal ]->GetProductionCuts()->