er  dev
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ERBeamDetDigitizer Class Reference

Class for convertion simulation data to format like real detector data. More...

#include <ERBeamDetDigitizer.h>

Inheritance diagram for ERBeamDetDigitizer:
Inheritance graph
[legend]
Collaboration diagram for ERBeamDetDigitizer:
Collaboration graph
[legend]

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

ERDigiAddMWPCDigi (float edep, float time, int mwpcNb, int planeNb, ERChannel wireNb)
 Adds a digi to the output Collections.
 
ERDigiAddToFDigi (float edep, float time, int tofNb)
 Adds a digi to the output Collections.
 
- Protected Member Functions inherited from ERDigitizer
ERDigiAddDigi (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, ERTriggerfTriggers
 
- Protected Attributes inherited from ERTask
FairRun * fRun
 Pointer to run manager object.
 
std::vector< TString > fAvailibleRunManagers
 Run managers that are availible for this task.
 

Detailed Description

Class for convertion simulation data to format like real detector data.

Author
M.Kozlov kozlo.nosp@m.v.m..nosp@m.your@.nosp@m.yand.nosp@m.ex.ru
Version
1.0

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.

Constructor & Destructor Documentation

ERBeamDetDigitizer::ERBeamDetDigitizer ( Int_t  verbose)

Constructor.

Parameters
verbose1 - only standard log print, 2 - print digi information.

Definition at line 31 of file ERBeamDetDigitizer.cxx.

Member Function Documentation

void ERBeamDetDigitizer::SetMWPCElossSigma ( Float_t  sigma)
inline

Sets standart deviation for energy losses in MWPC wires.

Parameters
sigmastandart deviation [MeV]

Definition at line 53 of file ERBeamDetDigitizer.h.

void ERBeamDetDigitizer::SetMWPCElossThreshold ( Float_t  treshold)
inline

Sets energy threshold for MWPC wires.

Parameters
tresholdenergy thershold [MeV]

Definition at line 47 of file ERBeamDetDigitizer.h.

void ERBeamDetDigitizer::SetMWPCTimeSigma ( Float_t  sigma)
inline

Sets standart deviation for time values in MWPC wires.

Parameters
sigmastandart deviation [ns]

Definition at line 59 of file ERBeamDetDigitizer.h.

void ERBeamDetDigitizer::SetToFElossSigma ( Float_t  sigma)
inline

Sets standart deviation for energy losses in ToF plastics.

Parameters
sigmastandart deviation [MeV]

Definition at line 50 of file ERBeamDetDigitizer.h.

void ERBeamDetDigitizer::SetToFElossSigmaOverEloss ( Float_t  a)
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.

Parameters
aparameter of spreading.

Definition at line 65 of file ERBeamDetDigitizer.h.

void ERBeamDetDigitizer::SetToFElossThreshold ( Float_t  treshold)
inline

Sets energy threshold for ToF plastics.

Modifiers

Parameters
tresholdenergy thershold [MeV]

Definition at line 44 of file ERBeamDetDigitizer.h.

void ERBeamDetDigitizer::SetToFTimeSigma ( Float_t  sigma)
inline

Sets standart deviation for time values in ToF plastics.

Parameters
sigmastandart deviation [ns]

Definition at line 56 of file ERBeamDetDigitizer.h.

Member Data Documentation

TClonesArray* ERBeamDetDigitizer::fBeamDetToFDigi2 = nullptr
protected

output collection of Digi in second plastic

Definition at line 91 of file ERBeamDetDigitizer.h.


The documentation for this class was generated from the following files: