Skip to content

Commit 2b43e7c

Browse files
martenoledavidrohr
authored andcommitted
TRD display use nullptr
1 parent 46d8e25 commit 2b43e7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Detectors/TRD/qc/include/TRDQC/RawDisplay.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace o2::trd
3131
class RawDisplay
3232
{
3333
public:
34-
RawDisplay(RawDataSpan& dataspan, TVirtualPad* pad = NULL);
34+
RawDisplay(RawDataSpan& dataspan, TVirtualPad* pad = nullptr);
3535
void drawDigits(std::string opt = "colz");
3636
void drawTracklets();
3737
void drawClusters();
@@ -60,7 +60,7 @@ class RawDisplay
6060
class MCMDisplay : public RawDisplay
6161
{
6262
public:
63-
MCMDisplay(RawDataSpan& mcmdata, TVirtualPad* pad = NULL);
63+
MCMDisplay(RawDataSpan& mcmdata, TVirtualPad* pad = nullptr);
6464
};
6565

6666
} // namespace o2::trd

Detectors/TRD/qc/src/RawDisplay.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ MCMDisplay::MCMDisplay(RawDataSpan& mcmdata, TVirtualPad* pad)
7979
mFirstPad = mcmcol * constants::NCOLMCM - 1;
8080
mLastPad = (mcmcol + 1) * constants::NCOLMCM + 2;
8181

82-
if (pad == NULL) {
82+
if (pad == nullptr) {
8383
mPad = new TCanvas(mName.c_str(), mDesc.c_str(), 800, 600);
8484
} else {
8585
mPad = pad;

0 commit comments

Comments
 (0)