File tree Expand file tree Collapse file tree 2 files changed +85
-165
lines changed
Expand file tree Collapse file tree 2 files changed +85
-165
lines changed Original file line number Diff line number Diff line change @@ -560,6 +560,7 @@ struct ZdcQVectors {
560560 runnumber = foundBC.runNumber ();
561561
562562 // load new calibrations for new runs only
563+ // UPLOAD Energy calibration and vmean in 1 histogram!
563564 if (runnumber != lastRunNumber) {
564565 cal.calibfilesLoaded [2 ] = false ;
565566 cal.calibList [2 ] = nullptr ;
@@ -587,11 +588,9 @@ struct ZdcQVectors {
587588 // load the calibrations for the mean v
588589 loadCalibrations<kMeanv >(foundBC.timestamp (), cfgMeanv.value );
589590
590- if (!cal.calibfilesLoaded [1 ]) {
591- registry.get <TProfile>(HIST (" vmean/hvertex_vx" ))->Fill (Form (" %d" , runnumber), v[0 ]);
592- registry.get <TProfile>(HIST (" vmean/hvertex_vy" ))->Fill (Form (" %d" , runnumber), v[1 ]);
593- registry.get <TProfile>(HIST (" vmean/hvertex_vz" ))->Fill (Form (" %d" , runnumber), v[2 ]);
594- }
591+ registry.get <TProfile>(HIST (" vmean/hvertex_vx" ))->Fill (Form (" %d" , runnumber), v[0 ]);
592+ registry.get <TProfile>(HIST (" vmean/hvertex_vy" ))->Fill (Form (" %d" , runnumber), v[1 ]);
593+ registry.get <TProfile>(HIST (" vmean/hvertex_vz" ))->Fill (Form (" %d" , runnumber), v[2 ]);
595594
596595 bool isZNAhit = true ;
597596 bool isZNChit = true ;
You can’t perform that action at this time.
0 commit comments