AliRoot Core  3dc7879 (3dc7879)
TestRawResponse.C File Reference

Test raw fitting response. More...

#include <Riostream.h>
#include <TF1.h>
#include <TRandom.h>
#include <TMath.h>
#include <TCanvas.h>
#include <TH1I.h>
Include dependency graph for TestRawResponse.C:

Go to the source code of this file.

Functions

Double_t RawResponseFunction (Double_t *x, Double_t *par)
 Response function. More...
 
void TestRawResponse (const Double_t damp=20, const Double_t dtime=1e-09)
 

Variables

const Double_t fgTimeTrigger = 1.5E-06
 
const Double_t fTau = 2.35
 
const Double_t fOrder = 2.
 
const Double_t fgPedestal = 32
 
const Double_t fTimeBinWidth = 100E-9
 
const Int_t fgOverflow = 0x3FF
 
const Double_t fHighLowGain = 16.
 
const Double_t fRawFormatTimeMax = 256*fTimeBinWidth
 
const Double_t fgFEENoise = 3.
 

Detailed Description

Test raw fitting response.

Small macro for testing the raw response function used in AliEMCALRawUtils.

Author
: Jenn Klay (Cal Poly)

Definition in file TestRawResponse.C.

Function Documentation

Double_t RawResponseFunction ( Double_t *  x,
Double_t *  par 
)

Response function.

Definition at line 38 of file TestRawResponse.C.

Referenced by AliEMCALRawResponse::RawSampledResponse(), and TestRawResponse().

void TestRawResponse ( const Double_t  damp = 20,
const Double_t  dtime = 1e-09 
)

Main execution method

Definition at line 57 of file TestRawResponse.C.

Variable Documentation

const Double_t fgFEENoise = 3.

Definition at line 33 of file TestRawResponse.C.

Referenced by AliEMCALRawResponse::RawSampledResponse(), and TestRawResponse().

const Int_t fgOverflow = 0x3FF

Definition at line 30 of file TestRawResponse.C.

Referenced by TestRawResponse().

const Double_t fgPedestal = 32

Definition at line 28 of file TestRawResponse.C.

Referenced by TestRawResponse().

const Double_t fgTimeTrigger = 1.5E-06

Definition at line 25 of file TestRawResponse.C.

Referenced by AliEMCALRawResponse::RawSampledResponse(), and TestRawResponse().

const Double_t fHighLowGain = 16.

Definition at line 31 of file TestRawResponse.C.

Referenced by TestRawResponse().

const Double_t fOrder = 2.

Definition at line 27 of file TestRawResponse.C.

Referenced by TestRawResponse().

const Double_t fRawFormatTimeMax = 256*fTimeBinWidth

Definition at line 32 of file TestRawResponse.C.

const Double_t fTau = 2.35
const Double_t fTimeBinWidth = 100E-9

Definition at line 29 of file TestRawResponse.C.

Referenced by TestRawResponse().