15 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
21 const UInt_t cellNumx = 6;
22 const UInt_t cellNumy = 4;
24 const Double_t cellLength = 0.04;
28 const Double_t nominalX = 230.;
29 const Double_t desiredEdgeDistanceToBeam = 20.;
30 const Double_t displacementInX = nominalX + detectorLength/2. + desiredEdgeDistanceToBeam;
31 const Double_t angle = -30.e-3;
33 std::cout <<
"displacementInX = " << displacementInX << std::endl;
37 lqs->
InitializeDetector(lqs, 2, cellNumx, cellNumy, 0.1*cellFaceSize, 0.1*cellLength, 0.1*beamLineOffset, 0.1*displacementInX, angle);