Skip to content

Commit 35eb3e6

Browse files
committed
added hit killing to smearing steering file
1 parent fe4e480 commit 35eb3e6

1 file changed

Lines changed: 253 additions & 0 deletions

File tree

Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<lcsim xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcsim/1.0/lcsim.xsd">
3+
<!--
4+
@brief Steering file that will be used for the reconstruction of 2021 MC production with v8 alignment.
5+
-->
6+
<execute>
7+
<driver name="EventMarkerDriver"/>
8+
<!-- <driver name="PreCleanupDriver"/>-->
9+
10+
<!-- Ecal reconstruction drivers -->
11+
<driver name="EcalRawConverter" />
12+
<driver name="EcalTimeCorrection"/>
13+
<driver name="ReconClusterer" />
14+
<driver name="CopyCluster" />
15+
<driver name="HodoRunningPedestal"/>
16+
<driver name="HodoRawConverter"/>
17+
<!-- SVT hit reconstruction drivers -->
18+
<driver name="RawTrackerHitSensorSetup"/>
19+
<driver name="RawTrackerHitFitterDriver" />
20+
21+
<driver name="RawHitTimeSmearer"/>
22+
<driver name="TrackerHitDriver"/>
23+
<driver name="StripHitKiller"/>
24+
25+
<driver name="StripHitSmearer"/>
26+
27+
<driver name="KalmanPatRecDriver"/>
28+
<driver name="TrackTimeSmearer"/>
29+
30+
<driver name="TrackTruthMatching_KF" />
31+
<driver name="ReconParticleDriver_Kalman" />
32+
33+
<!-- KFOutputDriver uses too much memory to run during production -->
34+
<!--<driver name="KFOutputDriver"/>-->
35+
36+
<driver name="LCIOWriter"/>
37+
<driver name="CleanupDriver"/>
38+
</execute>
39+
<drivers>
40+
<driver name="SVTHitEfficiency" type="org.hps.recon.tracking.kalman.SvtHitEfficiencyKalman">
41+
<maxLayer>14</maxLayer>
42+
<useTrkTimeCut>false</useTrkTimeCut>
43+
<!--<trkTimeCut>10.0</trkTimeCut> -->
44+
<!-- <trkTimeMean>15.0</trkTimeMean> -->
45+
<debug>false</debug>
46+
</driver>
47+
<driver name="EventMarkerDriver" type="org.lcsim.job.EventMarkerDriver">
48+
<eventInterval>1000</eventInterval>
49+
</driver>
50+
<driver name="PreCleanupDriver" type="org.hps.analysis.dataquality.ReadoutCleanupDriver">
51+
<collectionNames> EcalCalHits EcalClusters EcalClustersCorr KalmanFullTracks FinalStateParticles_KF UnconstrainedMollerCandidates_KF UnconstrainedMollerVertices_KF UnconstrainedV0Candidates_KF UnconstrainedV0Vertices_KF TargetConstrainedMollerCandidates_KF TargetConstrainedMollerVertices_KF TargetConstrainedV0Candidates_KF TargetConstrainedV0Vertices_KF BeamspotConstrainedMollerCandidates_KF BeamspotConstrainedMollerVertices_KF BeamspotConstrainedV0Candidates_KF BeamspotConstrainedV0Vertices_KF GBLKinkData GBLKinkDataRelations MatchedToGBLTrackRelations HelicalTrackHits HelicalTrackHitRelations MatchedTracks GBLTracks MatchedToGBLTrackRelations PartialTracks RotatedHelicalTrackHits RotatedHelicalTrackHitRelations SVTFittedRawTrackerHits SVTShapeFitParameters StripClusterer_SiTrackerHitStrip1D KFTrackData KFTrackDataRelations KFUnbiasRes KFUnbiasResRelations</collectionNames>
52+
</driver>
53+
<!-- Ecal reconstruction drivers -->
54+
<driver name="EcalRawConverter" type="org.hps.recon.ecal.EcalRawConverter2Driver"/>
55+
<driver name="EcalTimeCorrection" type="org.hps.recon.ecal.EcalTimeCorrectionDriver">
56+
<additionalShift>13.3</additionalShift>
57+
</driver>
58+
<driver name="ReconClusterer" type="org.hps.recon.ecal.cluster.ReconClusterDriver">
59+
<logLevel>WARNING</logLevel>
60+
<outputClusterCollectionName>EcalClusters</outputClusterCollectionName>
61+
</driver>
62+
<driver name="CopyCluster" type="org.hps.recon.ecal.cluster.CopyClusterCollectionDriver">
63+
<inputCollectionName>EcalClusters</inputCollectionName>
64+
<outputCollectionName>EcalClustersCorr</outputCollectionName>
65+
</driver>
66+
<!-- Hodo reconstruction drivers -->
67+
<driver name="HodoRunningPedestal"
68+
type="org.hps.recon.ecal.HodoRunningPedestalDriver">
69+
<inputCollectionName>HodoscopeReadoutHits</inputCollectionName>
70+
<logLevel>CONFIG</logLevel>
71+
<isMC>true</isMC>
72+
</driver>
73+
<driver name="HodoRawConverter" type="org.hps.recon.ecal.HodoRawConverterDriver">
74+
<useRunningPedestal>true</useRunningPedestal>
75+
<inputCollectionName>HodoscopeReadoutHits</inputCollectionName>
76+
<tETAllChannels>8</tETAllChannels>
77+
<logLevel>CONFIG</logLevel>
78+
<isMC>true</isMC>
79+
</driver>
80+
<!-- SVT reconstruction drivers -->
81+
<!-- Driver used to associate raw tracker hits to corresponding sensor. -->
82+
<driver name="RawTrackerHitSensorSetup" type="org.lcsim.recon.tracking.digitization.sisim.config.RawTrackerHitSensorSetup">
83+
<readoutCollections>SVTRawTrackerHits</readoutCollections>
84+
</driver>
85+
<!-- Fit the six raw samples and extract the amplitude and t0. -->
86+
<driver name="RawTrackerHitFitterDriver" type="org.hps.recon.tracking.RawTrackerHitFitterDriver">
87+
<chiSqrThresh>.5</chiSqrThresh>
88+
<doOldDT>1</doOldDT>
89+
<fitAlgorithm>Pileup</fitAlgorithm>
90+
<fitTimeMinimizer>Migrad</fitTimeMinimizer>
91+
<!--use this to correct for trigger time in MC instead of subtractTriggerTime-->
92+
<useTimestamps>true</useTimestamps>
93+
<!--offset to get times centered at 0 after timestamp correction-->
94+
<!-- set to 0 for unspaced; ~112 for spaced -->
95+
<tsCorrectionScale>165</tsCorrectionScale>
96+
<!--correct for the SVT fit time offset...this should be on if <useTimingConditions> is turned on in readout-->
97+
<correctTimeOffset>true</correctTimeOffset>
98+
<!--per sensor shift...set false becasue it's not in readout sim-->
99+
<correctT0Shift>true</correctT0Shift>
100+
<!--use truth time for MC??? typically not used-->
101+
<useTruthTime>false</useTruthTime>
102+
<!--time of flight corrections-->
103+
<subtractTOF>true</subtractTOF>
104+
<!--set this false for MC, true for data-->
105+
<subtractTriggerTime>false</subtractTriggerTime>
106+
<!--per-strip timing correction from database...this should be on i f <useTimingConditions> is turned on in readout -->
107+
<correctChanT0>false</correctChanT0>
108+
<isMC>true</isMC>
109+
<debug>false</debug>
110+
</driver>
111+
<!--
112+
Use the fitted raw tracker hits and create 1D clusters using a
113+
nearest neighbor algorithm.
114+
-->
115+
<driver name="TrackerHitDriver" type="org.hps.recon.tracking.DataTrackerHitDriver">
116+
<neighborDeltaT>24.0</neighborDeltaT>
117+
<neighborDeltaTSigma>3.0</neighborDeltaTSigma>
118+
<saveMonsterEvents>false</saveMonsterEvents>
119+
<thresholdMonsterEvents>400</thresholdMonsterEvents>
120+
<clusterSeedThreshold>4.0</clusterSeedThreshold>
121+
<doTimeError>1.0</doTimeError>
122+
<clusterNeighborThreshold>3.0</clusterNeighborThreshold>
123+
<clusterThreshold>3.0</clusterThreshold>
124+
<doDeadFix>true</doDeadFix>
125+
<doVSplit>true</doVSplit>
126+
<debug>false</debug>
127+
</driver>
128+
129+
<driver name="ReconParticleDriver_Kalman" type="org.hps.recon.particle.HpsReconParticleDriver" >
130+
<ecalClusterCollectionName>EcalClustersCorr</ecalClusterCollectionName>
131+
<trackCollectionNames>KalmanFullTracks</trackCollectionNames>
132+
<matcherTrackCollectionName>KalmanFullTracks</matcherTrackCollectionName>
133+
<trackClusterMatcherAlgo>TrackClusterMatcherMinDistance</trackClusterMatcherAlgo>
134+
<unconstrainedV0CandidatesColName>UnconstrainedV0Candidates_KF</unconstrainedV0CandidatesColName>
135+
<unconstrainedV0VerticesColName>UnconstrainedV0Vertices_KF</unconstrainedV0VerticesColName>
136+
<beamConV0CandidatesColName>BeamspotConstrainedV0Candidates_KF</beamConV0CandidatesColName>
137+
<beamConV0VerticesColName>BeamspotConstrainedV0Vertices_KF</beamConV0VerticesColName>
138+
<targetConV0CandidatesColName>TargetConstrainedV0Candidates_KF</targetConV0CandidatesColName>
139+
<targetConV0VerticesColName>TargetConstrainedV0Vertices_KF</targetConV0VerticesColName>
140+
<finalStateParticlesColName>FinalStateParticles_KF</finalStateParticlesColName>
141+
<otherElectronsColName>OtherElectrons_KF</otherElectronsColName>
142+
<includeUnmatchedTracksInFSP>true</includeUnmatchedTracksInFSP>
143+
<beamPositionX> 0.0 </beamPositionX>
144+
<beamSigmaX> 0.3 </beamSigmaX>
145+
<beamPositionY> 0.0 </beamPositionY>
146+
<beamSigmaY> 0.02 </beamSigmaY>
147+
<beamPositionZ> -0.5 </beamPositionZ>
148+
<trackClusterTimeOffset>25</trackClusterTimeOffset>
149+
<maxMatchDt>40</maxMatchDt>
150+
<useInternalVertexXYPositions>false</useInternalVertexXYPositions>
151+
<minVertexChisqProb> 0.0 </minVertexChisqProb>
152+
<maxVertexClusterDt>40.0</maxVertexClusterDt>
153+
<maxElectronP>7.0</maxElectronP>
154+
<maxVertexP>7.0</maxVertexP>
155+
<requireClustersForV0>false</requireClustersForV0>
156+
<useCorrectedClusterPositionsForMatching>false</useCorrectedClusterPositionsForMatching>
157+
<applyClusterCorrections>true</applyClusterCorrections>
158+
<useTrackPositionForClusterCorrection>true</useTrackPositionForClusterCorrection>
159+
<isMC>true</isMC>
160+
<debug>false</debug>
161+
<makeMollerCols>true</makeMollerCols>
162+
<unconstrainedMollerCandidatesColName>UnconstrainedMollerCandidates_KF</unconstrainedMollerCandidatesColName>
163+
<unconstrainedMollerVerticesColName>UnconstrainedMollerVertices_KF</unconstrainedMollerVerticesColName>
164+
<beamConMollerCandidatesColName>BeamspotConstrainedMollerCandidates_KF</beamConMollerCandidatesColName>
165+
<beamConMollerVerticesColName>BeamspotConstrainedMollerVertices_KF</beamConMollerVerticesColName>
166+
<targetConMollerCandidatesColName>TargetConstrainedMollerCandidates_KF</targetConMollerCandidatesColName>
167+
<targetConMollerVerticesColName>TargetConstrainedMollerVertices_KF</targetConMollerVerticesColName>
168+
</driver>
169+
<driver name="RawHitTimeSmearer" type="org.hps.recon.tracking.RawHitTimeSmearer">
170+
<smearTimeFile>timeSmearing-2nsL4L7-4nsL1L3.txt</smearTimeFile>
171+
<debug>false</debug>
172+
</driver>
173+
174+
<driver name="StripHitKiller" type="org.hps.recon.tracking.StripHitKiller">
175+
<ratioFiles>run14232_L1b_axial_hole.txt run14232_L1b_stereo_hole.txt run14232_L1t_axial_hole.txt run14232_L1t_stereo_hole.txt run14232_L2b_axial_hole.txt run14232_L2b_stereo_hole.txt run14232_L2t_axial_hole.txt run14232_L2t_stereo_hole.txt</ratioFiles>
176+
<debug>false</debug>
177+
</driver>
178+
179+
<driver name="StripHitSmearer" type="org.hps.recon.tracking.StripHitSmearer">
180+
<smearPositionFile>posSmearing-0pt005mm-0pt008mm-2021.txt</smearPositionFile>
181+
<debug>false</debug>
182+
</driver>
183+
184+
<driver name="TrackTimeSmearer" type="org.hps.recon.tracking.TrackTimeSmearer">
185+
<debug>false</debug>
186+
<smearBottom>1.5</smearBottom>
187+
<smearTop>1.5</smearTop>
188+
</driver>
189+
<driver name="GBLRefitterDriver" type="org.hps.recon.tracking.gbl.GBLRefitterDriver"/>
190+
<driver name="KalmanPatRecDriver" type="org.hps.recon.tracking.kalman.KalmanPatRecDriver">
191+
<addResiduals>true</addResiduals>
192+
<addKinks>true</addKinks>
193+
<numPatRecIteration> 3 </numPatRecIteration>
194+
<numKalmanIteration> 1 </numKalmanIteration>
195+
<maxPtInverse> 8.757651 </maxPtInverse>
196+
<maxD0> 38.0487 </maxD0>
197+
<maxZ0> 3.98915 </maxZ0>
198+
<maxChi2> 11.777395 </maxChi2>
199+
<minHits> 0 </minHits>
200+
<minStereo> 3 </minStereo>
201+
<maxSharedHits> 3 </maxSharedHits>
202+
<maxTimeRange> 39.95028 </maxTimeRange>
203+
<maxTanLambda> 8.186345 </maxTanLambda>
204+
<!-- <maxResidual> 13.71568 </maxResidual> -->
205+
<maxChi2Inc> 13.52662 </maxChi2Inc>
206+
<minChi2IncBad> 7.00678 </minChi2IncBad>
207+
<!-- <maxResidShare> 13.967129 </maxResidShare> -->
208+
<maxChi2IncShare> 9.771546584 </maxChi2IncShare>
209+
<mxChi2Vtx> 1.7652935 </mxChi2Vtx>
210+
<numEvtPlots> 5 </numEvtPlots>
211+
<doDebugPlots> false </doDebugPlots>
212+
<siHitsLimit> 466 </siHitsLimit>
213+
<seedCompThr> .725912 </seedCompThr>
214+
<!--numStrategyIter1></numStrategyIter1 tthe mxChi2Vtx was 1.0-->
215+
<beamPositionZ> -0.5 </beamPositionZ>
216+
<beamSigmaZ> 0.5 </beamSigmaZ>
217+
<beamPositionX> 0.0 </beamPositionX>
218+
<beamSigmaX> 0.3 </beamSigmaX>
219+
<beamPositionY> 0.0 </beamPositionY>
220+
<beamSigmaY> 0.02 </beamSigmaY>
221+
<lowPhThresh> 7.204329 </lowPhThresh>
222+
<verbose> false </verbose>
223+
</driver>
224+
<driver name="TrackTruthMatching_KF" type="org.hps.analysis.MC.TrackToMCParticleRelationsDriver">
225+
<trackCollectionName>KalmanFullTracks</trackCollectionName>
226+
<kalmanTracks>true</kalmanTracks>
227+
<debug>false</debug>
228+
</driver>
229+
<driver name="AidaSaveDriver" type="org.lcsim.job.AidaSaveDriver">
230+
<outputFileName>${outputFile}_hit_eff.root</outputFileName>
231+
</driver>
232+
233+
<driver name="LCIOWriter" type="org.lcsim.util.loop.LCIODriver">
234+
<outputFilePath>${outputFile}.slcio</outputFilePath>
235+
</driver>
236+
<driver name="CleanupDriver" type="org.lcsim.recon.tracking.digitization.sisim.config.ReadoutCleanupDriver"/>
237+
238+
<driver name="KFOutputDriver" type="org.hps.recon.tracking.kalman.KFOutputDriver">
239+
<outputPlotsFilename>${outputFile}_KF.root</outputPlotsFilename>
240+
<debug>false</debug>
241+
<bsZ>0.0</bsZ>
242+
<!--<trackCollectionName>GBLTracks</trackCollectionName> -->
243+
<trackCollectionName>KalmanFullTracks</trackCollectionName>
244+
<minMom>-10</minMom>
245+
<maxMom>10</maxMom>
246+
<chi2Cut>9999</chi2Cut>
247+
<doKFresiduals>true</doKFresiduals>
248+
<useParticles>false</useParticles>
249+
</driver>
250+
251+
252+
</drivers>
253+
</lcsim>

0 commit comments

Comments
 (0)