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:
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 
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