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 
10  static CbmBinnedTracker* theInstance = 0;
11 
12  if (0 == theInstance) {
14  theInstance =
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