BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
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 public:
20
21 // pdgid - Particle ID
22 // p - momentum of particle
23 // theta, phi - angles of rain (particles)
24 // d - distance between particles
25 // n - (2*n)^2 number of particles
27 virtual ~MpdRainGenerator() {};
28
29 // Create an Event
30 virtual Bool_t ReadEvent(FairPrimaryGenerator* primGen);
31
33};
34
35#endif
bool Bool_t
int Int_t
double Double_t
#define ClassDef(name, id)
virtual ~MpdRainGenerator()
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
MpdRainGenerator(Int_t pdgid, Double_t p, Double_t theta, Double_t phi, Double_t d, Double_t height, Int_t n)
*brief user defined string literal for JSON values *sa std::size_t n
Definition json.hpp:20362