18#ifndef EMCALCALIBEXTRACTOR_H_
19#define EMCALCALIBEXTRACTOR_H_
34#include <boost/histogram.hpp>
36#include <TRobustEstimator.h>
39#if (defined(WITH_OPENMP) && !defined(__CLING__))
47using boostHisto = boost::histogram::histogram<std::tuple<boost::histogram::axis::regular<double, boost::use_default, boost::use_default, boost::use_default>, boost::histogram::axis::integer<>>, boost::histogram::unlimited_storage<std::allocator<char>>>;
54 struct BadChannelCalibInfo {
55 std::map<slice_t, std::array<double, 17664>> energyPerHitMap;
56 std::map<slice_t, std::array<double, 17664>> nHitsMap;
57 std::map<slice_t, std::pair<double, double>> goodCellWindowMap;
58 std::map<slice_t, std::pair<double, double>> goodCellWindowNHitsMap;
61 struct BadChannelCalibTimeInfo {
62 std::array<double, 17664> sigmaCell;
63 double goodCellWindow;
64 std::array<double, 17664> fracHitsPreTrigg;
65 double goodCellWindowFracHitsPreTrigg;
66 std::array<double, 17664> fracHitsPostTrigg;
67 double goodCellWindowFracHitsPostTrigg;
73 LOG(info) <<
"initialized EMCALCalibExtractor";
100 template <
typename... axes>
101 o2::emcal::BadChannelMap calibrateBadChannels(
const boost::histogram::histogram<axes...>& hist,
const boost::histogram::histogram<axes...>& histTime = boost::histogram::make_histogram(boost::histogram::axis::variable<>{0., 1.}, boost::histogram::axis::variable<>{0., 1.}))
103 double time1 = std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count();
104 std::map<int, std::pair<double, double>> slices = {{0, {0.1, 0.3}}, {1, {0.3, 0.5}}, {2, {0.5, 1.0}}, {3, {1.0, 4.0}}, {4, {4.0, 39.0}}};
106 std::fill(std::begin(mBadCellFracSM), std::end(mBadCellFracSM), 0);
107 for (
unsigned int i = 0;
i < mBadCellFracFEC.size(); ++
i) {
108 std::fill(std::begin(mBadCellFracFEC[
i]), std::end(mBadCellFracFEC[
i]), 0);
111 auto histScaled = hist;
112 if (mBCMScaleFactors) {
113 LOG(info) <<
"Rescaling BCM histo";
115 for (
int icell = 0; icell < 17644; icell++) {
116 for (
int ebin = 0; ebin < hist.axis(0).
size(); ebin++) {
117 double lowerE = hist.axis(0).bin(ebin).lower();
118 double upperE = hist.axis(0).bin(ebin).upper();
119 double midE = (lowerE + upperE) / 2.;
120 histScaled.at(ebin, icell) = hist.at(ebin, icell) / mBCMScaleFactors->
getScaleVal(icell, midE);
130 BadChannelCalibTimeInfo calibrationTimeInfo;
138#if (defined(WITH_OPENMP) && !defined(__CLING__))
140 mNThreads = std::min(omp_get_max_threads(), mNcells);
142 LOG(info) <<
"Number of threads that will be used = " << mNThreads;
143#pragma omp parallel for num_threads(mNThreads)
145 LOG(info) <<
"OPEN MP will not be used for the bad channel calibration";
149 for (
int cellID = 0; cellID < mNcells; cellID++) {
150 LOG(
debug) <<
"analysing cell " << cellID;
151 if (calibrationInformation.energyPerHitMap[0][cellID] == 0) {
152 LOG(
debug) <<
"Cell " << cellID <<
" is dead.";
158 for (
auto& [sliceIndex, slice] : slices) {
159 auto ranges = calibrationInformation.goodCellWindowMap[sliceIndex];
160 auto rangesNHits = calibrationInformation.goodCellWindowNHitsMap[sliceIndex];
161 auto meanPerCell = calibrationInformation.energyPerHitMap[sliceIndex][cellID];
162 auto meanPerCellNHits = calibrationInformation.nHitsMap[sliceIndex][cellID];
163 LOG(
debug) <<
"Energy Per Hit: Mean per cell is " << meanPerCell <<
" Good Cell Window: [ " << ranges.first <<
" , " << ranges.second <<
" ]";
164 LOG(
debug) <<
"NHits: Mean per cell is " << meanPerCellNHits <<
" Good Cell Window: [ " << rangesNHits.first <<
" , " << rangesNHits.second <<
" ]";
167 double meanNHits = 0.5 * (rangesNHits.first + rangesNHits.second);
168 if (meanNHits <
EMCALCalibParams::Instance().minNHitsForNHitCut || (std::abs(ranges.first) < 0.001 && std::abs(ranges.second) < 0.001)) {
169 LOG(
debug) <<
"On average, only " << meanNHits <<
" found in energy interval [" << slice.first <<
" - " << slice.second <<
"]. Will do untight cut on upper limit";
171 LOG(
debug) <<
"********* FAILED for number of hits **********";
176 }
else if (meanPerCellNHits < rangesNHits.first || meanPerCellNHits > rangesNHits.second) {
177 LOG(
debug) <<
"********* FAILED for mean NHits **********";
183 if (meanNHits >
EMCALCalibParams::Instance().minNHitsForMeanEnergyCut && (meanPerCell < ranges.first || meanPerCell > ranges.second)) {
184 LOG(
debug) <<
"********* FAILED for mean energy **********";
191 if (!
failed && doIncludeTime) {
192 if (std::abs(calibrationTimeInfo.goodCellWindow) < 0.001) {
193 LOG(warning) <<
"Good cell window for time distribution is 0. Will skip the cut on time distribution";
195 LOG(
debug) <<
" calibrationTimeInfo.goodCellWindow " << calibrationTimeInfo.goodCellWindow <<
" calibrationTimeInfo.sigmaCell[cellID] " << calibrationTimeInfo.sigmaCell[cellID];
196 if (calibrationTimeInfo.sigmaCell[cellID] > calibrationTimeInfo.goodCellWindow) {
197 LOG(
debug) <<
"Cell " << cellID <<
" is flagged due to time distribution";
199 }
else if (calibrationTimeInfo.fracHitsPreTrigg[cellID] > calibrationTimeInfo.goodCellWindowFracHitsPreTrigg) {
200 LOG(
debug) <<
"Cell " << cellID <<
" is flagged due to time distribution (pre-trigger)";
202 }
else if (calibrationTimeInfo.fracHitsPostTrigg[cellID] > calibrationTimeInfo.goodCellWindowFracHitsPostTrigg) {
203 LOG(
debug) <<
"Cell " << cellID <<
" is flagged due to time distribution (post-trigger)";
210 LOG(
debug) <<
"Cell " << cellID <<
" is bad.";
215 LOG(
debug) <<
"Cell " << cellID <<
" is good.";
224 checkMaskSM(mOutputBCM);
228 checkMaskFEC(mOutputBCM);
231 double time2 = std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count();
232 double diffTransfer = time2 - time1;
233 LOG(info) <<
"Total time" << diffTransfer <<
" ns";
244 template <
typename... axes>
245 BadChannelCalibInfo
buildHitAndEnergyMean(std::map<slice_t, std::pair<double, double>> sliceMap, boost::histogram::histogram<axes...>& cellAmplitude)
248 BadChannelCalibInfo outputInfo;
249 std::map<slice_t, std::array<double, mNcells>> outputMapEnergyPerHit;
250 std::map<slice_t, std::array<double, mNcells>> outputMapNHits;
252 for (
const auto& [sliceIndex, sliceLimits] : sliceMap) {
253 std::array<double, mNcells> energyPerHit, nHits;
254 std::fill(energyPerHit.begin(), energyPerHit.end(), 0.);
255 std::fill(nHits.begin(), nHits.end(), 0.);
256 outputMapEnergyPerHit[sliceIndex] = energyPerHit;
257 outputMapNHits[sliceIndex] = nHits;
259#if (defined(WITH_OPENMP) && !defined(__CLING__))
261 mNThreads = std::min(omp_get_max_threads(), mNcells);
263 LOG(info) <<
"Number of threads that will be used = " << mNThreads;
264#pragma omp parallel for num_threads(mNThreads)
266 LOG(info) <<
"OPEN MP will not be used for the bad channel calibration";
269 for (
int cellID = 0; cellID < mNcells; cellID++) {
270 int binCellID = cellAmplitude.axis(1).index(cellID);
272 auto projectedSum = boost::histogram::algorithm::sum(projectedSlice);
273 if (projectedSum == 0) {
276 for (
const auto& [sliceIndex, slice] : sliceMap) {
277 double emin = slice.first;
278 double emax = slice.second;
279 int binXLowSlice = cellAmplitude.axis(0).index(emin);
280 int binXHighSlice = cellAmplitude.axis(0).index(emax);
283 double sumVal = boost::histogram::algorithm::sum(slicedHist);
286 outputMapEnergyPerHit[sliceIndex][cellID] = meanVal;
287 outputMapNHits[sliceIndex][cellID] = sumVal;
291 for (
const auto& [sliceIndex, slice] : sliceMap) {
292 Double_t meanPerSlice = 0.0;
293 Double_t sigmaPerSlice = 0.0;
294 TRobustEstimator robustEstimator;
295 auto& means = outputMapEnergyPerHit[sliceIndex];
296 robustEstimator.EvaluateUni(means.size(), means.data(), meanPerSlice, sigmaPerSlice, 0);
297 if (std::abs(meanPerSlice) < 0.001 && std::abs(sigmaPerSlice) < 0.001) {
298 robustEstimator.EvaluateUni(means.size(), means.data(), meanPerSlice, sigmaPerSlice, means.size() * 0.95);
301 Double_t meanPerSlice_NHits = 0.0;
302 Double_t sigmaPerSlice_NHits = 0.0;
303 TRobustEstimator robustEstimatorNHits;
304 auto& meansNHits = outputMapNHits[sliceIndex];
305 robustEstimatorNHits.EvaluateUni(meansNHits.size(), meansNHits.data(), meanPerSlice_NHits, sigmaPerSlice_NHits, 0);
306 if (std::abs(meanPerSlice_NHits) < 0.001 && std::abs(sigmaPerSlice_NHits) < 0.001) {
307 robustEstimator.EvaluateUni(meansNHits.size(), meansNHits.data(), meanPerSlice_NHits, sigmaPerSlice_NHits, meansNHits.size() * 0.95);
310 LOG(
debug) <<
"Energy Per hit: Mean per slice is: " << meanPerSlice <<
" Sigma Per Slice: " << sigmaPerSlice <<
" with size " << outputMapEnergyPerHit[sliceIndex].size();
311 LOG(
debug) <<
"NHits: Mean per slice is: " << meanPerSlice_NHits <<
" Sigma Per Slice: " << sigmaPerSlice_NHits <<
" with size " << outputMapNHits[sliceIndex].size();
313 double maxVal = meanPerSlice + mSigma * sigmaPerSlice;
314 double minVal = meanPerSlice - mSigma * sigmaPerSlice;
315 double maxValNHits = meanPerSlice_NHits + mSigma * sigmaPerSlice_NHits;
316 double minValNHits = meanPerSlice_NHits - mSigma * sigmaPerSlice_NHits;
318 outputInfo.goodCellWindowMap[sliceIndex] = {minVal, maxVal};
319 outputInfo.goodCellWindowNHitsMap[sliceIndex] = {minValNHits, maxValNHits};
322 outputInfo.energyPerHitMap = outputMapEnergyPerHit;
323 outputInfo.nHitsMap = outputMapNHits;
332 template <
typename... axes>
335 BadChannelCalibTimeInfo timeInfo;
336 for (
int i = 0;
i < mNcells; ++
i) {
338 const int indexLow = histCellTime.axis(1).index(
i);
339 const int indexHigh = histCellTime.axis(1).index(
i + 1);
342 int maxElementIndex = std::max_element(boostHistCellSlice.begin(), boostHistCellSlice.end()) - boostHistCellSlice.begin() - 1;
343 if (maxElementIndex < 0) {
346 float maxElementCenter = 0.5 * (boostHistCellSlice.axis(0).bin(maxElementIndex).upper() + boostHistCellSlice.axis(0).bin(maxElementIndex).lower());
355 timeInfo.fracHitsPreTrigg[
i] = sumTrigg == 0 ? 0. : sumPreTrigg / sumTrigg;
356 timeInfo.fracHitsPostTrigg[
i] = sumTrigg == 0 ? 0. : sumPostTrigg / sumTrigg;
361 double avMean = 0, avSigma = 0;
362 TRobustEstimator robustEstimator;
363 robustEstimator.EvaluateUni(timeInfo.sigmaCell.size(), timeInfo.sigmaCell.data(), avMean, avSigma, 0.5 * timeInfo.sigmaCell.size());
366 if (std::abs(avMean) < 0.001 && std::abs(avSigma) < 0.001) {
367 robustEstimator.EvaluateUni(timeInfo.sigmaCell.size(), timeInfo.sigmaCell.data(), avMean, avSigma, 0.95 * timeInfo.sigmaCell.size());
372 double avMeanPre = 0, avSigmaPre = 0;
373 robustEstimator.EvaluateUni(timeInfo.fracHitsPreTrigg.size(), timeInfo.fracHitsPreTrigg.data(), avMeanPre, avSigmaPre, 0.5 * timeInfo.fracHitsPreTrigg.size());
374 if (std::abs(avMeanPre) < 0.001 && std::abs(avSigmaPre) < 0.001) {
375 robustEstimator.EvaluateUni(timeInfo.fracHitsPreTrigg.size(), timeInfo.fracHitsPreTrigg.data(), avMeanPre, avSigmaPre, 0.95 * timeInfo.fracHitsPreTrigg.size());
379 double avMeanPost = 0, avSigmaPost = 0;
380 robustEstimator.EvaluateUni(timeInfo.fracHitsPostTrigg.size(), timeInfo.fracHitsPostTrigg.data(), avMeanPost, avSigmaPost, 0.5 * timeInfo.fracHitsPostTrigg.size());
381 if (std::abs(avMeanPost) < 0.001 && std::abs(avSigmaPost) < 0.001) {
382 robustEstimator.EvaluateUni(timeInfo.fracHitsPostTrigg.size(), timeInfo.fracHitsPostTrigg.data(), avMeanPost, avSigmaPost, 0.95 * timeInfo.fracHitsPostTrigg.size());
396 template <
typename... axes>
400 auto histReduced = boost::histogram::algorithm::reduce(hist, boost::histogram::algorithm::shrink(minTime, maxTime), boost::histogram::algorithm::shrink(0, mNcells));
417 for (
unsigned int i = 0;
i < mNcells; ++
i) {
419 const int indexLow = histReduced.axis(1).index(
i);
420 const int indexHigh = histReduced.axis(1).index(
i + 1);
423 LOG(
debug) <<
"calibrate cell time " <<
i <<
" of " << mNcells;
424 int maxElementIndex = std::max_element(boostHist1d.begin(), boostHist1d.end()) - boostHist1d.begin() - 1;
425 if (maxElementIndex < 0) {
428 float maxElementCenter = 0.5 * (boostHist1d.axis(0).bin(maxElementIndex).upper() + boostHist1d.axis(0).bin(maxElementIndex).lower());
430 if (restrictFitRangeToMax > 0) {
431 boostHist1d = boost::histogram::algorithm::reduce(boostHist1d, boost::histogram::algorithm::shrink(maxElementCenter - restrictFitRangeToMax, maxElementCenter + restrictFitRangeToMax));
435 auto fitValues = o2::utils::fitBoostHistoWithGaus<double>(boostHist1d);
437 mean = maxElementCenter;
439 mean = fitValues.at(1);
445 LOG(warning) << createErrorMessageFitGaus(err) <<
"; for cell " <<
i <<
" (Will take the parameter of the previous cell: " << mean <<
"ns)";
461 for (
const auto& isLEDMON : {
false,
true}) {
462 auto maxChannels = isLEDMON ? mLEDMONs : mNcells;
463 for (
const auto& isLG : {
false,
true}) {
464 for (
unsigned short iCell = 0; iCell < maxChannels; ++iCell) {
465 auto [mean, rms] = obj.
getValue(iCell, isLG, isLEDMON);
467 mean = mMaxPedestalVal;
485 auto maxChannels = isLEDMON ? mLEDMONs : mNcells;
487 for (
const auto& isLG : {
false,
true}) {
488 auto obj = (isLG ==
true ? objLG : objHG);
491 for (
unsigned short iCell = 0; iCell < maxChannels; ++iCell) {
492 short mean =
static_cast<short>(std::round(obj->GetBinContent(iCell + 1)));
493 short rms =
static_cast<short>(obj->GetBinError(iCell + 1) / obj->GetBinEntries(iCell + 1));
495 mean = mMaxPedestalVal;
515 unsigned int getFECNumberInSM(
int absCellID)
const;
520 std::array<float, 20> mBadCellFracSM;
521 std::array<std::array<float, 36>, 20> mBadCellFracFEC;
524 static constexpr int mNcells = 17664;
525 static constexpr int mLEDMONs = 480;
526 static constexpr short mMaxPedestalVal = 1023;
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
configStandalone Reconstruction rec_tpc multiplier for the combined cluster track error during track following area in cm for the search of for z only used if decrease removal by when above this local occupancy rowx Shift of TPC revert cluster flag edge bit distance to edge exceeds this ZOffset for secondary multiple of radius max P of electron K BB bands crossing max P of electron p BB bands crossing max P of electron d BB bands crossing max P of electron t BB bands crossing min accepted dEdxMaxTPC of the track Additive extra cluster error for Y2 if edge flag set Additive extra cluster error for Y2 if single set Additive extra cluster error for Y2 if or single set Additive extra cluster error for Z2 if or single set Extra errors to add to track when crossing depending on addErrorsCECrossing Inner portion of y range in sector that is not used in searching for extrapolated track candidates factor2YS for track merging factor2K for track merging Margin in cm of Y position when rejecting edge clusters based on uncorrected track Y Max fraction of shared clusters for tracklet Except pad from cluster finding if total number of charges in a fragment is above this Except pad from cluster finding if number of consecutive charges in a fragment is above this Threshold where a timebin is considered disabling the noisy pad check for that pad Treat signal above this minimum as saturated Smoothing factor for the exponential Highly Ionising Particle tail filter Number of timebins to use for the averaging Add additional custom track errors when crossing relative as fraction of Do N fit passes in final fit of< 0:reject at max -n hits") AddOptionRTC(rejectIFCLowRadiusCluster, uint8_t, 1, "", 0, "Reject clusters that get the IFC mask error during refit") AddOptionRTC(dEdxTruncLow, uint8_t, 2, "", 0, "Low truncation threshold, fraction of 128") AddOptionRTC(dEdxTruncHigh, uint8_t, 77, "", 0, "High truncation threshold, fraction of 128") AddOptionRTC(extrapolationTracking, int8_t, 1, "", 0, "Enable Extrapolation Tracking(prolong tracks to adjacent sectors to find short segments)") AddOptionRTC(disableRefitAttachment, uint8_t, 0, "", 0, "Bitmask to disable certain attachment steps during refit(1:attachment, 2:propagation, 4:loop following, 8:mirroring)") AddOptionRTC(rejectionStrategy, uint8_t, o2::gpu::GPUSettings::RejectionStrategyA, "", 0, "Enable rejection of TPC clusters for compression(0=no, 1=strategy A, 2=strategy B)") AddOptionRTC(mergeLoopersAfterburner, uint8_t, 1, "", 0, "Run afterburner for additional looper merging") AddOptionRTC(compressionTypeMask, uint8_t, o2::gpu::GPUSettings::CompressionFull, "", 0, "TPC Compression mode bits(1=truncate charge/width LSB, 2=differences, 4=track-model)") AddOptionRTC(compressionSortOrder, uint8_t, o2::gpu::GPUSettings::SortTime, "", 0, "Sort order of TPC compression(0=time, 1=pad, 2=Z-time-pad, 3=Z-pad-time, 4=no sorting(use incoming order))") AddOptionRTC(sigBitsCharge, uint8_t, 4, "", 0, "Number of significant bits for TPC cluster charge in compression mode 1") AddOptionRTC(sigBitsWidth, uint8_t, 3, "", 0, "Number of significant bits for TPC cluster width in compression mode 1") AddOptionRTC(dropLoopers, uint8_t, 0, "", 0, "Drop looping tracks starting from second loop") AddOptionRTC(mergerInterpolateErrors, uint8_t, 1, "", 0, "Use interpolation instead of extrapolation for chi2 based cluster rejection") AddOptionRTC(mergerInterpolateRejectAlsoOnCurrentPosition, uint8_t, 1, "", 0, "When using mergerInterpolateErrors, reject based on chi2 twice computed with interpolated and current track position starting from NDF > mergerNonInterpolateRejectMinNDF Merge tracks accross the central electrode Enable PID response Add sub threshold clusters in TPC dEdx computation OR mask of TPC flags that will reject the cluster in alternative dEdx Reject edge clusters based on uncorrected track Y during track fit Increase decrease removal by when on this number of pads from the edge h configStandalone Reconstruction rec_trd Max chi2 for TRD tracklets to be matched to a track Chi2 cut for strict matching mode Number of sigmas for ITS TPC track time error estimate Addition to search road around track prolongation along Y in cm Optimal tracklet rphi resolution in maximum chi2 per attached tracklet for TRD tracks take into account the full likelihood of the slope including exponential tails Tracks with less attached tracklets are discarded after the tracking Post trigger Pile up integration time in BCs fits all iterations but the last one in projections Use material lookup table for TPC refit Apply workarounds to avoid cyclic merge should not be needed tpc dyn configStandalone Processing proc_rtc Replace constant variables static by constexpr expressions false
static const EMCALCalibParams & Instance()
CCDB container for masked cells in EMCAL.
@ DEAD_CELL
Dead cell, no data obtained.
@ BAD_CELL
Bad cell, must be excluded.
@ GOOD_CELL
GOOD cell, can be used without problems.
void addBadChannel(unsigned short channelID, MaskType_t mask)
Add bad cell to the container.
float getScaleVal(unsigned int cellID, float E) const
Error handling access to non-initialized geometry.
EMCAL geometry definition.
static Geometry * GetInstanceFromRunNumber(Int_t runNumber, const std::string_view="", const std::string_view mcname="TGeant3", const std::string_view mctitle="")
Instanciate geometry depending on the run number. Mostly used in analysis and MC anchors.
Int_t GetSuperModuleNumber(Int_t absId) const
Get cell SM, from absolute ID number.
static Geometry * GetInstance()
Get geometry instance. It should have been set before.
Exchange container between PedestalProcessorDevice and PedestalAggregatorDevice.
PedestalValue getValue(unsigned short tower, bool lowGain, bool LEDMON) const
Get mean ADC and RMS for a certain channel.
CCDB container for pedestal values.
void addPedestalValue(unsigned short cellID, short pedestal, bool isLowGain, bool isLEDMON)
Add pedestal to the container.
void addTimeCalibParam(unsigned short cellID, short time, bool isLowGain)
Add time calibration coefficients to the container.
boost::histogram::histogram< std::tuple< boost::histogram::axis::regular< double, boost::use_default, boost::use_default, boost::use_default >, boost::histogram::axis::integer<> >, boost::histogram::unlimited_storage< std::allocator< char > > > boostHisto
auto ProjectBoostHistoXFast(const boost::histogram::histogram< axes... > &hist2d, const int binLow, const int binHigh)
Function to project 2d boost histogram onto x-axis.
FitGausError_t
Error code for invalid result in the fitGaus process.
double getIntegralBoostHist(boost::histogram::histogram< axes... > &hist, double min, double max)
Function to integrate 1d boost histogram in specified range.
auto ReduceBoostHistoFastSlice1D(boost::histogram::histogram< axes... > &hist1d, int binXLow, int binXHigh, bool includeOverflowUnderflow)
double getMeanBoost1D(boost::histogram::histogram< axes... > &inHist1D, const double rangeLow=0, const double rangeHigh=0)
Get the mean of a 1D boost histogram.
double getVarianceBoost1D(boost::histogram::histogram< axes... > &inHist1D, double mean=-999999, const double rangeLow=0, const double rangeHigh=0, const double weight=1)
Get the variance of a 1D boost histogram.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"