AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCALTriggerOnlineQAPbPb Class Reference

#include <AliEMCALTriggerOnlineQAPbPb.h>

Inheritance diagram for AliEMCALTriggerOnlineQAPbPb:

Public Member Functions

 AliEMCALTriggerOnlineQAPbPb ()
 
 AliEMCALTriggerOnlineQAPbPb (const char *name)
 
 AliEMCALTriggerOnlineQAPbPb (const AliEMCALTriggerOnlineQAPbPb &triggerQA)
 
virtual ~AliEMCALTriggerOnlineQAPbPb ()
 
void SetBkgPatchType (Int_t t)
 
Int_t GetBkgPatchType () const
 
void Init ()
 
void ProcessPatch (const AliEMCALTriggerPatchInfo *patch)
 
void ProcessBkgPatch (const AliEMCALTriggerPatchInfo *patch)
 
void ProcessFastor (const AliEMCALTriggerFastOR *fastor, AliVCaloCells *=0)
 
void EventCompleted ()
 
void ComputeBackground ()
 
void GetEMCalMedian (Double_t median[3]) const
 
void GetDCalMedian (Double_t median[3]) const
 
void GetEMCalBkg (Double_t bkg[3]) const
 
void GetDCalBkg (Double_t bkg[3]) const
 
TCollection * GetListOfHistograms ()
 
- Public Member Functions inherited from AliEMCALTriggerQA
 AliEMCALTriggerQA ()
 
 AliEMCALTriggerQA (const char *name)
 
 AliEMCALTriggerQA (const AliEMCALTriggerQA &ref)
 
virtual ~AliEMCALTriggerQA ()
 
void SetDebugLevel (Int_t l)
 
void SetADCperBin (Int_t i)
 
Int_t GetDebugLevel () const
 
void EnablePatchType (PatchTypes_t patchtype, EMCalTriggerType_t triggertype, Bool_t e)
 
Bool_t IsPatchTypeEnabled (Int_t patchtype, Int_t triggertype) const
 
void EnableHistogramsByTimeStamp (UInt_t binWidth=600)
 
void SetEMCALGeometry (const AliEMCALGeometry *geom)
 
virtual void ExecOnce ()
 Actions to be executed only once for the first event. More...
 
virtual void ProcessCell (const AliEMCALCellInfo &)
 
virtual void EventTimeStamp (UInt_t timeStamp)
 

Protected Attributes

Int_t fBkgPatchType
 Background patch type. More...
 
TArrayI fBkgADCAmpEMCal [3]
 ! ADC EMCal amplitudes (0=online, 1=offline) of background patches (will be reset each event) More...
 
Int_t fNBkgPatchesEMCal [3]
 ! Number of processed background patches (will be reset each event) More...
 
Int_t fMaxPatchEMCal [6][3]
 ! EMCal max ADC amplitude (0=online, 1=offline) (will be reset each event) More...
 
TArrayI fBkgADCAmpDCal [3]
 ! ADC DCal amplitudes (0=online, 1=offline) of background patches (will be reset each event) More...
 
Int_t fNBkgPatchesDCal [3]
 ! Number of processed background patches (will be reset each event) More...
 
Int_t fMaxPatchDCal [6][3]
 ! DCal max ADC amplitude (0=online, 1=offline) (will be reset each event) More...
 
Int_t fPatchAreas [6]
 ! Patch sizes retrieved directly during the patch processing More...
 
Double_t fMedianEMCal [3]
 ! Median of background patches in the EMCal More...
 
Double_t fMedianDCal [3]
 ! Median of background patches in the DCal More...
 
Double_t fBkgEMCal [3]
 ! Background in the EMCal More...
 
Double_t fBkgDCal [3]
 ! Background in the DCal More...
 
THashList * fHistos
 ! Histograms for QA More...
 
- Protected Attributes inherited from AliEMCALTriggerQA
UInt_t fEnabledTriggerPatches [fgkNPatchTypes]
 Patch types to be plotted. More...
 
Int_t fFastorL0Th
 FastOR L0 threshold. More...
 
Int_t fFastorL1Th
 FastOR L1 threshold. More...
 
Int_t fADCperBin
 ADC counts per bin. More...
 
Int_t fDebugLevel
 Debug level. More...
 
UInt_t fTimeStampBinWidth
 Time stamp bin width. More...
 
const AliEMCALGeometry * fGeom
 ! Pointer to the EMCal geometry More...
 
