You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configurable<float> trackMinPt{"trackMinPt", 0.3, "Minimum pT for tracks to perform track matching, to reduce computing time. Tracks below a certain pT will be loopers anyway."};
114
115
Configurable<bool> fillQA{"fillQA", false, "Switch to turn on QA histograms."};
115
116
Configurable<bool> useCCDBAlignment{"useCCDBAlignment", false, "EXPERTS ONLY! Switch to use the alignment object stored in CCDB instead of using the default alignment from the global geometry object."};
117
+
Configurable<bool> applyTempCalib{"applyTempCalib", false, "Switch to turn on Temperature calibration."};
118
+
Configurable<std::string> pathTempCalibCCDB{"pathTempCalibCCDB", "Users/j/jokonig/EMCalTempCalibParams", "Path in the ccdb where slope and intercept for each cell are stored"}; // change to official path as soon as it is available
119
+
Configurable<bool> useTempCalibMean{"useTempCalibMean", false, "Switch to turn on Temperature mean calculation instead of median."};
auto collisionsInBC = collisions.sliceBy(collisionsPerBC, bc.globalIndex());
569
594
auto cellsInBC = cells.sliceBy(cellsPerFoundBC, bc.globalIndex());
570
595
@@ -578,9 +603,16 @@ struct EmcalCorrectionTask {
578
603
std::vector<o2::emcal::Cell> cellsBC;
579
604
std::vector<int64_t> cellIndicesBC;
580
605
for (constauto& cell : cellsInBC) {
606
+
auto amplitude = cell.amplitude();
607
+
if (static_cast<bool>(hasShaperCorrection) && emcal::intToChannelType(cell.cellType()) == emcal::ChannelType_t::LOW_GAIN) { // Apply shaper correction to LG cells
0 commit comments