CbmRoot
CbmLitRadLengthGenerator.cxx
Go to the documentation of this file.
1
#include "
CbmLitRadLengthGenerator.h
"
2
3
#include "FairPrimaryGenerator.h"
4
5
CbmLitRadLengthGenerator::CbmLitRadLengthGenerator
()
6
: FairGenerator(), fX(), fY() {}
7
8
Bool_t
CbmLitRadLengthGenerator::Init
() {
return
kTRUE; }
9
10
Bool_t
CbmLitRadLengthGenerator::ReadEvent
(FairPrimaryGenerator* primGen) {
11
static
Int_t eventNo = 0;
12
13
if
(eventNo <
fX
.size() && eventNo <
fY
.size()) {
14
primGen->AddTrack(0, 0, 0, 1,
fX
[eventNo],
fY
[eventNo], 0);
15
}
else
{
16
}
17
18
eventNo++;
19
20
return
kTRUE;
21
}
22
23
ClassImp
(
CbmLitRadLengthGenerator
)
CbmLitRadLengthGenerator::ReadEvent
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
Definition:
CbmLitRadLengthGenerator.cxx:10
CbmLitRadLengthGenerator::fX
vector< Double_t > fX
Definition:
CbmLitRadLengthGenerator.h:25
CbmLitRadLengthGenerator::CbmLitRadLengthGenerator
CbmLitRadLengthGenerator()
Definition:
CbmLitRadLengthGenerator.cxx:5
CbmLitRadLengthGenerator::fY
vector< Double_t > fY
Definition:
CbmLitRadLengthGenerator.h:26
CbmLitRadLengthGenerator::Init
Bool_t Init()
Definition:
CbmLitRadLengthGenerator.cxx:8
CbmLitRadLengthGenerator
Definition:
CbmLitRadLengthGenerator.h:11
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition:
CbmConverterManager.cxx:12
CbmLitRadLengthGenerator.h
reco
littrack
cbm
qa
radlength
CbmLitRadLengthGenerator.cxx
Generated on Wed Oct 28 2020 15:11:39 for CbmRoot by
1.8.18