UInt_t fEventTimeStamp
 ! Time stamp of the current event More...
 
UInt_t fEventTimeStampBin
 ! Time stamp bin More...
 

Private Member Functions

void CreateTProfile (const char *name, const char *title, int nbins, double xmin, double xmax)
 
void CreateTH1 (const char *name, const char *title, int nbins, double xmin, double xmax)
 
void CreateTH2 (const char *name, const char *title, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax)
 
void CreateTH3 (const char *name, const char *title, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, int nbinsz, double zmin, double zmax)
 
void FillTProfile (const char *name, double x, double y, double weight=1.)
 
void FillTH1 (const char *hname, double x, double weight=1.)
 
void FillTH2 (const char *hname, double x, double y, double weight=1.)
 
void FillTH3 (const char *hname, double x, double y, double z, double weight=1.)
 
TObject * FindObject (const char *name) const
 
virtual TObject * FindObject (const TObject *obj) const
 
AliEMCALTriggerOnlineQAPbPboperator= (const AliEMCALTriggerOnlineQAPbPb &)
 

Additional Inherited Members

- Public Types inherited from AliEMCALTriggerQA
enum  PatchTypes_t { kOnlinePatch = 0, kRecalcPatch = 1, kOfflinePatch = 2 }
 
typedef
EMCALTrigger::EMCalTriggerType_t 
EMCalTriggerType_t
 
- Static Public Member Functions inherited from AliEMCALTriggerQA
static Int_t GetAmplitude (const AliEMCALTriggerPatchInfo *patch, Int_t itype)
 
- Static Public Attributes inherited from AliEMCALTriggerQA
static const Int_t fgkSM = 20
 
static const Int_t fgkNPatchTypes = 3
 
static const Int_t fgkNTriggerTypes = 6
 
static const Int_t fgkNDet = 2
 
static const Int_t fgkMaxPatchAmp [fgkNTriggerTypes] = {2000, 2000, 2000, 6000, 6000, 5000}
 Maximum patch amplitude for the histograms. More...
 
static const TString fgkPatchTypes [fgkNPatchTypes] = {"Online", "Recalc", "Offline"}
 Patch type names. More...
 

Detailed Description

Definition at line 28 of file AliEMCALTriggerOnlineQAPbPb.h.

Constructor & Destructor Documentation

AliEMCALTriggerOnlineQAPbPb::AliEMCALTriggerOnlineQAPbPb ( )

Dummy constructor

Definition at line 47 of file AliEMCALTriggerOnlineQAPbPb.cxx.

AliEMCALTriggerOnlineQAPbPb::AliEMCALTriggerOnlineQAPbPb ( const char *  name)

Constructor

Definition at line 87 of file AliEMCALTriggerOnlineQAPbPb.cxx.

AliEMCALTriggerOnlineQAPbPb::AliEMCALTriggerOnlineQAPbPb ( const AliEMCALTriggerOnlineQAPbPb triggerQA)

Definition at line 127 of file AliEMCALTriggerOnlineQAPbPb.cxx.

AliEMCALTriggerOnlineQAPbPb::~AliEMCALTriggerOnlineQAPbPb ( )
virtual

Destructor

Definition at line 150 of file AliEMCALTriggerOnlineQAPbPb.cxx.

Member Function Documentation

void AliEMCALTriggerOnlineQAPbPb::ComputeBackground ( )
virtual

Computes background for the current event

Reimplemented from AliEMCALTriggerQA.

Definition at line 471 of file AliEMCALTriggerOnlineQAPbPb.cxx.

void AliEMCALTriggerOnlineQAPbPb::CreateTH1 ( const char *  name,
const char *  title,
int  nbins,
double  xmin,
double  xmax 
)
private

Definition at line 575 of file AliEMCALTriggerOnlineQAPbPb.cxx.

Referenced by Init().

void AliEMCALTriggerOnlineQAPbPb::CreateTH2 ( const char *  name,
const char *  title,
int  nbinsx,
double  xmin,
double  xmax,
int  nbinsy,
double  ymin,
double  ymax 
)
private

Definition at line 596 of file AliEMCALTriggerOnlineQAPbPb.cxx.

Referenced by Init().

void AliEMCALTriggerOnlineQAPbPb::CreateTH3 ( const char *  name,
const char *  title,
int  nbinsx,
double  xmin,
double  xmax,
int  nbinsy,
double  ymin,
double  ymax,
int  nbinsz,
double  zmin,
double  zmax 
)
private

