AliPhysics  4c9ecbb (4c9ecbb)
AliEMCALTriggerOfflineQAPP Class Reference

Class to generate EMCal trigger QA plots in pp collisions. More...

#include <AliEMCALTriggerOfflineQAPP.h>

Inheritance diagram for AliEMCALTriggerOfflineQAPP:

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 ()
 
TCollectionGetListOfHistograms ()
 
void EventTimeStamp (UInt_t timeStamp)
 

Protected Attributes

std::set< Short_tfOfflineBadChannels
 Abs ID of offline bad channels. More...
 
std::set< Short_tfBadChannels
 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

AliEMCALTriggerOfflineQAPPoperator= (const AliEMCALTriggerOfflineQAPP &)
 

Detailed Description

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.

Author
Salvatore Aiola salva.nosp@m.tore.nosp@m..aiol.nosp@m.a@ce.nosp@m.rn.ch, Yale University
Date
May 25th, 2017

This class generates QA plots for EMCal trigger in pp collisions

Author
Salvatore Aiola salva.nosp@m.tore.nosp@m..aiol.nosp@m.a@ce.nosp@m.rn.ch, Yale University
Date
Apr. 4, 2016

Definition at line 48 of file AliEMCALTriggerOfflineQAPP.h.

Constructor & Destructor Documentation

AliEMCALTriggerOfflineQAPP::AliEMCALTriggerOfflineQAPP ( )

Dummy constructor for ROOT I/O.

Definition at line 41 of file AliEMCALTriggerOfflineQAPP.cxx.

AliEMCALTriggerOfflineQAPP::AliEMCALTriggerOfflineQAPP ( const char *  name)

Default constructor

Parameters
nameName of the object

Definition at line 92 of file AliEMCALTriggerOfflineQAPP.cxx.

AliEMCALTriggerOfflineQAPP::AliEMCALTriggerOfflineQAPP ( const AliEMCALTriggerOfflineQAPP triggerQA)

Copy constructor

Parameters
triggerQAReference to an object to copy from

Definition at line 143 of file AliEMCALTriggerOfflineQAPP.cxx.

AliEMCALTriggerOfflineQAPP::~AliEMCALTriggerOfflineQAPP ( )
virtual

Destructor.

Definition at line 178 of file AliEMCALTriggerOfflineQAPP.cxx.

Member Function Documentation

void AliEMCALTriggerOfflineQAPP::AddFastORBadChannel ( Short_t  absId)
inline

Definition at line 61 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by ReadFastORBadChannelFromStream().

void AliEMCALTriggerOfflineQAPP::AddOfflineBadChannel ( Short_t  absId)
inline

Definition at line 64 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by ReadOfflineBadChannelFromStream().

void AliEMCALTriggerOfflineQAPP::EnableDCal ( Bool_t  e = kTRUE)
inline
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.

Parameters
timeStampTime stamp of the event

Definition at line 774 of file AliEMCALTriggerOfflineQAPP.cxx.

Referenced by GetListOfHistograms().

TCollection* AliEMCALTriggerOfflineQAPP::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().

AliEMCALTriggerOfflineQAPP& AliEMCALTriggerOfflineQAPP::operator= ( const AliEMCALTriggerOfflineQAPP )
private
void AliEMCALTriggerOfflineQAPP::ProcessCell ( const AliEMCALCellInfo &  cell)

Process a cell, filling relevant histograms.

Parameters
cellConst 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.

Parameters
patchPointer 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.

Parameters
patchPointer 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

Parameters
fnamePath 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

Parameters
streamA 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

Parameters
fnamePath 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

Parameters
streamA 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().

void AliEMCALTriggerOfflineQAPP::SetFastORandCellThresholds ( Int_t  l0,
Int_t  l1,
Double_t  cell 
)
inline

Definition at line 57 of file AliEMCALTriggerOfflineQAPP.h.

void AliEMCALTriggerOfflineQAPP::SetL0TimeRange ( Int_t  min,
Int_t  max 
)
inline

Definition at line 56 of file AliEMCALTriggerOfflineQAPP.h.

Member Data Documentation

std::set<Short_t> AliEMCALTriggerOfflineQAPP::fBadChannels
protected

Container of bad channels.

Definition at line 81 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by AddFastORBadChannel(), and ProcessFastor().

Bool_t AliEMCALTriggerOfflineQAPP::fDCalPlots
protected

Whether to add DCal QA plots.

Definition at line 83 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EnableDCal(), EventCompleted(), Init(), ProcessCell(), ProcessFastor(), and ProcessPatch().

