BmnRoot
Loading...
Searching...
No Matches
MpdRainGenerator.h
Go to the documentation of this file.
1#ifndef MPDRAINGENERATOR_H
2#define MPDRAINGENERATOR_H
3
4#include "FairGenerator.h"
5#include "FairPrimaryGenerator.h"
6
7class MpdRainGenerator : public FairGenerator
8{
9 private:
10 Int_t _PDGType; // Particle type (PDG encoding)
11 Int_t _N; // Size of shower
12 Double_t _p; // Momentum
13 Double_t _theta; // angle from z axis
14 Double_t _phi; // angle in XoY plain
15 Double_t _height; // Height at which rain starts
16 Double_t _d; // distance between tracks
17
18
19 public:
21
22 // pdgid - Particle ID
23 // p - momentum of particle
24 // theta, phi - angles of rain (particles)
25 // d - distance between particles
26 // n - (2*n)^2 number of particles
27 MpdRainGenerator(Int_t pdgid, Double_t p, Double_t theta, Double_t phi, Double_t d, Double_t height, Int_t n);
28 virtual ~MpdRainGenerator() {};
29
30 // Create an Event
31 virtual Bool_t ReadEvent(FairPrimaryGenerator* primGen);
32
34};
35
36#endif
const Float_t d
Z-ccordinate of the first GEM-station.
Definition BmnMwpcHit.cxx:7
ClassDef(MpdRainGenerator, 1)
virtual ~MpdRainGenerator()
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)