CbmRoot
CbmLitRadLengthGenerator.h
Go to the documentation of this file.
1
#ifndef CBMLITRADLENGTHGENERATOR_H_
2
#define CBMLITRADLENGTHGENERATOR_H_
3
4
#include "FairGenerator.h"
5
#include <vector>
6
7
class
FairPrimaryGenerator;
8
9
using
std::vector;
10
11
class
CbmLitRadLengthGenerator
:
public
FairGenerator {
12
public
:
13
CbmLitRadLengthGenerator
();
14
15
void
SetXY
(
const
vector<Double_t>&
x
,
const
vector<Double_t>&
y
) {
16
fX
=
x
;
17
fY
=
y
;
18
}
19
20
Bool_t
Init
();
21
22
virtual
Bool_t
ReadEvent
(FairPrimaryGenerator* primGen);
23
24
private
:
25
vector<Double_t>
fX
;
// Vector with X, Y start coordinates for each event
26
vector<Double_t>
fY
;
27
28
ClassDef
(
CbmLitRadLengthGenerator
, 1);
29
};
30
31
#endif
CbmLitRadLengthGenerator::ReadEvent
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
Definition:
CbmLitRadLengthGenerator.cxx:10
CbmLitRadLengthGenerator::ClassDef
ClassDef(CbmLitRadLengthGenerator, 1)
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::SetXY
void SetXY(const vector< Double_t > &x, const vector< Double_t > &y)
Definition:
CbmLitRadLengthGenerator.h:15
CbmLitRadLengthGenerator::Init
Bool_t Init()
Definition:
CbmLitRadLengthGenerator.cxx:8
CbmLitRadLengthGenerator
Definition:
CbmLitRadLengthGenerator.h:11
x
Double_t x
Definition:
CbmMvdSensorDigiToHitTask.cxx:68
y
Double_t y
Definition:
CbmMvdSensorDigiToHitTask.cxx:68
reco
littrack
cbm
qa
radlength
CbmLitRadLengthGenerator.h
Generated on Wed Oct 28 2020 15:11:39 for CbmRoot by
1.8.18