Skip to content

Commit 1a7dcb5

Browse files
Merge pull request #356 from AndrewEdmonds11/v06_10_00-again
Final commits for v06_10_00
2 parents 1bc3e1e + f932aa7 commit 1a7dcb5

File tree

5 files changed

+25
-13
lines changed

5 files changed

+25
-13
lines changed

fcl/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ where ```tier``` is the data tier of the input dataset, ```type``` is the type o
2828
| from_mcs-OffSpill.fcl | off spill datasets | only contains ```CentralHelix``` tracks (i.e. field-on cosmics) |
2929
| from_dig-mockdata.fcl | mock datasets (digis) | runs reconstruction and creates EventNtuple in one job |
3030
| from_dig-DeMCalib.fcl | digitized primary or mixed datasets | also runs reconstruction, only writes one track per event |
31-
| from_rec-crv-vst.fcl | CRV VST Data | only contains ```evtinfo``` and ```crv*``` branches |
31+
| from_rec-crv-kpp.fcl | CRV KPP Data | only contains ```evtinfo``` and ```crv*``` branches |
32+
| from_rec-crv-kpp_withCrvDigis.fcl | CRV KPP Data | as above but with ```crvdigis``` branch adde |
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
#include "EventNtuple/fcl/from_mcs-mockdata_noMC.fcl"
22

3-
physics.analyzers.EventNtuple.FillCRVDigis : true
4-
physics.analyzers.EventNtuple.FillCRVPulses : false # true
3+
physics.analyzers.EventNtuple.FillCRVDigis : false
4+
physics.analyzers.EventNtuple.FillCRVPulses : false
55
physics.analyzers.EventNtuple.branches : [ ] # no track branches
66
physics.analyzers.EventNtuple.FillCaloClusters : false # no calorimeter
77
physics.analyzers.EventNtuple.FillCaloHits : false # no calorimeter
8+
physics.analyzers.EventNtuple.FillCaloClustersMC : false # no calorimeter
9+
physics.analyzers.EventNtuple.FillCaloSimInfos : false # no calorimeter
810
physics.analyzers.EventNtuple.RecoCountTag : ""
911
physics.analyzers.EventNtuple.PBTTag : ""
10-
physics.analyzers.EventNtuple.hasCRV : false # true
12+
physics.analyzers.EventNtuple.hasCRV : false #false keeps events that have no CRV coincidences
1113
physics.analyzers.EventNtuple.FillTriggerInfo : false
1214

1315
physics.analyzers.EventNtuple.CrvDigisTag : "CrvDigi"
1416
physics.analyzers.EventNtuple.CrvCoincidencesTag: "CrvCoincidenceClusterFinder"
1517
physics.analyzers.EventNtuple.CrvRecoPulsesTag: "CrvRecoPulses"
1618

1719
services.GeometryService.inputFile: "Offline/Mu2eG4/geom/geom_common_extracted.txt"
18-
19-
physics.analyzers.EventNtuple.FillCaloClustersMC : false # no calorimeter
20-
physics.analyzers.EventNtuple.FillCaloSimInfos : false # no calorimeter
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#include "EventNtuple/fcl/from_rec-crv-kpp.fcl"
2+
3+
physics.analyzers.EventNtuple.FillCRVDigis : true

src/InfoMCStructHelper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ namespace mu2e {
377377
}
378378
ccimcs.push_back(ccimc);
379379
}
380-
float tprimary; // time of the most energetic deposit
380+
381381
void InfoMCStructHelper::fillCaloHitInfoMC(CaloHitMC const& chmc, std::vector<CaloHitInfoMC>& chimcs, int clusterIdx = -1) {
382382
CaloHitInfoMC chimc;
383383
auto const& edeps = chmc.energyDeposits();

validation/test_fcls.sh

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ primary_dataset=""
1616
mixed_dataset=""
1717
extracted_dataset=""
1818
digi_dataset=""
19-
crv_vst_dataset="temp_crv_kpp"
19+
crv_kpp_dataset="temp_crv_kpp"
2020

2121
if [[ "$vMDC" == "MDC2020" ]]; then
2222
echo "Testing MDC2020 datasets"
@@ -47,7 +47,7 @@ else
4747
return
4848
fi
4949

50-
all_datasets=( $mock_dataset $primary_dataset $mixed_dataset $extracted_dataset $digi_dataset $crv_vst_dataset )
50+
all_datasets=( $mock_dataset $primary_dataset $mixed_dataset $extracted_dataset $digi_dataset $crv_kpp_dataset )
5151

5252
if [ ! -d ../filelists ]; then
5353
echo "Making directory ../filelists/"
@@ -188,9 +188,18 @@ else
188188
echo "FAIL" | tee -a ${log_file}
189189
fi
190190

191-
echo -n "from_rec-crv-vst.fcl... "
192-
echo "mu2e -c fcl/from_rec-crv-vst.fcl -S ../filelists/${crv_vst_dataset}.list --TFileName nts.ntuple.crv-vst.root -n 100" >> ${log_file} 2>&1
193-
mu2e -c fcl/from_rec-crv-vst.fcl -S ../filelists/${crv_vst_dataset}.list --TFileName nts.ntuple.crv-vst.root -n 100 >> ${log_file} 2>&1
191+
echo -n "from_rec-crv-kpp.fcl... "
192+
echo "mu2e -c fcl/from_rec-crv-kpp.fcl -S ../filelists/${crv_kpp_dataset}.list --TFileName nts.ntuple.crv-kpp.root -n 100" >> ${log_file} 2>&1
193+
mu2e -c fcl/from_rec-crv-kpp.fcl -S ../filelists/${crv_kpp_dataset}.list --TFileName nts.ntuple.crv-kpp.root -n 100 >> ${log_file} 2>&1
194+
if [ $? == 0 ]; then
195+
echo "OK" | tee -a ${log_file}
196+
else
197+
echo "FAIL" | tee -a ${log_file}
198+
fi
199+
200+
echo -n "from_rec-crv-kpp_withCrvDigis.fcl... "
201+
echo "mu2e -c fcl/from_rec-crv-kpp_withCrvDigis.fcl -S ../filelists/${crv_kpp_dataset}.list --TFileName nts.ntuple.crv-kpp_withCrvDigis.root -n 100" >> ${log_file} 2>&1
202+
mu2e -c fcl/from_rec-crv-kpp_withCrvDigis.fcl -S ../filelists/${crv_kpp_dataset}.list --TFileName nts.ntuple.crv-kpp_withCrvDigis.root -n 100 >> ${log_file} 2>&1
194203
if [ $? == 0 ]; then
195204
echo "OK" | tee -a ${log_file}
196205
else

0 commit comments

Comments
 (0)