Definition at line 620 of file AliEMCALTriggerOnlineQAPbPb.cxx.

void AliEMCALTriggerOnlineQAPbPb::CreateTProfile ( const char *  name,
const char *  title,
int  nbins,
double  xmin,
double  xmax 
)
private

Definition at line 554 of file AliEMCALTriggerOnlineQAPbPb.cxx.

Referenced by Init().

void AliEMCALTriggerOnlineQAPbPb::EventCompleted ( )
virtual

This method should be called at the end of each event.

Implements AliEMCALTriggerQA.

Definition at line 491 of file AliEMCALTriggerOnlineQAPbPb.cxx.

void AliEMCALTriggerOnlineQAPbPb::FillTH1 ( const char *  hname,
double  x,
double  weight = 1. 
)
private
void AliEMCALTriggerOnlineQAPbPb::FillTH2 ( const char *  hname,
double  x,
double  y,
double  weight = 1. 
)
private
void AliEMCALTriggerOnlineQAPbPb::FillTH3 ( const char *  hname,
double  x,
double  y,
double  z,
double  weight = 1. 
)
private

Definition at line 703 of file AliEMCALTriggerOnlineQAPbPb.cxx.

void AliEMCALTriggerOnlineQAPbPb::FillTProfile ( const char *  name,
double  x,
double  y,
double  weight = 1. 
)
private

Definition at line 645 of file AliEMCALTriggerOnlineQAPbPb.cxx.

Referenced by ProcessFastor().

TObject * AliEMCALTriggerOnlineQAPbPb::FindObject ( const char *  name) const
private

Definition at line 725 of file AliEMCALTriggerOnlineQAPbPb.cxx.

TObject * AliEMCALTriggerOnlineQAPbPb::FindObject ( const TObject *  obj) const
privatevirtual

Definition at line 738 of file AliEMCALTriggerOnlineQAPbPb.cxx.

Int_t AliEMCALTriggerOnlineQAPbPb::GetBkgPatchType ( ) const
inline

Definition at line 37 of file AliEMCALTriggerOnlineQAPbPb.h.

void AliEMCALTriggerOnlineQAPbPb::GetDCalBkg ( Double_t  bkg[3]) const
inlinevirtual

Reimplemented from AliEMCALTriggerQA.

Definition at line 49 of file AliEMCALTriggerOnlineQAPbPb.h.

void AliEMCALTriggerOnlineQAPbPb::GetDCalMedian ( Double_t  median[3]) const
inlinevirtual

Reimplemented from AliEMCALTriggerQA.

Definition at line 47 of file AliEMCALTriggerOnlineQAPbPb.h.

void AliEMCALTriggerOnlineQAPbPb::GetEMCalBkg ( Double_t  bkg[3]) const
inlinevirtual

Reimplemented from AliEMCALTriggerQA.

Definition at line 48 of file AliEMCALTriggerOnlineQAPbPb.h.

void AliEMCALTriggerOnlineQAPbPb::GetEMCalMedian ( Double_t  median[3]) const
inlinevirtual

Reimplemented from AliEMCALTriggerQA.

Definition at line 46 of file AliEMCALTriggerOnlineQAPbPb.h.

TCollection* AliEMCALTriggerOnlineQAPbPb::GetListOfHistograms ( )
inlinevirtual

Implements AliEMCALTriggerQA.

Definition at line 51 of file AliEMCALTriggerOnlineQAPbPb.h.

void AliEMCALTriggerOnlineQAPbPb::Init ( void  )
virtual

Initialize the class, i.e. allocate histograms.

Implements AliEMCALTriggerQA.

Definition at line 157 of file AliEMCALTriggerOnlineQAPbPb.cxx.

AliEMCALTriggerOnlineQAPbPb& AliEMCALTriggerOnlineQAPbPb::operator= ( const AliEMCALTriggerOnlineQAPbPb )
private
void AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch ( const AliEMCALTriggerPatchInfo patch)
virtual

Process a patch, filling relevant histograms.

Parameters
patchPointer to a valid trigger patch

Reimplemented from AliEMCALTriggerQA.

Definition at line 348 of file AliEMCALTriggerOnlineQAPbPb.cxx.

void AliEMCALTriggerOnlineQAPbPb::ProcessFastor ( const AliEMCALTriggerFastOR fastor,
AliVCaloCells *  = 0 
)
virtual

Process a FastOR, filling relevant histograms.

Parameters
patchPointer to a valid trigger FastOR

