![]() |
AliPhysics
4c9ecbb (4c9ecbb)
|
Class to generate EMCal trigger QA plots in pp collisions. More...
#include <AliEMCALTriggerOfflineQAPP.h>
Public Member Functions | |
AliEMCALTriggerOfflineQAPP () | |
Dummy constructor for ROOT I/O. More... | |
AliEMCALTriggerOfflineQAPP (const char *name) | |
AliEMCALTriggerOfflineQAPP (const AliEMCALTriggerOfflineQAPP &triggerQA) | |
virtual | ~AliEMCALTriggerOfflineQAPP () |
Destructor. More... | |
void | SetL0TimeRange (Int_t min, Int_t max) |
void | SetFastORandCellThresholds (Int_t l0, Int_t l1, Double_t cell) |
void | EnableDCal (Bool_t e=kTRUE) |
void | AddFastORBadChannel (Short_t absId) |
void | ReadFastORBadChannelFromStream (std::istream &stream) |
void | ReadFastORBadChannelFromFile (const char *fname) |
void | AddOfflineBadChannel (Short_t absId) |
void | ReadOfflineBadChannelFromFile (const char *fname) |
void | ReadOfflineBadChannelFromStream (std::istream &stream) |
void | Init () |
Initialize the class, i.e. allocate histograms. More... | |
void | ProcessPatch (const AliEMCALTriggerPatchInfo *patch) |
void | ProcessFastor (const AliEMCALTriggerFastOR *fastor, AliVCaloCells *cells=0) |
void | ProcessCell (const AliEMCALCellInfo &cell) |
void | EventCompleted () |
TCollection * | GetListOfHistograms () |
void | EventTimeStamp (UInt_t timeStamp) |
Protected Attributes | |
std::set< Short_t > | fOfflineBadChannels |
Abs ID of offline bad channels. More... | |
std::set< Short_t > | fBadChannels |
Container of bad channels. More... | |
Bool_t | fDCalPlots |
Whether to add DCal QA plots. More... | |
Int_t | fL0MinTime |
Minimum L0 time. More... | |
Int_t | fL0MaxTime |
Maximum L0 time. More... | |
Double_t | fMinCellAmp |
Minimum offline amplitude of the cells. More... | |
UInt_t | fMinL0FastORAmp |
Minimum L0 amplitude of the FastORs. More... | |
UInt_t | fMinL1FastORAmp |
Minimum L1 amplitude of the FastORs. More... | |
THistManager | fHistManager |
Histogram manager. More... | |
const AliEMCALTriggerPatchInfo * | fMaxPatchEMCal [fgkNTriggerTypes][fgkNPatchTypes] |
! EMCal max patch (will be reset each event) More... | |
const AliEMCALTriggerPatchInfo * | fMaxPatchDCal [fgkNTriggerTypes][fgkNPatchTypes] |
! DCal max patch (will be reset each event) More... | |
Double_t | fSumOfflineEMCal |
! EMCal sum of all offline energy deposition (will be reset each event) More... | |
Int_t | fSumL0EMCal |
! EMCal sum of all online energy deposition (will be reset each event) More... | |
Int_t | fSumL1EMCal |
! EMCal sum of all online energy deposition (will be reset each event) More... | |
Double_t | fSumOfflineDCal |
! DCal sum of all offline energy deposition (will be reset each event) More... | |
Int_t | fSumL0DCal |
! DCal sum of all online energy deposition (will be reset each event) More... | |
Int_t | fSumL1DCal |
! DCal sum of all online energy deposition (will be reset each event) More... | |
Int_t | fNCellEMCal |
! EMCal number of offline cells (will be reset each event) More... | |
Int_t | fNL0EMCal |
! EMCal number of L0 FastORs (will be reset each event) More... | |
Int_t | fNL1EMCal |
! EMCal number of L1 FastORs (will be reset each event) More... | |
Int_t | fNCellDCal |
! DCal number of offline cells (will be reset each event) More... | |
Int_t | fNL0DCal |
! DCal number of L0 FastORs (will be reset each event) More... | |
Int_t | fNL1DCal |
! DCal number of L1 FastORs (will be reset each event) More... | |
Int_t | fNTotTRU |
! Total number of TRUs More... | |
Int_t | fMaxFORabsId |
! Maximum FastOR abs id More... | |
Private Member Functions | |
AliEMCALTriggerOfflineQAPP & | operator= (const AliEMCALTriggerOfflineQAPP &) |
Class to generate EMCal trigger QA plots in pp collisions.
This class generates QA plots for EMCal trigger in pp collisions. This light version is suitable for the general QA train.
This class generates QA plots for EMCal trigger in pp collisions
Definition at line 48 of file AliEMCALTriggerOfflineQAPP.h.
AliEMCALTriggerOfflineQAPP::AliEMCALTriggerOfflineQAPP | ( | ) |
Dummy constructor for ROOT I/O.
Definition at line 41 of file AliEMCALTriggerOfflineQAPP.cxx.
AliEMCALTriggerOfflineQAPP::AliEMCALTriggerOfflineQAPP | ( | const char * | name | ) |
Default constructor
name | Name of the object |
Definition at line 92 of file AliEMCALTriggerOfflineQAPP.cxx.
AliEMCALTriggerOfflineQAPP::AliEMCALTriggerOfflineQAPP | ( | const AliEMCALTriggerOfflineQAPP & | triggerQA | ) |
Copy constructor
triggerQA | Reference to an object to copy from |
Definition at line 143 of file AliEMCALTriggerOfflineQAPP.cxx.
|
virtual |
Destructor.
Definition at line 178 of file AliEMCALTriggerOfflineQAPP.cxx.
|
inline |
Definition at line 61 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by ReadFastORBadChannelFromStream().
|
inline |
Definition at line 64 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by ReadOfflineBadChannelFromStream().
|
inline |
Definition at line 58 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by AliEmcalTriggerQATask::UserCreateOutputObjects().
void AliEMCALTriggerOfflineQAPP::EventCompleted | ( | ) |
This method should be called at the end of each event.
Definition at line 656 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddOfflineBadChannel().
void AliEMCALTriggerOfflineQAPP::EventTimeStamp | ( | UInt_t | timeStamp | ) |
This function should be called every event to set the new time stamp. It sets the time stamp in the internal field, computes the time stamp bin based on fTimeStampBinWidth and creates the "by-time-stamp" histograms.
timeStamp | Time stamp of the event |
Definition at line 774 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by GetListOfHistograms().
|
inline |
Definition at line 74 of file AliEMCALTriggerOfflineQAPP.h.
void AliEMCALTriggerOfflineQAPP::Init | ( | ) |
Initialize the class, i.e. allocate histograms.
Definition at line 227 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddOfflineBadChannel().
|
private |
void AliEMCALTriggerOfflineQAPP::ProcessCell | ( | const AliEMCALCellInfo & | cell | ) |
Process a cell, filling relevant histograms.
cell | Const reference to a AliEmcalCellInfo object |
Definition at line 500 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddOfflineBadChannel().
void AliEMCALTriggerOfflineQAPP::ProcessFastor | ( | const AliEMCALTriggerFastOR * | fastor, |
AliVCaloCells * | cells = 0 |
||
) |
Process a FastOR, filling relevant histograms.
patch | Pointer to a valid trigger FastOR |
Definition at line 526 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddOfflineBadChannel().
void AliEMCALTriggerOfflineQAPP::ProcessPatch | ( | const AliEMCALTriggerPatchInfo * | patch | ) |
Process a patch, filling relevant histograms.
patch | Pointer to a valid trigger patch |
Definition at line 416 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddOfflineBadChannel().
void AliEMCALTriggerOfflineQAPP::ReadFastORBadChannelFromFile | ( | const char * | fname | ) |
Read the FastOR bad channel map from a text file
fname | Path and name of the file |
Definition at line 220 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddFastORBadChannel().
void AliEMCALTriggerOfflineQAPP::ReadFastORBadChannelFromStream | ( | std::istream & | stream | ) |
Read the FastOR 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 207 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddFastORBadChannel(), and ReadFastORBadChannelFromFile().
void AliEMCALTriggerOfflineQAPP::ReadOfflineBadChannelFromFile | ( | const char * | fname | ) |
Read the offline bad channel map from a text file
fname | Path and name of the file |
Definition at line 198 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddOfflineBadChannel().
void AliEMCALTriggerOfflineQAPP::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 185 of file AliEMCALTriggerOfflineQAPP.cxx.
Referenced by AddOfflineBadChannel(), and ReadOfflineBadChannelFromFile().
|
inline |
Definition at line 57 of file AliEMCALTriggerOfflineQAPP.h.
Definition at line 56 of file AliEMCALTriggerOfflineQAPP.h.
|
protected |
Container of bad channels.
Definition at line 81 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by AddFastORBadChannel(), and ProcessFastor().
|
protected |
Whether to add DCal QA plots.
Definition at line 83 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EnableDCal(), EventCompleted(), Init(), ProcessCell(), ProcessFastor(), and ProcessPatch().
|
protected |
Histogram manager.
Definition at line 89 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), EventTimeStamp(), GetListOfHistograms(), Init(), ProcessFastor(), and ProcessPatch().
|
protected |
Maximum L0 time.
Definition at line 85 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by ProcessFastor(), and SetL0TimeRange().
|
protected |
Minimum L0 time.
Definition at line 84 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by ProcessFastor(), and SetL0TimeRange().
|
protected |
! Maximum FastOR abs id
Definition at line 106 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventTimeStamp(), and Init().
|
protected |
! DCal max patch (will be reset each event)
Definition at line 92 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by AliEMCALTriggerOfflineQAPP(), EventCompleted(), and ProcessPatch().
|
protected |
! EMCal max patch (will be reset each event)
Definition at line 91 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by AliEMCALTriggerOfflineQAPP(), EventCompleted(), and ProcessPatch().
|
protected |
Minimum offline amplitude of the cells.
Definition at line 86 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by ProcessCell(), and SetFastORandCellThresholds().
|
protected |
Minimum L0 amplitude of the FastORs.
Definition at line 87 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by ProcessFastor(), and SetFastORandCellThresholds().
|
protected |
Minimum L1 amplitude of the FastORs.
Definition at line 88 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by ProcessFastor(), and SetFastORandCellThresholds().
|
protected |
! DCal number of offline cells (will be reset each event)
Definition at line 102 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessCell().
|
protected |
! EMCal number of offline cells (will be reset each event)
Definition at line 99 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessCell().
|
protected |
! DCal number of L0 FastORs (will be reset each event)
Definition at line 103 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! EMCal number of L0 FastORs (will be reset each event)
Definition at line 100 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! DCal number of L1 FastORs (will be reset each event)
Definition at line 104 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! EMCal number of L1 FastORs (will be reset each event)
Definition at line 101 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! Total number of TRUs
Definition at line 105 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by Init(), and ProcessFastor().
|
protected |
Abs ID of offline bad channels.
Definition at line 80 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by AddOfflineBadChannel(), and ProcessCell().
|
protected |
! DCal sum of all online energy deposition (will be reset each event)
Definition at line 97 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! EMCal sum of all online energy deposition (will be reset each event)
Definition at line 94 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! DCal sum of all online energy deposition (will be reset each event)
Definition at line 98 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! EMCal sum of all online energy deposition (will be reset each event)
Definition at line 95 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessFastor().
|
protected |
! DCal sum of all offline energy deposition (will be reset each event)
Definition at line 96 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessCell().
|
protected |
! EMCal sum of all offline energy deposition (will be reset each event)
Definition at line 93 of file AliEMCALTriggerOfflineQAPP.h.
Referenced by EventCompleted(), and ProcessCell().