Skip to content

Commit cf85279

Browse files
Merge pull request #309 from AndrewEdmonds11/v06-07-00
Last changes for V06 07 00
2 parents c0218f3 + 0d2cc9a commit cf85279

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,30 @@ Validation scripts and instructions are [here](validation/README.md)
6060
## Tagging a New Release
6161
Instructions for tagging a new release:
6262

63-
* from your development area:
63+
* have a working area set up environment set up with a backing to the latest SimJob and a clone of EventNtuple (you might already have this)
6464
```
65-
git fetch mu2e main
65+
cd /your/work/area
66+
muse backing SimJob MDCXXXXvv
67+
muse setup
68+
git clone git@github.com:YourGitHubUsername/EventNtuple.git
69+
cd EventNtuple/
70+
git remote add -f mu2e https://github.com/Mu2e/EventNtuple.git
71+
```
72+
73+
* from your clone of the EventNtuple, fetch the latest version of the code from the main Mu2e repository and make a new branch:
74+
```
75+
git fetch --tags mu2e main
6676
git checkout --no-track -b vXX-YY-ZZ mu2e/main
6777
```
6878
* update version number in histogram ```_hVersion``` in ```src/EventNtupleMaker_module.cc``` and commit
6979
* make sure EventNtuple runs following these [steps](validation/README.md#Validating-eventntuple-runs)
80+
* create a "before" ntuple with the previous release of EventNtuple. In a fresh login:
81+
```
82+
mu2einit
83+
muse setup EventNtuple vXX-YY-ZZ
84+
mu2e -c EventNtuple/fcl/from_mcs-mockdata.fcl -S ../EventNtupleDev_NewTag/filelists/mcs.mu2e.ensembleMDS2cMix1BBTriggered.MDC2020ba_best_v1_3.art.list --TFileName nts.ntuple.before.root -n 100
85+
root -l -b ${MUSE_WORK_DIR}/EventNtuple/validation/create_val_file_rooutil.C\(\"nts.ntuple.before.root\",\"val.ntuple.before.root\"\)
86+
```
7087
* create a comparison booklet following these [steps](validation/README.md#Validating-EventNtuple-Contents)
7188
* make sure any differences are understood
7289
* open PR with final changes and merge

src/EventNtupleMaker_module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ namespace mu2e {
441441
_ntuple=tfs->make<TTree>("ntuple","Mu2e Event Ntuple");
442442
_hVersion = tfs->make<TH1I>("version", "version number",3,0,3);
443443
_hVersion->GetXaxis()->SetBinLabel(1, "major"); _hVersion->SetBinContent(1, 6);
444-
_hVersion->GetXaxis()->SetBinLabel(2, "minor"); _hVersion->SetBinContent(2, 6);
444+
_hVersion->GetXaxis()->SetBinLabel(2, "minor"); _hVersion->SetBinContent(2, 7);
445445
_hVersion->GetXaxis()->SetBinLabel(3, "patch"); _hVersion->SetBinContent(3, 0);
446446
// add event info branch
447447
_ntuple->Branch("evtinfo",&_einfo,_buffsize,_splitlevel);

validation/test_fcls.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
log_file="test_fcls.log"
77
rm ${log_file}
88

9-
mock_dataset="mcs.mu2e.ensembleMDS2bOnSpillTriggered.MDC2020az_best_v1_3.art"
9+
mock_dataset="mcs.mu2e.ensembleMDS2cMix1BBTriggered.MDC2020ba_best_v1_3.art"
1010
primary_dataset="mcs.mu2e.CeEndpointOnSpillTriggered.MDC2020aw_best_v1_3.art"
1111
mixed_dataset="mcs.mu2e.CeEndpointMix1BBTriggered.MDC2020aw_best_v1_3.art"
1212
extracted_dataset="mcs.mu2e.CosmicCRYExtractedTriggered.MDC2020aw.art"

0 commit comments

Comments
 (0)