BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnSiliconDigitizer.h
Go to the documentation of this file.
1#ifndef BMNSILICONDIGITIZER_H
2#define BMNSILICONDIGITIZER_H
3
5#include "BmnSiliconDigit.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
20{
21 public:
23
24 BmnSiliconDigitizer(UInt_t run_period);
25
26 virtual ~BmnSiliconDigitizer();
27
28 virtual InitStatus Init();
29
30 virtual void Exec(Option_t* opt);
31
32 virtual void Finish();
33
34 void ProcessMCPoints();
35
37
39
41
43
44 void SetXMLConfig(TString xml_file)
45 {
47 XMLConfigFile = xml_file;
48 }
49
50 void SetNoise(Double_t sigma, Double_t thresh)
51 {
52 fSigma = sigma;
53 fThresh = thresh;
54 } // AZ-240823 - set noise sigma and threshold
55
56 private:
60
61 /** Input array of Silicon Points **/
63
64 /** Input array of MC Tracks **/
66
67 /** Output array of Silicon Digits **/
69
70 /** Output array of Silicon Digit Matches **/
72
76
78
81 BmnSiliconStationSet* StationSet; // Entire detector
82 BmnSiliconTransform* GlobalModTransfSet; // Transformations for detector modules
83
84 Double_t fSigma; // AZ-240823
85 Double_t fThresh; // AZ-240823
86
88};
89
90#endif /* BMNSILICONDIGITIZER_H */
bool Bool_t
constexpr Bool_t kFALSE
double Double_t
constexpr Bool_t kTRUE
const char Option_t
#define ClassDef(name, id)
void SetXMLConfig(TString xml_file)
BmnSiliconConfiguration::SILICON_CONFIG fCurrentConfig
void SetCurrentConfig(BmnSiliconConfiguration::SILICON_CONFIG config)
void SetNoise(Double_t sigma, Double_t thresh)
void SetStripMatching(Bool_t opt=kTRUE)
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
BmnSiliconTransform * GlobalModTransfSet
void SetOnlyPrimary(Bool_t opt=kFALSE)
void SetUseRealEffects(Bool_t opt=kTRUE)
TClonesArray * fBmnSiliconDigitsArray
Output array of Silicon Digits.
TClonesArray * fBmnSiliconDigitMatchesArray
Output array of Silicon Digit Matches.
BmnSiliconStationSet * StationSet
TClonesArray * fMCTracksArray
Input array of MC Tracks.
TClonesArray * fBmnSiliconPointsArray
Input array of Silicon Points.
Definition json.hpp:4446