Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yue Hang Leung
cbmroot
Commits
65e62dd3
Commit
65e62dd3
authored
3 years ago
by
Adrian Meyer-Ahrens
Browse files
Options
Downloads
Patches
Plain Diff
Use nullptr instead of NULL
parent
c3ff0bcc
Branches
Branches containing commit
Tags
dev_2022_34
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
reco/detectors/trd/pid/CbmTrdSetTracksPidLike.cxx
+1
-1
1 addition, 1 deletion
reco/detectors/trd/pid/CbmTrdSetTracksPidLike.cxx
reco/detectors/trd/pid/CbmTrdSetTracksPidLike.h
+6
-6
6 additions, 6 deletions
reco/detectors/trd/pid/CbmTrdSetTracksPidLike.h
with
7 additions
and
7 deletions
reco/detectors/trd/pid/CbmTrdSetTracksPidLike.cxx
+
1
−
1
View file @
65e62dd3
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
reco/detectors/trd/pid/CbmTrdSetTracksPidLike.h
+
6
−
6
View file @
65e62dd3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment