Skip to content

Commit

Permalink
fixReading_12_4_X_Files when reconstructing data from 12_4_X HLT
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Oct 18, 2024
1 parent 98dbda9 commit 74ab6b3
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ era=$3

#export SCRAM_ARCH=$scram_arch

echo '> Running RAW2DIGI,L1Reco,RECO,RECOSIM + PAT steps in ' $release
echo '> Running RAW2DIGI,L1Reco,RECO,RECOSIM + PAT steps reading input generated in ' $release

# Check if release matches the pattern "CMSSW_12_4_*_HLT"
if [[ $release == CMSSW_12_4_*_HLT ]]; then
echo "Release matches CMSSW_12_4_*_HLT, adding customisation for fixReading_12_4_X_Files"
customise_flag="IOPool/Input/fixReading_12_4_X_Files.fixReading_12_4_X_Files, Configuration/DataProcessing/Utils.addMonitoring"
else
customise_flag="Configuration/DataProcessing/Utils.addMonitoring"
fi

cmsDriver.py --python_filename reco.py --eventcontent AODSIM \
--customise Configuration/DataProcessing/Utils.addMonitoring \
--customise $customise_flag \
--datatier AODSIM --fileout file:step4.root \
--conditions $conditions --step RAW2DIGI,L1Reco,RECO,RECOSIM \
--geometry DB:Extended --filein file:step3.root --era $era \
Expand Down

0 comments on commit 74ab6b3

Please sign in to comment.