Skip to content

Commit 13b1b01

Browse files
authored
TRD fix for QC-904 (#1619)
1 parent 27a697a commit 13b1b01

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Modules/TRD/src/TrackletsTask.cxx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,6 @@ void TrackletsTask::buildTrackletLayers()
238238
mLayers[iLayer] = new TH2F(Form("TrackletsPerLayer/layer%i", iLayer), Form("Tracklet count per mcm in layer %i;stack;sector", iLayer), 76, -0.5, 75.5, 144, -0.5, 143.5);
239239

240240
auto xax = mLayers[iLayer]->GetXaxis();
241-
for (Int_t b = 1; b < 77; b++)
242-
xax->SetBinLabel(b, " ");
243241
xax->SetBinLabel(8, "0");
244242
xax->SetBinLabel(24, "1");
245243
xax->SetBinLabel(38, "2");
@@ -251,8 +249,6 @@ void TrackletsTask::buildTrackletLayers()
251249
xax->SetLabelSize(0.045);
252250
xax->SetLabelOffset(0.01);
253251
auto yax = mLayers[iLayer]->GetYaxis();
254-
for (Int_t b = 1; b < 145; b++)
255-
yax->SetBinLabel(b, " ");
256252
for (int iSec = 0; iSec < 18; ++iSec) {
257253
auto lbl = std::to_string(iSec);
258254
yax->SetBinLabel(iSec * 8 + 4, lbl.c_str());
@@ -300,7 +296,7 @@ void TrackletsTask::drawHashedOnHistsPerLayer(int iLayer)
300296

301297
void TrackletsTask::initialize(o2::framework::InitContext& /*ctx*/)
302298
{
303-
ILOG(Info, Support) << "initialize TrackletsTask" << ENDM;
299+
ILOG(Info, Support) << "initialize Tracklets" << ENDM;
304300
if (auto param = mCustomParameters.find("markerstyle"); param != mCustomParameters.end()) {
305301
mMarkerStyle = stof(param->second);
306302
ILOG(Info, Support) << "configure() : using marketstyle : = " << mMarkerStyle << ENDM;

0 commit comments

Comments
 (0)