64 F1LArGapID =
new G4int[2400];
65 F1LArIX =
new G4int[2400];
66 F1LArJY =
new G4int[2400];
67 F1LArITile =
new G4int[2400];
75 delete [] F1LArGapPosX;
76 delete [] F1LArGapPosY;
84 #include "FCALEMModuleParameters.input"
86 (
"geom_data/FCal1Electrodes.dat");
88 if(!File)
G4cerr <<
"Failed to open file FCal1Electrodes data file " <<
G4endl;
92 while(!(File.eof())) {
94 File >> F1LArGapID[NF1LarGap] >> F1LArGapPosX[NF1LarGap] >> F1LArGapPosY[NF1LarGap]
95 >> F1LArIX[NF1LarGap] >> F1LArJY[NF1LarGap] >> F1LArITile[NF1LarGap];
97 G4cout <<
"********" <<
" Number of Rods in FCAL1 : " << NF1LarGap-1 <<
G4endl;;
122 new G4Tubs(
"EmModuleSold", EmModuleRMin, EmModuleRMax, EmModuleLenght,
123 EmModuleStartPhi,EmModuleDPhi);
137 G4Tubs * SolidF1CableTroff =
138 new G4Tubs(
"F1CableTroffSolid", F1CableTroffRMin, F1CableTroffRMax,
139 F1CableTroffLenght, F1CableTroffStartPhi, F1CableTroffDPhi);
142 "F1CableTroffLogical");
148 for(i=0 ; i < NCableTroff ; i++)
152 LogicalF1CableTroff,
"F1CableTroffPhysical",
153 LogicalEmModule,0,i+1);
155 F1CableTroffRot.
rotateZ(F1CableTroffRotZ);
167 new G4Tubs(
"F1LArGapSolid",F1LArGapRmin, F1LArGapRmax, F1LArGapLenght,
168 F1LArGapStartPhi,F1LArGapDPhi);
174 for(i=1; i < NF1LarGap; i++){
177 LogicalF1LArGap,
"F1LArGapPhysical", LogicalEmModule, 0, i);
196 return LogicalEmModule;
202 {
return F1LArITile[GapID]; }
205 {
return F1LArGapPosX[GapID]; }
CLHEP::Hep3Vector G4ThreeVector
G4double GetF1LArGapPosX(G4int)
static FCALMaterialConsultant * construct()
void InitializeGeometry()
G4Material * Material(G4String)
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * Construct()
void AddNewDetector(G4VSensitiveDetector *aSD)
void SetSmartless(G4double s)
static G4SDManager * GetSDMpointer()
static const G4VisAttributes Invisible
HepRotation & rotateZ(double delta)
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
G4GLOB_DLL std::ostream G4cerr