THistManager AliEMCALTriggerOfflineQAPP::fHistManager
protected

Histogram manager.

Definition at line 89 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventCompleted(), EventTimeStamp(), GetListOfHistograms(), Init(), ProcessFastor(), and ProcessPatch().

Int_t AliEMCALTriggerOfflineQAPP::fL0MaxTime
protected

Maximum L0 time.

Definition at line 85 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by ProcessFastor(), and SetL0TimeRange().

Int_t AliEMCALTriggerOfflineQAPP::fL0MinTime
protected

Minimum L0 time.

Definition at line 84 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by ProcessFastor(), and SetL0TimeRange().

Int_t AliEMCALTriggerOfflineQAPP::fMaxFORabsId
protected

! Maximum FastOR abs id

Definition at line 106 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventTimeStamp(), and Init().

const AliEMCALTriggerPatchInfo* AliEMCALTriggerOfflineQAPP::fMaxPatchDCal[fgkNTriggerTypes][fgkNPatchTypes]
protected

! DCal max patch (will be reset each event)

Definition at line 92 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by AliEMCALTriggerOfflineQAPP(), EventCompleted(), and ProcessPatch().

const AliEMCALTriggerPatchInfo* AliEMCALTriggerOfflineQAPP::fMaxPatchEMCal[fgkNTriggerTypes][fgkNPatchTypes]
protected

! EMCal max patch (will be reset each event)

Definition at line 91 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by AliEMCALTriggerOfflineQAPP(), EventCompleted(), and ProcessPatch().

Double_t AliEMCALTriggerOfflineQAPP::fMinCellAmp
protected

Minimum offline amplitude of the cells.

Definition at line 86 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by ProcessCell(), and SetFastORandCellThresholds().

UInt_t AliEMCALTriggerOfflineQAPP::fMinL0FastORAmp
protected

Minimum L0 amplitude of the FastORs.

Definition at line 87 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by ProcessFastor(), and SetFastORandCellThresholds().

UInt_t AliEMCALTriggerOfflineQAPP::fMinL1FastORAmp
protected

Minimum L1 amplitude of the FastORs.

Definition at line 88 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by ProcessFastor(), and SetFastORandCellThresholds().

Int_t AliEMCALTriggerOfflineQAPP::fNCellDCal
protected

! DCal number of offline cells (will be reset each event)

Definition at line 102 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventCompleted(), and ProcessCell().

Int_t AliEMCALTriggerOfflineQAPP::fNCellEMCal
protected

! EMCal number of offline cells (will be reset each event)

Definition at line 99 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventCompleted(), and ProcessCell().

Int_t AliEMCALTriggerOfflineQAPP::fNL0DCal
protected

! DCal number of L0 FastORs (will be reset each event)

Definition at line 103 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventCompleted(), and ProcessFastor().

Int_t AliEMCALTriggerOfflineQAPP::fNL0EMCal
protected

! EMCal number of L0 FastORs (will be reset each event)

Definition at line 100 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventCompleted(), and ProcessFastor().

Int_t AliEMCALTriggerOfflineQAPP::fNL1DCal
protected

! DCal number of L1 FastORs (will be reset each event)

Definition at line 104 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventCompleted(), and ProcessFastor().

Int_t AliEMCALTriggerOfflineQAPP::fNL1EMCal
protected

! EMCal number of L1 FastORs (will be reset each event)

Definition at line 101 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by EventCompleted(), and ProcessFastor().

Int_t AliEMCALTriggerOfflineQAPP::fNTotTRU
protected

! Total number of TRUs

Definition at line 105 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by Init(), and ProcessFastor().

std::set<Short_t> AliEMCALTriggerOfflineQAPP::fOfflineBadChannels
protected

Abs ID of offline bad channels.

Definition at line 80 of file AliEMCALTriggerOfflineQAPP.h.

Referenced by AddOfflineBadChannel(), and ProcessCell().

Int_t AliEMCALTriggerOfflineQAPP::fSumL0DCal
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().

Int_t AliEMCALTriggerOfflineQAPP::fSumL0EMCal
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().

Int_t AliEMCALTriggerOfflineQAPP::fSumL1DCal
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().

Int_t AliEMCALTriggerOfflineQAPP::fSumL1EMCal
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().

Double_t AliEMCALTriggerOfflineQAPP::fSumOfflineDCal
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().

Double_t AliEMCALTriggerOfflineQAPP::fSumOfflineEMCal
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().


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