Skip to content
Snippets Groups Projects
Commit 65e62dd3 authored by Adrian Meyer-Ahrens's avatar Adrian Meyer-Ahrens
Browse files

Use nullptr instead of NULL

parent c3ff0bcc
Branches
Tags dev_2022_34
No related merge requests found
......@@ -94,7 +94,7 @@ Bool_t CbmTrdSetTracksPidLike::ReadData()
gROOT->cd();
TH2D* h[10];
TObjArray* inArr = NULL;
TObjArray* inArr = nullptr;
if (fMCinput) { /// mc pid method
if (fMomDep) {
......
......@@ -82,14 +82,14 @@ private:
TString fFileName = ""; // input file
Bool_t fMCinput = kFALSE; // use MC information for input histograms
Bool_t fMomDep = kTRUE; // use momentum dependence for input histograms
TClonesArray* fTrackArray = NULL; /** Input array of TRD tracks */
TClonesArray* fTrdHitArray = NULL; /** Input array of TRD Hits */
TClonesArray* fglobalTrackArray = NULL; /** Input array of global tracks */
TClonesArray* fTrackArray = nullptr; /** Input array of TRD tracks */
TClonesArray* fTrdHitArray = nullptr; /** Input array of TRD Hits */
TClonesArray* fglobalTrackArray = nullptr; /** Input array of global tracks */
TObjArray* fHistdEdx = NULL; // Prob. of dEdx for 5 particle species
TObjArray* fHistdEdx = nullptr; // Prob. of dEdx for 5 particle species
Int_t fNofTracks = 0; // Number of tracks successfully fitted
CbmTrdParSetGas* fGasPar = NULL; // Gas parameters, path to input reference spectra located here
CbmTrdParSetGas* fGasPar = nullptr; // Gas parameters, path to input reference spectra located here
static const Int_t fgkNParts = 5; // numer of different particle species
enum EParticleType
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment