BmnRoot
Loading...
Searching...
No Matches
BmnDchHitProducer.h
Go to the documentation of this file.
1/*
2 * class: BmnDchHitProducer
3 * Created: 11.09.2019
4 * Author: D. Baranov
5 */
6
7#ifndef BMNDCHHITPRODUCER_H
8#define BMNDCHHITPRODUCER_H 1
9
10#include "TClonesArray.h"
11#include "FairTask.h"
12#include "TRandom.h"
13#include "TH1F.h"
14
15#include <iostream>
16
17using namespace std;
18
19class BmnDchHitProducer : public FairTask
20{
21 public:
25 virtual ~BmnDchHitProducer();
26
28 virtual InitStatus Init();
30 virtual void Exec(Option_t* opt);
32 virtual void Finish();
33
34 private:
35 TString fInputBranchName;
36 TString fTracksBranchName;
37 TString fOutputHitsBranchName;
38
40 TClonesArray* fBmnPointsArray;
41
43 TClonesArray* fMCTracksArray;
44
46 TClonesArray* fBmnHitsArray;
47
48 // DCH parameters
49 const UInt_t fNActivePlanes = 8; //number of active wire planes in DHC
50 TString *fPlaneTypes; //[fNActivePlanes]
51 TList fhList2;
52 TRandom rand_gen;
53
54 TH1F* hMCtr_ion_dc1;
55 TH1F* hMCtr_ion_dc2;
56 TH1F* hMCtr_ionID_dc1;
57 TH1F* hMCtr_ionID_dc2;
58
59 ClassDef(BmnDchHitProducer, 1);
60};
61
62#endif
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
STL namespace.