Implements AliEMCALTriggerQA.

Definition at line 424 of file AliEMCALTriggerOnlineQAPbPb.cxx.

void AliEMCALTriggerOnlineQAPbPb::ProcessPatch ( const AliEMCALTriggerPatchInfo patch)
virtual

Process a patch, filling relevant histograms.

Parameters
patchPointer to a valid trigger patch

Implements AliEMCALTriggerQA.

Definition at line 269 of file AliEMCALTriggerOnlineQAPbPb.cxx.

void AliEMCALTriggerOnlineQAPbPb::SetBkgPatchType ( Int_t  t)
inline

Definition at line 36 of file AliEMCALTriggerOnlineQAPbPb.h.

Member Data Documentation

TArrayI AliEMCALTriggerOnlineQAPbPb::fBkgADCAmpDCal[3]
protected

! ADC DCal amplitudes (0=online, 1=offline) of background patches (will be reset each event)

Definition at line 59 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by AliEMCALTriggerOnlineQAPbPb(), ComputeBackground(), EventCompleted(), and ProcessBkgPatch().

TArrayI AliEMCALTriggerOnlineQAPbPb::fBkgADCAmpEMCal[3]
protected

! ADC EMCal amplitudes (0=online, 1=offline) of background patches (will be reset each event)

Definition at line 56 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by AliEMCALTriggerOnlineQAPbPb(), ComputeBackground(), EventCompleted(), and ProcessBkgPatch().

Double_t AliEMCALTriggerOnlineQAPbPb::fBkgDCal[3]
protected

! Background in the DCal

Definition at line 66 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by ComputeBackground(), EventCompleted(), GetDCalBkg(), and ProcessPatch().

Double_t AliEMCALTriggerOnlineQAPbPb::fBkgEMCal[3]
protected

! Background in the EMCal

Definition at line 65 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by ComputeBackground(), EventCompleted(), GetEMCalBkg(), and ProcessPatch().

Int_t AliEMCALTriggerOnlineQAPbPb::fBkgPatchType
protected

Background patch type.

Definition at line 54 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by ComputeBackground(), GetBkgPatchType(), Init(), ProcessPatch(), and SetBkgPatchType().

THashList* AliEMCALTriggerOnlineQAPbPb::fHistos
protected
Int_t AliEMCALTriggerOnlineQAPbPb::fMaxPatchDCal[6][3]
protected

! DCal max ADC amplitude (0=online, 1=offline) (will be reset each event)

Definition at line 61 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by AliEMCALTriggerOnlineQAPbPb(), EventCompleted(), ProcessBkgPatch(), and ProcessPatch().

Int_t AliEMCALTriggerOnlineQAPbPb::fMaxPatchEMCal[6][3]
protected

! EMCal max ADC amplitude (0=online, 1=offline) (will be reset each event)

Definition at line 58 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by AliEMCALTriggerOnlineQAPbPb(), EventCompleted(), ProcessBkgPatch(), and ProcessPatch().

Double_t AliEMCALTriggerOnlineQAPbPb::fMedianDCal[3]
protected

! Median of background patches in the DCal

Definition at line 64 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by ComputeBackground(), EventCompleted(), and GetDCalMedian().

Double_t AliEMCALTriggerOnlineQAPbPb::fMedianEMCal[3]
protected

! Median of background patches in the EMCal

Definition at line 63 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by ComputeBackground(), EventCompleted(), and GetEMCalMedian().

Int_t AliEMCALTriggerOnlineQAPbPb::fNBkgPatchesDCal[3]
protected

! Number of processed background patches (will be reset each event)

Definition at line 60 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by AliEMCALTriggerOnlineQAPbPb(), ComputeBackground(), EventCompleted(), and ProcessBkgPatch().

Int_t AliEMCALTriggerOnlineQAPbPb::fNBkgPatchesEMCal[3]
protected

! Number of processed background patches (will be reset each event)

Definition at line 57 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by AliEMCALTriggerOnlineQAPbPb(), ComputeBackground(), EventCompleted(), and ProcessBkgPatch().

Int_t AliEMCALTriggerOnlineQAPbPb::fPatchAreas[6]
protected

! Patch sizes retrieved directly during the patch processing

Definition at line 62 of file AliEMCALTriggerOnlineQAPbPb.h.

Referenced by AliEMCALTriggerOnlineQAPbPb(), ComputeBackground(), EventCompleted(), ProcessBkgPatch(), and ProcessPatch().


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