er
dev
|
Class for convertion simulation data to format like real detector data. More...
#include <ERBeamDetDigitizer.h>
Public Member Functions | |
ERBeamDetDigitizer () | |
Default constructor. | |
ERBeamDetDigitizer (Int_t verbose) | |
Constructor. More... | |
virtual | ~ERBeamDetDigitizer ()=default |
Destructor. | |
void | SetToFElossThreshold (Float_t treshold) |
Sets energy threshold for ToF plastics. More... | |
void | SetMWPCElossThreshold (Float_t treshold) |
Sets energy threshold for MWPC wires. More... | |
void | SetToFElossSigma (Float_t sigma) |
Sets standart deviation for energy losses in ToF plastics. More... | |
void | SetMWPCElossSigma (Float_t sigma) |
Sets standart deviation for energy losses in MWPC wires. More... | |
void | SetToFTimeSigma (Float_t sigma) |
Sets standart deviation for time values in ToF plastics. More... | |
void | SetMWPCTimeSigma (Float_t sigma) |
Sets standart deviation for time values in MWPC wires. More... | |
void | SetToFElossSigmaOverEloss (Float_t a) |
Sets standart deviation for time values in MWPC wires. Sigma for each summary energy losses is defined according to equation \[ \frac{\sigma_{E}}{E}= \frac{a}{\sqrt{E/MeV}}\] , where \(E\) - summary energy losses in plastic, \(a\) -parameter. More... | |
virtual InitStatus | Init () |
Defines all input and output object colletions participates in digitization. | |
virtual void | Exec (Option_t *opt) |
Defines the transformation actions for all input data (Point) to output data (Digi) for each event. | |
virtual void | Reset () |
Resets all output data. | |
Public Member Functions inherited from ERDigitizer | |
ERDigitizer () | |
ERDigitizer (TString name) | |
ERDigitizer (TString name, Int_t verbose) | |
~ERDigitizer () | |
virtual void | Finish () |
void | AddError (TString volName, Float_t a, Float_t b, Float_t c) |
void | AddTrigger (TString stationSID, Int_t value, Int_t priority) |
void | ApplyTrigger (TString stationSID, TClonesArray *digiCollection) |
Public Member Functions inherited from ERTask | |
ERTask (TString name) | |
ERTask (TString name, Int_t verbose) | |
Constructor. More... | |
~ERTask () | |
Protected Member Functions | |
ERDigi * | AddMWPCDigi (float edep, float time, int mwpcNb, int planeNb, ERChannel wireNb) |
Adds a digi to the output Collections. | |
ERDigi * | AddToFDigi (float edep, float time, int tofNb) |
Adds a digi to the output Collections. | |
Protected Member Functions inherited from ERDigitizer | |
ERDigi * | AddDigi (TClonesArray *digi) |
Protected Member Functions inherited from ERTask | |
InitStatus | CheckRunManager () |
Check is instance of run manager availible for this task. | |
virtual void | SetParContainers () |
Initializes runtime database for getting parameters from .par file. | |
Protected Attributes | |
TClonesArray * | fBeamDetToFPoints = nullptr |
input collection of ToF points | |
TClonesArray * | fBeamDetMWPCPoints = nullptr |
input collection of MWPC points | |
TClonesArray * | fBeamDetToFDigi1 = nullptr |
output collection of Digi in first plastic | |
TClonesArray * | fBeamDetToFDigi2 = nullptr |
TClonesArray * | fBeamDetMWPCDigiX1 = nullptr |
output collection of Digi in first gas strip array in first MWPC station | |
TClonesArray * | fBeamDetMWPCDigiX2 = nullptr |
output collection of Digi in first gas strip array in second MWPC station | |
TClonesArray * | fBeamDetMWPCDigiY1 = nullptr |
output collection of Digi in second gas strip array in first MWPC station | |
TClonesArray * | fBeamDetMWPCDigiY2 = nullptr |
output collection of Digi in second gas strip array in second MWPC station | |
Float_t | fElossSigmaOverElossToF = 0. |
parameter of spreading energy losses | |
Float_t | fElossSigmaToF = 0. |
standart deviation of energy losses in ToF | |
Float_t | fTimeSigmaToF = 0. |
standart deviation of time in ToF | |
Float_t | fElossSigmaMWPC = 0. |
standart deviation of energy losses in MWPC | |
Float_t | fTimeSigmaMWPC = 0. |
standart deviation of time in MWPC | |
Float_t | fToFElossThreshold = 0. |
energy losses thershold in ToF | |
Float_t | fMWPCElossThreshold = 0. |
energy losses thershold in MWPC | |
Bool_t | fSigmaEOverEToFIsSet = kFALSE |
true if SetToFElossSigmaOverEloss is set | |
Protected Attributes inherited from ERDigitizer | |
std::map< TString, ERTrigger > | fTriggers |
Protected Attributes inherited from ERTask | |
FairRun * | fRun |
Pointer to run manager object. | |
std::vector< TString > | fAvailibleRunManagers |
Run managers that are availible for this task. | |
Class for convertion simulation data to format like real detector data.
ERBeamDetDigitizer is intended for converting VMC simulation data (Point classes) to format which recieved from the real detector (Digi classes). Parameters of simulation are summarized for each sensor with considering different effects which cause inaccuracies in output signals. If output signal less than predetermined thersholds by modifiers methods then it is not written to output branches. Time in ToFs is determined by time of first point in event.
Definition at line 32 of file ERBeamDetDigitizer.h.
ERBeamDetDigitizer::ERBeamDetDigitizer | ( | Int_t | verbose | ) |
Constructor.
verbose | 1 - only standard log print, 2 - print digi information. |
Definition at line 31 of file ERBeamDetDigitizer.cxx.
|
inline |
Sets standart deviation for energy losses in MWPC wires.
sigma | standart deviation [MeV] |
Definition at line 53 of file ERBeamDetDigitizer.h.
|
inline |
Sets energy threshold for MWPC wires.
treshold | energy thershold [MeV] |
Definition at line 47 of file ERBeamDetDigitizer.h.
|
inline |
Sets standart deviation for time values in MWPC wires.
sigma | standart deviation [ns] |
Definition at line 59 of file ERBeamDetDigitizer.h.
|
inline |
Sets standart deviation for energy losses in ToF plastics.
sigma | standart deviation [MeV] |
Definition at line 50 of file ERBeamDetDigitizer.h.
|
inline |
Sets standart deviation for time values in MWPC wires. Sigma for each summary energy losses is defined according to equation
\[ \frac{\sigma_{E}}{E}= \frac{a}{\sqrt{E/MeV}}\]
, where \(E\) - summary energy losses in plastic, \(a\) -parameter.
a | parameter of spreading. |
Definition at line 65 of file ERBeamDetDigitizer.h.
|
inline |
Sets energy threshold for ToF plastics.
Modifiers
treshold | energy thershold [MeV] |
Definition at line 44 of file ERBeamDetDigitizer.h.
|
inline |
Sets standart deviation for time values in ToF plastics.
sigma | standart deviation [ns] |
Definition at line 56 of file ERBeamDetDigitizer.h.
|
protected |
output collection of Digi in second plastic
Definition at line 91 of file ERBeamDetDigitizer.h.