Macros in this folder are intended for checking of a quality of the coordinate reconstruction procedure (track finding). A reconstructed data is compared with simulation data with the usage of the sensitive target in BeamDet detector simulation. Point data on the entering into the target is used, so the thickness of target in the BeamDet must be thin to reduce a consistent error.
Parameters to reproduce results from macros:
- hardcoded in ERBeamDetSetup class:
1 Double_t ERBeamDetSetup::fTargetH2R = 3.; //cm
2 Double_t ERBeamDetSetup::fTargetH2Z = 1e-3; //cm
3 Double_t ERBeamDetSetup::fTargetShellThicknessSide = 1e-5;
4 Double_t ERBeamDetSetup::fTargetShellThicknessZ = 1e-5;
5 Bool_t ERBeamDetSetup::fSensitiveTargetIsSet = false;
- in the BeamDet parameters xml-file:
4 <plasticGeometry X="100" Y="100" Z="0.01"/>
5 <plasticMedia>BC408</plasticMedia>
8 <plasticGeometry X="100" Y="100" Z="0.01"/>
9 <plasticMedia>BC408</plasticMedia>
14 <gasVolGeometry X="5" Y="5" Z="8.2"/>
15 <gasStripGeometry X="0.125" Y="5" Z="0.6"/>
16 <gasPlanesOffset X="0." Y="0."/>
17 <distBetweenXandYStrips>1</distBetweenXandYStrips>
18 <cathodeThickness>0.0005</cathodeThickness>
19 <kaptonWindowThickness>0.00125</kaptonWindowThickness>
20 <anodeWireDiameter>0.002</anodeWireDiameter>
21 <kaptonWindowMedia>kapton</kaptonWindowMedia>
22 <cathodeMedia>aluminium</cathodeMedia>
23 <anodeWireMedia>tungsten</anodeWireMedia>
24 <gasMedia>CF4_CH4</gasMedia>
27 <gasVolGeometry X="5" Y="5" Z="8.2"/>
28 <gasStripGeometry X="0.125" Y="5" Z="0.6"/>
29 <gasPlanseOffset X="0." Y="0."/>
30 <distBetweenXandYStrips>1</distBetweenXandYStrips>
31 <cathodeThickness>0.0005</cathodeThickness>
32 <kaptonWindowThickness>0.00125</kaptonWindowThickness>
33 <anodeWireDiameter>0.002</anodeWireDiameter>
34 <kaptonWindowMedia>kapton</kaptonWindowMedia>
35 <cathodeMedia>aluminium</cathodeMedia>
36 <anodeWireMedia>tungsten</anodeWireMedia>
37 <gasMedia>CF4_CH4</gasMedia>
X-coordinate difference [cm] (on the left pad) and Px/Pz on the right one
The sequence of the macros running:
- recoAndSimCoordAndAng_sim_digi.C — simulation and digitization.
- recoAndSimCoordAndAng_reco.C — track finding procedure.
- compareResults.C — macro for building resulting histograms.