BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnMwpcHitProducer.h
Go to the documentation of this file.
1// Author: Vasilisa Lenivenko (VBLHEP) <vasilisa@jinr.ru> 2021-03-11
2#ifndef BmnMwpcHitProducer_H
3#define BmnMwpcHitProducer_H 1
4
5#include "BmnEnums.h"
6#include "BmnMwpcDigit.h"
7#include "CbmTofHit.h"
8#include "CbmTofPoint.h"
9#include "FairTask.h"
10#include "TClonesArray.h"
11#include "TH2D.h"
12#include "TRandom.h"
13#include "TString.h"
14
15#include <iostream>
16#include <math.h>
17#include <vector>
18using namespace std;
19
21{
22 public:
23 /** Default constructor **/
25 /** Destructor **/
26 virtual ~BmnMwpcHitProducer();
27
28 /** Virtual method Init **/
29 virtual InitStatus Init();
30 /** Virtual method Exec **/
31 virtual void Exec(Option_t* opt);
32 /** Virtual method Finish **/
33 virtual void Finish();
34
35 // Setters
37
40
41 private:
42 UInt_t fEventNo; // event counter
50
51 /** Input array of MWPC Points **/
53 /** Input array of Points **/
55 /** Input array of MWPC Digits **/
57
58 /** Input array of MC Tracks **/
60
61 /** Output array of MWPC Hits **/
63 /** Output array of Hits **/
65
67 TString fRunType; //"points" or "digits"
70
72
73 const Int_t PDG_B11 = 1000050110; // B11
74 const Int_t PDG_Li7 = 1000030070; // Li7
75 const Int_t PDG_He4 = 1000020040; // He4
76 const Int_t PDG_Li8 = 1000030080; // Li8
77 const Int_t PDG_Be9 = 1000040090; // Be9
78 const Int_t PDG_H2 = 1000010020; // H2
79
81};
82
83#endif
bool Bool_t
int Int_t
constexpr Bool_t kFALSE
const char Option_t
#define ClassDef(name, id)
BmnStatus
Define status code.
Definition BmnEnums.h:93
void SetOnlyPrimary(Bool_t opt=kFALSE)
BmnMwpcHitProducer()
Default constructor.
TClonesArray * fBmnMwpcPointsArray
Input array of MWPC Points.
virtual void Exec(Option_t *opt)
Virtual method Exec.
TClonesArray * fBmnHitsArray
Output array of Hits.
TClonesArray * fBmnMwpcDigitsArray
Input array of MWPC Digits.
TClonesArray * fBmnPointsArray
Input array of Points.
virtual InitStatus Init()
Virtual method Init.
TClonesArray * fBmnMwpcHitsArray
Output array of MWPC Hits.
virtual void Finish()
Virtual method Finish.
virtual ~BmnMwpcHitProducer()
Destructor.
TClonesArray * fMCTracksArray
Input array of MC Tracks.
Definition json.hpp:4446