BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
Mpd3fdGenerator.h
Go to the documentation of this file.
1/*
2 * File: Mpd3fdGenerator.h
3 * Author: Sergei Merts
4 *
5 * Created on June 22, 2015, 2:06 PM
6 */
7
8#ifndef MPD3FDGENERATOR_H
9#define MPD3FDGENERATOR_H
10
11#include "FairGenerator.h"
12#include "TChain.h"
13#include "TFile.h"
14
15#include <fstream>
16
17const UInt_t kBatyukConst = 1e5;
18
19class TVirtualMCStack;
20class FairPrimaryGenerator;
21
22class Mpd3fdGenerator : public FairGenerator
23{
24 public:
25 /** Default constructor without arguments should not be used. **/
27
28 /** Standard constructor.
29 * @param fileName The input file name
30 **/
32
33 /** Destructor. **/
35
36 Bool_t ReadEvent(FairPrimaryGenerator* primGen);
37
38 void SkipEvents(Int_t ev) { fEventNumber = ev; }
39
40 private:
41 TFile* fInputFile; //! Input file
42 TString fFileName; //! Input file name
43 TChain* fDstTree; //!
52 UInt_t fNpart; //!
54
57
59};
60
61#endif /* MPD3FDGENERATOR_H */
bool Bool_t
int Int_t
unsigned int UInt_t
double Double_t
#define ClassDef(name, id)
TChain * fDstTree
Input file name.
Mpd3fdGenerator(TString fileName)
Standard constructor.
Bool_t ReadEvent(FairPrimaryGenerator *primGen)
TString fFileName
Input file.
Double_t fPy[kBatyukConst]
Mpd3fdGenerator()
Default constructor without arguments should not be used.
Double_t fX[kBatyukConst]
Mpd3fdGenerator & operator=(const Mpd3fdGenerator &)=delete
Double_t fPz[kBatyukConst]
void SkipEvents(Int_t ev)
Double_t fY[kBatyukConst]
Double_t fZ[kBatyukConst]
Double_t fPx[kBatyukConst]
Mpd3fdGenerator(const Mpd3fdGenerator &)=delete
~Mpd3fdGenerator()
Destructor.
Double_t fE[kBatyukConst]
Int_t fPID[kBatyukConst]
const UInt_t kBatyukConst