CbmRoot
Tracker.cxx
Go to the documentation of this file.
1
/*
2
* To change this license header, choose License Headers in Project Properties.
3
* To change this template file, choose Tools | Templates
4
* and open the template in the editor.
5
*/
6
7
#include "
CbmBinnedTrackerTask.h
"
8
9
CbmBinnedTracker
*
CbmBinnedTracker::Instance
() {
10
static
CbmBinnedTracker
* theInstance = 0;
11
12
if
(0 == theInstance) {
13
if
(
CbmBinnedTrackerTask::Instance
())
14
theInstance =
15
new
CbmBinnedTracker
(
CbmBinnedTrackerTask::Instance
()->GetBeamDx(),
16
CbmBinnedTrackerTask::Instance
()->GetBeamDy());
17
else
18
theInstance =
new
CbmBinnedTracker
(0.1, 0.1);
19
}
20
21
return
theInstance;
22
}
CbmBinnedTracker::Instance
static CbmBinnedTracker * Instance()
Definition:
Tracker.cxx:9
CbmBinnedTracker
Definition:
Tracker.h:29
CbmBinnedTrackerTask.h
CbmBinnedTrackerTask::Instance
static CbmBinnedTrackerTask * Instance()
Definition:
CbmBinnedTrackerTask.h:23
CbmBinnedTracker::CbmBinnedTracker
CbmBinnedTracker(Double_t beamDx, Double_t beamDy)
Definition:
Tracker.h:82
reco
tracking
BinnedTracker
Tracker.cxx
Generated on Wed Oct 28 2020 15:11:52 for CbmRoot by
1.8.18