-
Notifications
You must be signed in to change notification settings - Fork 12
adding pass2 recon steering file #1097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
tongtongcao
merged 2 commits into
JeffersonLab:master
from
sarahgaiser:update_MC_steering_files
Apr 16, 2025
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
207 changes: 207 additions & 0 deletions
207
...rc/main/resources/org/hps/steering/recon/PhysicsRun2019MCRecon_KF_WithSpacing_pass2.lcsim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,207 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <lcsim xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcsim/1.0/lcsim.xsd"> | ||
| <!-- | ||
| @brief Steering file that will be used for the reconstruction of 2019 MC. | ||
| @author <a href="mailto:omoreno1@ucsc.edu">Omar Moreno</a> | ||
| --> | ||
| <execute> | ||
| <driver name="EventMarkerDriver"/> | ||
| <!-- Ecal reconstruction drivers --> | ||
| <driver name="EcalRawConverter" /> | ||
| <driver name="EcalTimeCorrection"/> | ||
| <driver name="ReconClusterer" /> | ||
| <driver name="CopyCluster" /> | ||
| <driver name="HodoRunningPedestal"/> | ||
| <driver name="HodoRawConverter"/> | ||
| <!-- SVT hit reconstruction drivers --> | ||
| <driver name="RawTrackerHitSensorSetup"/> | ||
| <driver name="RawTrackerHitFitterDriver" /> | ||
| <driver name="TrackerHitDriver"/> | ||
|
|
||
| <driver name="KalmanPatRecDriver"/> | ||
| <driver name="TrackTruthMatching_KF" /> | ||
| <driver name="ReconParticleDriver_Kalman" /> | ||
| <!-- KFOutputDriver uses too much memory to run during production --> | ||
| <!--<driver name="KFOutputDriver"/>--> | ||
|
|
||
| <driver name="LCIOWriter"/> | ||
| <driver name="CleanupDriver"/> | ||
| </execute> | ||
| <drivers> | ||
| <driver name="EventMarkerDriver" type="org.lcsim.job.EventMarkerDriver"> | ||
| <eventInterval>1000</eventInterval> | ||
| </driver> | ||
| <!-- Ecal reconstruction drivers --> | ||
| <driver name="EcalRawConverter" type="org.hps.recon.ecal.EcalRawConverter2Driver"/> | ||
| <driver name="EcalTimeCorrection" type="org.hps.recon.ecal.EcalTimeCorrectionDriver"/> | ||
| <driver name="ReconClusterer" type="org.hps.recon.ecal.cluster.ReconClusterDriver"> | ||
| <logLevel>WARNING</logLevel> | ||
| <outputClusterCollectionName>EcalClusters</outputClusterCollectionName> | ||
| </driver> | ||
| <driver name="CopyCluster" type="org.hps.recon.ecal.cluster.CopyClusterCollectionDriver"> | ||
| <inputCollectionName>EcalClusters</inputCollectionName> | ||
| <outputCollectionName>EcalClustersCorr</outputCollectionName> | ||
| </driver> | ||
| <!-- Hodo reconstruction drivers --> | ||
| <driver name="HodoRunningPedestal" | ||
| type="org.hps.recon.ecal.HodoRunningPedestalDriver"> | ||
| <inputCollectionName>HodoscopeReadoutHits</inputCollectionName> | ||
| <logLevel>CONFIG</logLevel> | ||
| <isMC>true</isMC> | ||
| </driver> | ||
| <driver name="HodoRawConverter" type="org.hps.recon.ecal.HodoRawConverterDriver"> | ||
| <useRunningPedestal>true</useRunningPedestal> | ||
| <inputCollectionName>HodoscopeReadoutHits</inputCollectionName> | ||
| <tETAllChannels>8</tETAllChannels> | ||
| <logLevel>CONFIG</logLevel> | ||
| <isMC>true</isMC> | ||
| </driver> | ||
| <!-- SVT reconstruction drivers --> | ||
| <!-- Driver used to associate raw tracker hits to corresponding sensor. --> | ||
| <driver name="RawTrackerHitSensorSetup" type="org.lcsim.recon.tracking.digitization.sisim.config.RawTrackerHitSensorSetup"> | ||
| <readoutCollections>SVTRawTrackerHits</readoutCollections> | ||
| </driver> | ||
| <!-- Fit the six raw samples and extract the amplitude and t0. --> | ||
| <driver name="RawTrackerHitFitterDriver" type="org.hps.recon.tracking.RawTrackerHitFitterDriver"> | ||
| <chiSqrThresh>.5</chiSqrThresh> | ||
| <doOldDT>1</doOldDT> | ||
| <fitAlgorithm>Pileup</fitAlgorithm> | ||
| <fitTimeMinimizer>Migrad</fitTimeMinimizer> | ||
| <!--use this to correct for trigger time in MC instead of subtractTriggerTime--> | ||
| <useTimestamps>true</useTimestamps> | ||
| <!--offset to get times centered at 0 after timestamp correction--> | ||
| <!-- set to 0 for unspaced; ~112 for spaced --> | ||
| <tsCorrectionScale>120</tsCorrectionScale> | ||
| <!--correct for the SVT fit time offset...this should be on if <useTimingConditions> is turned on in readout--> | ||
| <correctTimeOffset>true</correctTimeOffset> | ||
| <!--per sensor shift...set false becasue it's not in readout sim--> | ||
| <correctT0Shift>true</correctT0Shift> | ||
| <!--use truth time for MC??? typically not used--> | ||
| <useTruthTime>false</useTruthTime> | ||
| <!--time of flight corrections--> | ||
| <subtractTOF>true</subtractTOF> | ||
| <!--set this false for MC, true for data--> | ||
| <subtractTriggerTime>false</subtractTriggerTime> | ||
| <!--per-strip timing correction from database...this should be on i f <useTimingConditions> is turned on in readout --> | ||
| <correctChanT0>false</correctChanT0> | ||
| <isMC>true</isMC> | ||
| <debug>false</debug> | ||
| </driver> | ||
| <!-- | ||
| Use the fitted raw tracker hits and create 1D clusters using a | ||
| nearest neighbor algorithm. | ||
| --> | ||
| <driver name="TrackerHitDriver" type="org.hps.recon.tracking.DataTrackerHitDriver"> | ||
| <neighborDeltaT>24.0</neighborDeltaT> | ||
| <neighborDeltaTSigma>3.0</neighborDeltaTSigma> | ||
| <saveMonsterEvents>false</saveMonsterEvents> | ||
| <thresholdMonsterEvents>400</thresholdMonsterEvents> | ||
| <clusterSeedThreshold>4.0</clusterSeedThreshold> | ||
| <doTimeError>1.0</doTimeError> | ||
| <clusterNeighborThreshold>3.0</clusterNeighborThreshold> | ||
| <clusterThreshold>3.0</clusterThreshold> | ||
| <doDeadFix>true</doDeadFix> | ||
| <doVSplit>true</doVSplit> | ||
| <debug>false</debug> | ||
| </driver> | ||
|
|
||
| <driver name="ReconParticleDriver_Kalman" type="org.hps.recon.particle.HpsReconParticleDriver" > | ||
| <ecalClusterCollectionName>EcalClustersCorr</ecalClusterCollectionName> | ||
| <trackCollectionNames>KalmanFullTracks</trackCollectionNames> | ||
| <matcherTrackCollectionName>KalmanFullTracks</matcherTrackCollectionName> | ||
| <trackClusterMatcherAlgo>TrackClusterMatcherMinDistance</trackClusterMatcherAlgo> | ||
| <unconstrainedV0CandidatesColName>UnconstrainedV0Candidates_KF</unconstrainedV0CandidatesColName> | ||
| <unconstrainedV0VerticesColName>UnconstrainedV0Vertices_KF</unconstrainedV0VerticesColName> | ||
| <beamConV0CandidatesColName>BeamspotConstrainedV0Candidates_KF</beamConV0CandidatesColName> | ||
| <beamConV0VerticesColName>BeamspotConstrainedV0Vertices_KF</beamConV0VerticesColName> | ||
| <targetConV0CandidatesColName>TargetConstrainedV0Candidates_KF</targetConV0CandidatesColName> | ||
| <targetConV0VerticesColName>TargetConstrainedV0Vertices_KF</targetConV0VerticesColName> | ||
| <finalStateParticlesColName>FinalStateParticles_KF</finalStateParticlesColName> | ||
| <otherElectronsColName>OtherElectrons_KF</otherElectronsColName> | ||
| <includeUnmatchedTracksInFSP>true</includeUnmatchedTracksInFSP> | ||
| <beamPositionX> 0.0 </beamPositionX> | ||
| <beamSigmaX> 0.3 </beamSigmaX> | ||
| <beamPositionY> 0.0 </beamPositionY> | ||
| <beamSigmaY> 0.02 </beamSigmaY> | ||
| <beamPositionZ> 0.9 </beamPositionZ> | ||
| <trackClusterTimeOffset>25</trackClusterTimeOffset> | ||
| <maxMatchDt>40</maxMatchDt> | ||
| <useInternalVertexXYPositions>false</useInternalVertexXYPositions> | ||
| <minVertexChisqProb> 0.0 </minVertexChisqProb> | ||
| <maxVertexClusterDt>40.0</maxVertexClusterDt> | ||
| <maxElectronP>7.0</maxElectronP> | ||
| <maxVertexP>7.0</maxVertexP> | ||
| <requireClustersForV0>false</requireClustersForV0> | ||
| <useCorrectedClusterPositionsForMatching>false</useCorrectedClusterPositionsForMatching> | ||
| <applyClusterCorrections>true</applyClusterCorrections> | ||
| <useTrackPositionForClusterCorrection>true</useTrackPositionForClusterCorrection> | ||
| <isMC>true</isMC> | ||
| <debug>false</debug> | ||
| <makeMollerCols>true</makeMollerCols> | ||
| <unconstrainedMollerCandidatesColName>UnconstrainedMollerCandidates_KF</unconstrainedMollerCandidatesColName> | ||
| <unconstrainedMollerVerticesColName>UnconstrainedMollerVertices_KF</unconstrainedMollerVerticesColName> | ||
| <beamConMollerCandidatesColName>BeamspotConstrainedMollerCandidates_KF</beamConMollerCandidatesColName> | ||
| <beamConMollerVerticesColName>BeamspotConstrainedMollerVertices_KF</beamConMollerVerticesColName> | ||
| <targetConMollerCandidatesColName>TargetConstrainedMollerCandidates_KF</targetConMollerCandidatesColName> | ||
| <targetConMollerVerticesColName>TargetConstrainedMollerVertices_KF</targetConMollerVerticesColName> | ||
| </driver> | ||
| <driver name="GBLRefitterDriver" type="org.hps.recon.tracking.gbl.GBLRefitterDriver"/> | ||
| <driver name="KalmanPatRecDriver" type="org.hps.recon.tracking.kalman.KalmanPatRecDriver"> | ||
| <numPatRecIteration> 3 </numPatRecIteration> | ||
| <numKalmanIteration> 1 </numKalmanIteration> | ||
| <maxPtInverse> 8.757651 </maxPtInverse> | ||
| <maxD0> 38.0487 </maxD0> | ||
| <maxZ0> 3.98915 </maxZ0> | ||
| <maxChi2> 11.777395 </maxChi2> | ||
| <minHits> 0 </minHits> | ||
| <minStereo> 3 </minStereo> | ||
| <maxSharedHits> 3 </maxSharedHits> | ||
| <maxTimeRange> 39.95028 </maxTimeRange> | ||
| <maxTanLambda> 8.186345 </maxTanLambda> | ||
| <!-- <maxResidual> 13.71568 </maxResidual> --> | ||
| <maxChi2Inc> 13.52662 </maxChi2Inc> | ||
| <minChi2IncBad> 7.00678 </minChi2IncBad> | ||
| <!-- <maxResidShare> 13.967129 </maxResidShare> --> | ||
| <maxChi2IncShare> 9.771546584 </maxChi2IncShare> | ||
| <mxChi2Vtx> 1.7652935 </mxChi2Vtx> | ||
| <numEvtPlots> 5 </numEvtPlots> | ||
| <doDebugPlots> false </doDebugPlots> | ||
| <siHitsLimit> 466 </siHitsLimit> | ||
| <seedCompThr> .725912 </seedCompThr> | ||
| <!--numStrategyIter1></numStrategyIter1 tthe mxChi2Vtx was 1.0--> | ||
| <beamPositionZ> 0.9 </beamPositionZ> | ||
| <beamSigmaZ> 0.02 </beamSigmaZ> | ||
| <beamPositionX> 0.0 </beamPositionX> | ||
| <beamSigmaX> 0.05 </beamSigmaX> | ||
| <beamPositionY> 0.0 </beamPositionY> | ||
| <beamSigmaY> 1.0 </beamSigmaY> | ||
| <lowPhThresh> 7.204329 </lowPhThresh> | ||
| <verbose> false </verbose> | ||
| </driver> | ||
| <driver name="TrackTruthMatching_KF" type="org.hps.analysis.MC.TrackToMCParticleRelationsDriver"> | ||
| <trackCollectionName>KalmanFullTracks</trackCollectionName> | ||
| <kalmanTracks>true</kalmanTracks> | ||
| <debug>false</debug> | ||
| </driver> | ||
|
|
||
| <driver name="LCIOWriter" type="org.lcsim.util.loop.LCIODriver"> | ||
| <outputFilePath>${outputFile}.slcio</outputFilePath> | ||
| </driver> | ||
| <driver name="CleanupDriver" type="org.lcsim.recon.tracking.digitization.sisim.config.ReadoutCleanupDriver"/> | ||
|
|
||
| <driver name="KFOutputDriver" type="org.hps.recon.tracking.kalman.KFOutputDriver"> | ||
| <outputPlotsFilename>${outputFile}.root</outputPlotsFilename> | ||
| <debug>false</debug> | ||
| <bsZ>0.9</bsZ> | ||
| <!--<trackCollectionName>GBLTracks</trackCollectionName> --> | ||
| <trackCollectionName>KalmanFullTracks</trackCollectionName> | ||
| <minMom>0.1</minMom> | ||
| <maxMom>4.8</maxMom> | ||
| <chi2Cut>9999</chi2Cut> | ||
| <doKFresiduals>true</doKFresiduals> | ||
| <useParticles>true</useParticles> | ||
| </driver> | ||
|
|
||
|
|
||
| </drivers> | ||
| </lcsim> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the corrections on/off match what's used in other MC recons?