BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnVSPDigitizer.h
Go to the documentation of this file.
1#ifndef BMNVSPDIGITIZER_H
2#define BMNVSPDIGITIZER_H
3
5#include "BmnVSPDigit.h"
6#include "BmnVSPStationSet.h"
7#include "BmnVSPTransform.h"
8#include "FairField.h"
9#include "FairMCPoint.h"
10#include "FairRunSim.h"
11#include "FairTask.h"
12#include "Rtypes.h"
13#include "TClonesArray.h"
14
15#include <iostream>
16
17using namespace std;
18
19class BmnVSPDigitizer : public FairTask
20{
21 public:
23
24 BmnVSPDigitizer(UInt_t run_period);
25
27
28 virtual InitStatus Init();
29
30 virtual void Exec(Option_t* opt);
31
32 virtual void Finish();
33
35
36 // Setters
37
39
41
43
45
46 void SetXMLConfig(TString xml_file)
47 {
49 XMLConfigFile = xml_file;
50 }
51
52 void SetNoise(Double_t sigma, Double_t thresh)
53 {
54 fSigma = sigma;
55 fThresh = thresh;
56 } // AZ-010725 - set noise sigma and threshold
57
58 private:
62
63 /** Input array of VSP Points **/
65
66 /** Input array of MC Tracks **/
68
69 /** Output array of VSP Digits **/
71
72 /** Output array of VSP Digit Matches **/
74
78
80
83 BmnVSPStationSet* StationSet; // Entire detector
84 BmnVSPTransform* GlobalModTransfSet; // Transformations for detector modules
85
86 Double_t fSigma; // AZ-010725
87 Double_t fThresh; // AZ-010725
88
90};
91
92#endif /* BMNVSPDIGITIZER_H */
bool Bool_t
constexpr Bool_t kFALSE
double Double_t
constexpr Bool_t kTRUE
const char Option_t
#define ClassDef(name, id)
void SetOnlyPrimary(Bool_t opt=kFALSE)
void SetUseRealEffects(Bool_t opt=kTRUE)
void SetXMLConfig(TString xml_file)
virtual ~BmnVSPDigitizer()
TClonesArray * fMCTracksArray
Input array of MC Tracks.
FairField * fField
TClonesArray * fBmnVSPDigitMatchesArray
Output array of VSP Digit Matches.
virtual void Finish()
TString fOutputDigitMatchesBranchName
TString fOutputDigitsBranchName
BmnVSPDigitizer(UInt_t run_period)
void ProcessMCPoints()
BmnVSPConfiguration::VSP_CONFIG fCurrentConfig
virtual void Exec(Option_t *opt)
void SetStripMatching(Bool_t opt=kTRUE)
void SetCurrentConfig(BmnVSPConfiguration::VSP_CONFIG config)
TClonesArray * fBmnVSPPointsArray
Input array of VSP Points.
TClonesArray * fBmnVSPDigitsArray
Output array of VSP Digits.
void SetNoise(Double_t sigma, Double_t thresh)
virtual InitStatus Init()
BmnVSPTransform * GlobalModTransfSet
BmnVSPStationSet * StationSet
Definition json.hpp:4446