Skip to content

Commit

Permalink
Merge pull request #303 from oksuzian/cosmic_s2
Browse files Browse the repository at this point in the history
Changes required for cosmic S2 simulations
  • Loading branch information
kutschke authored Mar 10, 2024
2 parents aefa2d5 + 0d3cbd3 commit 28f21e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion CampaignConfig/mdc2020_prolog.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ setup_2 = -B mu2etools
setup_3 = -B sam_web_client
setup_4 = -B dhtools v1_24a


ifdh_art = True
postscript = find *[0-9]* -maxdepth 1 -name "*.fcl" -exec sed -i "s/MU2EGRIDDSOWNER/%(submitter)s/g" {} +
postscript_2 = find *[0-9]* -maxdepth 1 -name "*.fcl" -exec sed -i "s/MU2EGRIDDSCONF/%(desc)s/g" {} +
Expand Down
1 change: 1 addition & 0 deletions JobConfig/cosmic/S2ResamplerLow.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
# epilog for resampling 'Low' S1 output
#
physics.filters.CosmicResampler.mu2e.products.cosmicLivetimeMixer.genCounterLabel: "genCounterLow::Primary"
physics.filters.PrimaryFilter.MaximumPartMom: 500
3 changes: 3 additions & 0 deletions Scripts/gen_Cat.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ done
CONF=${CAMP}${VERSION}
OUTFILENAME="${FILETYPE}.DSOWNER.${NAME}Cat.DSCONF.SEQ.art"

[ -f "inputs.txt" ] && rm -f "inputs.txt"
[ -f "template.fcl" ] && rm -f "template.fcl"

samweb list-file-locations ${SAMOPT} --defname=${FILETYPE}.${OWNER}.${NAME}.${CONF}.art | cut -f1 > inputs.txt
echo '#include "Production/JobConfig/common/artcat.fcl"' >> template.fcl
echo 'outputs.out.fileName: "'${OUTFILENAME}'"' >> template.fcl
Expand Down

0 comments on commit 28f21e3

Please sign in to comment.