2626echo_date " general setups"
2727source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
2828source /cvmfs/mu2e.opensciencegrid.org/setupmu2e-art.sh
29+ setup muse
2930setup codetools
30-
31- echo_date " cd Offline"
32- cd Offline
33-
34- echo_date " source setup"
35- source setup.sh
36-
31+ muse setup -1
3732
3833echo_date " start root overlaps"
3934rootOverlaps.sh
4035RCT=${PIPESTATUS[0]}
4136echo_date " root overlaps return code $RCT "
42- LEGAL=$( grep CloseGeometry ../ check | awk ' {print $4 " " $5 " " $6 " " $7 " " $8}' )
43- ILLEGAL=$( grep illegal ../ check | awk ' {print $NF}' )
37+ LEGAL=$( grep CloseGeometry check | awk ' {print $4 " " $5 " " $6 " " $7 " " $8}' )
38+ ILLEGAL=$( grep illegal check | awk ' {print $NF}' )
4439if [[ $RCT -eq 0 && $ILLEGAL -eq 0 ]]; then
4540 STATUS=OK
4641else
@@ -52,7 +47,7 @@ RC=$(($RC+$RCT))
5247
5348
5449echo_date " start transportOnly"
55- mu2e -n 5 -c Mu2eG4/fcl/transportOnly.fcl
50+ mu2e -n 5 -c Offline/ Mu2eG4/fcl/transportOnly.fcl
5651RCT=$?
5752echo_date " transportOnly return code $RCT "
5853if [ $RCT -eq 0 ]; then
@@ -65,7 +60,7 @@ RC=$(($RC+$RCT))
6560
6661
6762echo_date " start g4study2"
68- mu2e -n 5 -c Mu2eG4/g4study/g4study.fcl
63+ mu2e -n 5 -c Offline/ Mu2eG4/g4study/g4study.fcl
6964RCT=$?
7065echo_date " g4study2 return code $RCT "
7166if [ $RCT -eq 0 ]; then
@@ -78,7 +73,7 @@ RC=$(($RC+$RCT))
7873
7974
8075echo_date " start g4test_03MT"
81- mu2e -n 20 -c Mu2eG4/fcl/g4test_03MT.fcl
76+ mu2e -n 20 -c Offline/ Mu2eG4/fcl/g4test_03MT.fcl
8277RCT=$?
8378echo_date " g4test_03MT return code $RCT "
8479if [ $RCT -eq 0 ]; then
@@ -93,7 +88,7 @@ RC=$(($RC+$RCT))
9388# 4/2021 MDC2020 production sequence
9489
9590echo_date " start ceSteps"
96- mu2e -n 50 -c Validation/test /ceSteps.fcl
91+ mu2e -n 50 -c Production/Validation /ceSteps.fcl
9792RCT=$?
9893echo_date " ceSteps return code $RCT "
9994if [ $RCT -eq 0 ]; then
@@ -107,7 +102,7 @@ RC=$(($RC+$RCT))
107102
108103echo_date " start ceDigi"
109104# takes ceSteps as input
110- mu2e -c Validation/test /ceDigi.fcl
105+ mu2e -c Production/Validation /ceDigi.fcl
111106RCT=$?
112107echo_date " ceDigi return code $RCT "
113108if [ $RCT -eq 0 ]; then
@@ -119,7 +114,7 @@ echo "REPORT STATUS $STATUS ceDigi"
119114RC=$(( $RC + $RCT ))
120115
121116echo_date " start muDauSteps"
122- mu2e -n 6000 -c Validation/test /muDauSteps.fcl
117+ mu2e -n 6000 -c Production/Validation /muDauSteps.fcl
123118RCT=$?
124119echo_date " muDauSteps return code $RCT "
125120if [ $RCT -eq 0 ]; then
130125echo " REPORT STATUS $STATUS muDauSteps"
131126RC=$(( $RC + $RCT ))
132127
133- # disabled until it runs..
134128echo_date " start ceMix"
135129# takes ceSteps and muDauSteps as input
136- mu2e -c Validation/test /ceMix.fcl
130+ mu2e -c Production/Validation /ceMix.fcl
137131RCT=$?
138132echo_date " ceMix return code $RCT "
139133if [ $RCT -eq 0 ]; then
144138echo " REPORT STATUS $STATUS ceMix"
145139RC=$(( $RC + $RCT ))
146140
147-
148-
149- # 11/2/20 paused cemixdigi due to no mising file with new code
150- # echo_date "start ceMixDigi"
151- # mu2e -n 10 -c Validation/fcl/ceMixDigi.fcl >& ceMixDigi.log
152- # RCT=$?
153- # cat ceMixDigi.log
154- # echo_date "ceMixDigi return code $RCT"
155- # if [ $RCT -eq 0 ]; then
156- # STATUS=OK
157- # else
158- # STATUS=FAILED
159- # fi
160- # echo "REPORT STATUS $STATUS ceMixDigi"
161- # MIXCPU=$( grep "TimeReport CPU" ceMixDigi.log | awk '{print int($4)}')
162- # MIXMEM=$( grep "VmPeak" ceMixDigi.log | awk '{print int($4)}')
163- # MIXSIZ=$( ls -l dig.owner.val-ceMixDigi.dsconf.seq.art | awk '{print $5}')
164- # echo "REPORT EXE ceMixDigi $MIXCPU $MIXMEM $MIXSIZ"
165- # RC=$(($RC+$RCT))
141+ echo_date " start cosmicOffSpill"
142+ # takes an explicit input file, in fcl
143+ mu2e -n 20 -c Production/Validation/cosmicOffSpill.fcl
144+ RCT=$?
145+ echo_date " cosmicOffSpill return code $RCT "
146+ if [ $RCT -eq 0 ]; then
147+ STATUS=OK
148+ else
149+ STATUS=FAILED
150+ fi
151+ echo " REPORT STATUS $STATUS cosmicOffSpill"
152+ RC=$(( $RC + $RCT ))
166153
167154
168155echo_date " start geant surfaceCheck"
169- mu2e -c Mu2eG4/fcl/surfaceCheck.fcl
156+ mu2e -c Offline/ Mu2eG4/fcl/surfaceCheck.fcl
170157RCT=$?
171158echo_date " geant surfaceCheck return code $RCT "
172- LEGAL=$( grep ' Checking overlaps for volume' ../ check | grep -c OK )
173- ILLEGAL=$( grep ' Checking overlaps for volume' ../ check | grep -v OK | wc -l )
159+ LEGAL=$( grep ' Checking overlaps for volume' check | grep -c OK )
160+ ILLEGAL=$( grep ' Checking overlaps for volume' check | grep -v OK | wc -l )
174161# print overlaps into the log
175- grep ' Checking overlaps for volume' ../ check | grep -v OK
162+ grep ' Checking overlaps for volume' check | grep -v OK
176163if [[ $RCT -eq 0 && $LEGAL -gt 0 && $ILLEGAL -eq 0 ]]; then
177164 STATUS=OK
178165else
0 commit comments