AliRoot Core  3dc7879 (3dc7879)
AliEMCALRawResponse Class Reference

Handling of digits to raw data transformation. More...

#include <AliEMCALRawResponse.h>

Public Member Functions

 AliEMCALRawResponse ()
 
virtual ~AliEMCALRawResponse ()
 

Static Public Member Functions

static Double_t RawResponseFunction (Double_t *x, Double_t *par)
 
static Bool_t RawSampledResponse (Double_t dtime, Double_t damp, Int_t *adcH, Int_t *adcL, Int_t keyErr=0)
 
static Double_t GetFEENoise ()
 
static void SetFEENoise (Double_t val)
 
static Int_t GetPedestalValue ()
 
static void SetPedestalValue (Int_t val)
 
static Double_t GetRawFormatTimeTrigger ()
 
static Int_t GetRawFormatThreshold ()
 

Static Private Attributes

static Double_t fgTimeTrigger = 600E-9
 Time shift of the digit, apply only if not done at digitization level. More...
 
static Int_t fgThreshold = 1
 Store ADC values avobe this limit demanded by AliAltoBuffer::WriteChannel() More...
 
static Int_t fgPedestalValue = 0
 Pedestal value, apply only if not done at digitization level. More...
 
static Double_t fgFEENoise = 3.
 Electronics noise in ADC units, apply only if not done at digitization level. More...
 

Detailed Description

Handling of digits to raw data transformation.

Utility Class for handling simulated digits to Raw data generation

Author
Per Thomas Hille p.t.h.nosp@m.ille.nosp@m.@fys..nosp@m.uio..nosp@m.no, Yale.
Gustavo Conesa Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, LPSC-IN2P3-CNRS. Adjustments.

Definition at line 20 of file AliEMCALRawResponse.h.

Constructor & Destructor Documentation

AliEMCALRawResponse::AliEMCALRawResponse ( )

Definition at line 40 of file AliEMCALRawResponse.cxx.

AliEMCALRawResponse::~AliEMCALRawResponse ( )
virtual

Definition at line 45 of file AliEMCALRawResponse.cxx.

Member Function Documentation

static Double_t AliEMCALRawResponse::GetFEENoise ( )
inlinestatic

Definition at line 35 of file AliEMCALRawResponse.h.

static Int_t AliEMCALRawResponse::GetPedestalValue ( )
inlinestatic

Definition at line 38 of file AliEMCALRawResponse.h.

static Int_t AliEMCALRawResponse::GetRawFormatThreshold ( )
inlinestatic

Definition at line 42 of file AliEMCALRawResponse.h.

Referenced by AliEMCALRawUtils::Digits2Raw().

static Double_t AliEMCALRawResponse::GetRawFormatTimeTrigger ( )
inlinestatic

Definition at line 41 of file AliEMCALRawResponse.h.

Double_t AliEMCALRawResponse::RawResponseFunction ( Double_t *  x,
Double_t *  par 
)
static

Approximate response function of the EMCal electronics.

Parameters
xbin
parfunction parameters
Returns
double with signal for a given time bin

Definition at line 60 of file AliEMCALRawResponse.cxx.

Referenced by AliCaloRawAnalyzerKStandard::FitRaw().

Bool_t AliEMCALRawResponse::RawSampledResponse ( Double_t  dtime,
Double_t  damp,
Int_t *  adcH,
Int_t *  adcL,
Int_t  keyErr = 0 
)
static

Sample the digit into raw format, assign time bin and signal depending on raw response function defined in RawResponseFunction(Double_t *x, Double_t *par).

Parameters
dtimetime of the digit, input
dampamplitude of the digit, input
adcHtime sample for high gain digits, output
adcLtime sample for low gain digits, output
keyErrAdd noise with fgFEENoise as mean gaussian value
Returns
true if low gain channel

Definition at line 89 of file AliEMCALRawResponse.cxx.

Referenced by AliEMCALRawUtils::Digits2Raw().

static void AliEMCALRawResponse::SetFEENoise ( Double_t  val)
inlinestatic

Definition at line 36 of file AliEMCALRawResponse.h.

static void AliEMCALRawResponse::SetPedestalValue ( Int_t  val)
inlinestatic

Definition at line 39 of file AliEMCALRawResponse.h.

Member Data Documentation

Double_t AliEMCALRawResponse::fgFEENoise = 3.
staticprivate

Electronics noise in ADC units, apply only if not done at digitization level.

Definition at line 52 of file AliEMCALRawResponse.h.

Referenced by GetFEENoise(), and SetFEENoise().

Int_t AliEMCALRawResponse::fgPedestalValue = 0
staticprivate

Pedestal value, apply only if not done at digitization level.

Definition at line 50 of file AliEMCALRawResponse.h.

Referenced by GetPedestalValue(), and SetPedestalValue().

Int_t AliEMCALRawResponse::fgThreshold = 1
staticprivate

Store ADC values avobe this limit demanded by AliAltoBuffer::WriteChannel()

Definition at line 48 of file AliEMCALRawResponse.h.

Referenced by GetRawFormatThreshold().

Double_t AliEMCALRawResponse::fgTimeTrigger = 600E-9
staticprivate

Time shift of the digit, apply only if not done at digitization level.

Definition at line 46 of file AliEMCALRawResponse.h.

Referenced by GetRawFormatTimeTrigger().


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