![]() |
AliPhysics
ec707b8 (ec707b8)
|
Class to generate EMCal trigger QA plots in pp collisions. More...
#include <AliEmcalTriggerQAPP.h>
Classes | |
struct | AliEmcalCellInfo |
Public Types | |
enum | PatchTypes_t { kOnlinePatch, kRecalcPatch, kOfflinePatch } |
typedef EMCALTrigger::EMCalTriggerType_t | EMCalTriggerType_t |
Public Member Functions | |
AliEmcalTriggerQAPP () | |
Dummy constructor for ROOT I/O. More... | |
AliEmcalTriggerQAPP (const char *name) | |
AliEmcalTriggerQAPP (const AliEmcalTriggerQAPP &triggerQA) | |
virtual | ~AliEmcalTriggerQAPP () |
Destructor. More... | |
void | SetDebugLevel (Int_t l) |
void | SetADCperBin (Int_t i) |
void | SetL0TimeRange (Int_t min, Int_t max) |
void | AddOfflineBadChannel (Short_t absId) |
void | ReadOfflineBadChannelFromFile (const char *fname) |
void | ReadOfflineBadChannelFromStream (std::istream &stream) |
Int_t | GetDebugLevel () const |
void | EnablePatchType (PatchTypes_t type, Bool_t e=kTRUE) |
void | EnableTriggerType (EMCalTriggerType_t type, Bool_t e=kTRUE) |
void | Init () |
Initialize the class, i.e. allocate histograms. More... | |
void | ProcessPatch (AliEMCALTriggerPatchInfo *patch) |
void | ProcessFastor (AliEMCALTriggerFastOR *fastor) |
void | ProcessCell (const AliEmcalCellInfo &cell) |
void | EventCompleted () |
void | ComputeBackground () |
THashList * | GetListOfHistograms () |
Static Public Attributes | |
static const Int_t | fgkMaxPatchAmp [6] = {3000, 3000, 3000, 6000, 6000, 5000} |
Maximum patch amplitude for the histograms. More... | |
static const TString | fgkPatchTypes [3] = {"Online", "Recalc", "Offline"} |
Patch type names. More... | |
Protected Attributes | |
std::set< Short_t > | fOfflineBadChannels |
Abd ID of offline bad channels. More... | |
Bool_t | fEnabledPatchTypes [3] |
Patch types to be plotted. More... | |
Bool_t | fEnabledTriggerTypes [6] |
Trigger 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... | |
Int_t | fL0MinTime |
Minimum L0 time. More... | |
Int_t | fL0MaxTime |
Maximum L0 time. More... | |
THistManager | fHistManager |
Histogram manager. More... | |
Int_t | fMaxPatchEMCal [6][3] |
! EMCal max ADC amplitude (will be reset each event) More... | |
Int_t | fMaxPatchDCal [6][3] |
! DCal max ADC amplitude (will be reset each event) More... | |
Private Member Functions | |
AliEmcalTriggerQAPP & | operator= (const AliEmcalTriggerQAPP &) |
Class to generate EMCal trigger QA plots in pp collisions.
This class generates QA plots for EMCal trigger in pp collisions
Definition at line 37 of file AliEmcalTriggerQAPP.h.
typedef EMCALTrigger::EMCalTriggerType_t AliEmcalTriggerQAPP::EMCalTriggerType_t |
Definition at line 40 of file AliEmcalTriggerQAPP.h.
Enumerator | |
---|---|
kOnlinePatch | |
kRecalcPatch | |
kOfflinePatch |
Definition at line 42 of file AliEmcalTriggerQAPP.h.
AliEmcalTriggerQAPP::AliEmcalTriggerQAPP | ( | ) |
Dummy constructor for ROOT I/O.
Definition at line 45 of file AliEmcalTriggerQAPP.cxx.
AliEmcalTriggerQAPP::AliEmcalTriggerQAPP | ( | const char * | name | ) |
Default constructor
name | Name of the object |
Definition at line 75 of file AliEmcalTriggerQAPP.cxx.
AliEmcalTriggerQAPP::AliEmcalTriggerQAPP | ( | const AliEmcalTriggerQAPP & | triggerQA | ) |
Copy constructor
triggerQA | Reference to an object to copy from |
Definition at line 105 of file AliEmcalTriggerQAPP.cxx.
|
virtual |
Destructor.
Definition at line 126 of file AliEmcalTriggerQAPP.cxx.
|
inline |
Definition at line 64 of file AliEmcalTriggerQAPP.h.
Referenced by ReadOfflineBadChannelFromStream().
void AliEmcalTriggerQAPP::ComputeBackground | ( | ) |
void AliEmcalTriggerQAPP::EnablePatchType | ( | PatchTypes_t | type, |
Bool_t | e = kTRUE |
||
) |
Set the patch types to be plotted
type | Patch type of which the status is being changed |
e | Either enable or disable |
Definition at line 157 of file AliEmcalTriggerQAPP.cxx.
void AliEmcalTriggerQAPP::EnableTriggerType | ( | EMCalTriggerType_t | type, |
Bool_t | e = kTRUE |
||
) |
void AliEmcalTriggerQAPP::EventCompleted | ( | ) |
This method should be called at the end of each event.
Definition at line 416 of file AliEmcalTriggerQAPP.cxx.
Referenced by AliEmcalTriggerQATaskPP::FillHistograms().
|
inline |
Definition at line 68 of file AliEmcalTriggerQAPP.h.
|
inline |
Definition at line 82 of file AliEmcalTriggerQAPP.h.
void AliEmcalTriggerQAPP::Init | ( | ) |
Initialize the class, i.e. allocate histograms.
Definition at line 163 of file AliEmcalTriggerQAPP.cxx.
Referenced by AliEmcalTriggerQATaskPP::UserCreateOutputObjects().
|
private |
void AliEmcalTriggerQAPP::ProcessCell | ( | const AliEmcalCellInfo & | cell | ) |
Process a cell, filling relevant histograms.
cell | Const reference to a AliEmcalCellInfo object |
Definition at line 338 of file AliEmcalTriggerQAPP.cxx.
Referenced by AliEmcalTriggerQATaskPP::FillHistograms().
void AliEmcalTriggerQAPP::ProcessFastor | ( | AliEMCALTriggerFastOR * | fastor | ) |
Process a FastOR, filling relevant histograms.
patch | Pointer to a valid trigger FastOR |
Definition at line 362 of file AliEmcalTriggerQAPP.cxx.
Referenced by AliEmcalTriggerQATaskPP::FillHistograms().
void AliEmcalTriggerQAPP::ProcessPatch | ( | AliEMCALTriggerPatchInfo * | patch | ) |
Process a patch, filling relevant histograms.
patch | Pointer to a valid trigger patch |
Definition at line 270 of file AliEmcalTriggerQAPP.cxx.
Referenced by AliEmcalTriggerQATaskPP::FillHistograms().
void AliEmcalTriggerQAPP::ReadOfflineBadChannelFromFile | ( | const char * | fname | ) |
Read the offline bad channel map from a text file
fname | Path and name of the file |
Definition at line 147 of file AliEmcalTriggerQAPP.cxx.
void AliEmcalTriggerQAPP::ReadOfflineBadChannelFromStream | ( | std::istream & | stream | ) |
Read the offline bad channel map from a standard stream
stream | A reference to a standard stream to read from (can be a file stream) |
Definition at line 133 of file AliEmcalTriggerQAPP.cxx.
Referenced by ReadOfflineBadChannelFromFile().
|
inline |
Definition at line 62 of file AliEmcalTriggerQAPP.h.
Referenced by AliEmcalTriggerQATaskPP::SetADCperBin().
|
inline |
Definition at line 61 of file AliEmcalTriggerQAPP.h.
Referenced by AliEmcalTriggerQATaskPP::UserCreateOutputObjects().
|
inline |
Definition at line 63 of file AliEmcalTriggerQAPP.h.
|
protected |
ADC counts per bin.
Definition at line 94 of file AliEmcalTriggerQAPP.h.
Referenced by Init(), and SetADCperBin().
|
protected |
Debug level.
Definition at line 95 of file AliEmcalTriggerQAPP.h.
Referenced by GetDebugLevel(), ProcessPatch(), and SetDebugLevel().
|
protected |
Patch types to be plotted.
Definition at line 90 of file AliEmcalTriggerQAPP.h.
Referenced by AliEmcalTriggerQAPP(), EnablePatchType(), EventCompleted(), Init(), and ProcessPatch().
|
protected |
Trigger types to be plotted.
Definition at line 91 of file AliEmcalTriggerQAPP.h.
Referenced by AliEmcalTriggerQAPP(), EventCompleted(), Init(), and ProcessPatch().
|
protected |
FastOR L0 threshold.
Definition at line 92 of file AliEmcalTriggerQAPP.h.
Referenced by Init(), and ProcessFastor().
|
protected |
FastOR L1 threshold.
Definition at line 93 of file AliEmcalTriggerQAPP.h.
Referenced by Init(), ProcessCell(), and ProcessFastor().
|
static |
Maximum patch amplitude for the histograms.
Definition at line 84 of file AliEmcalTriggerQAPP.h.
Referenced by Init().
|
static |
Patch type names.
Definition at line 85 of file AliEmcalTriggerQAPP.h.
Referenced by EventCompleted(), Init(), and ProcessPatch().
|
protected |
Histogram manager.
Definition at line 99 of file AliEmcalTriggerQAPP.h.
Referenced by EventCompleted(), GetListOfHistograms(), Init(), ProcessCell(), ProcessFastor(), and ProcessPatch().
|
protected |
Maximum L0 time.
Definition at line 97 of file AliEmcalTriggerQAPP.h.
Referenced by Init(), ProcessFastor(), and SetL0TimeRange().
|
protected |
Minimum L0 time.
Definition at line 96 of file AliEmcalTriggerQAPP.h.
Referenced by Init(), ProcessFastor(), and SetL0TimeRange().
|
protected |
! DCal max ADC amplitude (will be reset each event)
Definition at line 101 of file AliEmcalTriggerQAPP.h.
Referenced by AliEmcalTriggerQAPP(), EventCompleted(), and ProcessPatch().
|
protected |
! EMCal max ADC amplitude (will be reset each event)
Definition at line 100 of file AliEmcalTriggerQAPP.h.
Referenced by AliEmcalTriggerQAPP(), EventCompleted(), and ProcessPatch().
|
protected |
Abd ID of offline bad channels.
Definition at line 89 of file AliEmcalTriggerQAPP.h.
Referenced by AddOfflineBadChannel(), and ProcessCell().