9 #ifndef ERBeamDetDigitizer_H 10 #define ERBeamDetDigitizer_H 12 #include "TClonesArray.h" 14 #include "ERDigitizer.h" 15 #include "ERBeamDetMWPCPoint.h" 16 #include "ERBeamDetTOFPoint.h" 18 #include "ERSupport.h" 73 virtual InitStatus
Init();
77 virtual void Exec(Option_t* opt);
82 ERDigi*
AddMWPCDigi(
float edep,
float time,
int mwpcNb,
int planeNb, ERChannel wireNb);
void SetToFElossSigmaOverEloss(Float_t a)
Sets standart deviation for time values in MWPC wires. Sigma for each summary energy losses is define...
Float_t fToFElossThreshold
energy losses thershold in ToF
Class for convertion simulation data to format like real detector data.
Float_t fElossSigmaOverElossToF
parameter of spreading energy losses
void SetToFElossThreshold(Float_t treshold)
Sets energy threshold for ToF plastics.
ERDigi * AddToFDigi(float edep, float time, int tofNb)
Adds a digi to the output Collections.
TClonesArray * fBeamDetToFPoints
input collection of ToF points
virtual void Exec(Option_t *opt)
Defines the transformation actions for all input data (Point) to output data (Digi) for each event...
virtual InitStatus Init()
Defines all input and output object colletions participates in digitization.
Float_t fMWPCElossThreshold
energy losses thershold in MWPC
Float_t fElossSigmaToF
standart deviation of energy losses in ToF
ERDigi * AddMWPCDigi(float edep, float time, int mwpcNb, int planeNb, ERChannel wireNb)
Adds a digi to the output Collections.
Bool_t fSigmaEOverEToFIsSet
true if SetToFElossSigmaOverEloss is set
virtual void Reset()
Resets all output data.
void SetMWPCTimeSigma(Float_t sigma)
Sets standart deviation for time values in MWPC wires.
void SetToFTimeSigma(Float_t sigma)
Sets standart deviation for time values in ToF plastics.
Float_t fElossSigmaMWPC
standart deviation of energy losses in MWPC
TClonesArray * fBeamDetMWPCPoints
input collection of MWPC points
TClonesArray * fBeamDetMWPCDigiY1
output collection of Digi in second gas strip array in first MWPC station
void SetToFElossSigma(Float_t sigma)
Sets standart deviation for energy losses in ToF plastics.
TClonesArray * fBeamDetToFDigi1
output collection of Digi in first plastic
TClonesArray * fBeamDetMWPCDigiY2
output collection of Digi in second gas strip array in second MWPC station
Float_t fTimeSigmaToF
standart deviation of time in ToF
void SetMWPCElossThreshold(Float_t treshold)
Sets energy threshold for MWPC wires.
Float_t fTimeSigmaMWPC
standart deviation of time in MWPC
ERBeamDetDigitizer()
Default constructor.
TClonesArray * fBeamDetMWPCDigiX1
output collection of Digi in first gas strip array in first MWPC station
virtual ~ERBeamDetDigitizer()=default
Destructor.
TClonesArray * fBeamDetMWPCDigiX2
output collection of Digi in first gas strip array in second MWPC station
TClonesArray * fBeamDetToFDigi2
void SetMWPCElossSigma(Float_t sigma)
Sets standart deviation for energy losses in MWPC wires.