AliPhysics  9b6b435 (9b6b435)
AliEMCALTriggerOfflineLightQAPP Class Reference

#include <AliEMCALTriggerOfflineLightQAPP.h>

Inheritance diagram for AliEMCALTriggerOfflineLightQAPP:

Public Member Functions

 AliEMCALTriggerOfflineLightQAPP ()
 Dummy constructor for ROOT I/O. More...
 
 AliEMCALTriggerOfflineLightQAPP (const char *name)
 
 AliEMCALTriggerOfflineLightQAPP (const AliEMCALTriggerOfflineLightQAPP &triggerQA)
 
virtual ~AliEMCALTriggerOfflineLightQAPP ()
 Destructor. More...
 
void SetL0TimeRange (Int_t min, Int_t max)
 
void SetFastORThresholds (Int_t l0, Int_t l1)
 
void SetEnableEnergyCorrelationSM (Bool_t doEnable)
 
void AddFastORBadChannel (Short_t absId)
 
void ReadFastORBadChannelFromStream (std::istream &stream)
 
void ReadFastORBadChannelFromFile (const char *fname)
 
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_tfBadChannels
 Container of bad channels. More...
 
Int_t fL0MinTime
 Minimum L0 time. More...
 
Int_t fL0MaxTime
 Maximum L0 time. More...
 
UInt_t fMinL0FastORAmp
 Minimum L0 amplitude of the FastORs. More...
 
UInt_t fMinL1FastORAmp
 Minimum L1 amplitude of the FastORs. More...
 
Bool_t fEnableEnergyCorrelationSM
 Enable energy correlation per supermodule. 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...
 
Int_t fNTotTRU
 ! Total number of TRUs More...
 
Int_t fMaxFORabsId
 ! Maximum FastOR abs id More...
 

Private Member Functions

AliEMCALTriggerOfflineLightQAPPoperator= (const AliEMCALTriggerOfflineLightQAPP &)
 

Detailed Description

Definition at line 49 of file AliEMCALTriggerOfflineLightQAPP.h.

Constructor & Destructor Documentation

AliEMCALTriggerOfflineLightQAPP::AliEMCALTriggerOfflineLightQAPP ( )

Dummy constructor for ROOT I/O.

Definition at line 42 of file AliEMCALTriggerOfflineLightQAPP.cxx.

AliEMCALTriggerOfflineLightQAPP::AliEMCALTriggerOfflineLightQAPP ( const char *  name)

Default constructor

Parameters
nameName of the object

Definition at line 65 of file AliEMCALTriggerOfflineLightQAPP.cxx.

AliEMCALTriggerOfflineLightQAPP::AliEMCALTriggerOfflineLightQAPP ( const AliEMCALTriggerOfflineLightQAPP triggerQA)

Copy constructor

Parameters
triggerQAReference to an object to copy from

Definition at line 88 of file AliEMCALTriggerOfflineLightQAPP.cxx.

AliEMCALTriggerOfflineLightQAPP::~AliEMCALTriggerOfflineLightQAPP ( )
virtual

Destructor.

Definition at line 109 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Member Function Documentation

void AliEMCALTriggerOfflineLightQAPP::AddFastORBadChannel ( Short_t  absId)
inline

Definition at line 62 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ReadFastORBadChannelFromStream().

void AliEMCALTriggerOfflineLightQAPP::EventCompleted ( )

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

Definition at line 448 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by ProcessCell().

void AliEMCALTriggerOfflineLightQAPP::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 494 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by GetListOfHistograms().

TCollection* AliEMCALTriggerOfflineLightQAPP::GetListOfHistograms ( )
inline

Definition at line 72 of file AliEMCALTriggerOfflineLightQAPP.h.

void AliEMCALTriggerOfflineLightQAPP::Init ( )

Initialize the class, i.e. allocate histograms.

Definition at line 136 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by AddFastORBadChannel().

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

Definition at line 70 of file AliEMCALTriggerOfflineLightQAPP.h.

void AliEMCALTriggerOfflineLightQAPP::ProcessFastor ( const AliEMCALTriggerFastOR *  fastor,
AliVCaloCells *  cells = 0 
)

Process a FastOR, filling relevant histograms.

Parameters
patchPointer to a valid trigger FastOR

Definition at line 334 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by AddFastORBadChannel().

void AliEMCALTriggerOfflineLightQAPP::ProcessPatch ( const AliEMCALTriggerPatchInfo *  patch)

Process a patch, filling relevant histograms.

Parameters
patchPointer to a valid trigger patch

Definition at line 257 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by AddFastORBadChannel().

void AliEMCALTriggerOfflineLightQAPP::ReadFastORBadChannelFromFile ( const char *  fname)

Read the FastOR bad channel map from a text file

Parameters
fnamePath and name of the file

Definition at line 129 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by AddFastORBadChannel().

void AliEMCALTriggerOfflineLightQAPP::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 116 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by AddFastORBadChannel(), and ReadFastORBadChannelFromFile().

void AliEMCALTriggerOfflineLightQAPP::SetEnableEnergyCorrelationSM ( Bool_t  doEnable)
inline

Definition at line 59 of file AliEMCALTriggerOfflineLightQAPP.h.

void AliEMCALTriggerOfflineLightQAPP::SetFastORThresholds ( Int_t  l0,
Int_t  l1 
)
inline

Definition at line 58 of file AliEMCALTriggerOfflineLightQAPP.h.

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

Definition at line 57 of file AliEMCALTriggerOfflineLightQAPP.h.

Member Data Documentation

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

Container of bad channels.

Definition at line 77 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by AddFastORBadChannel(), and ProcessFastor().

Bool_t AliEMCALTriggerOfflineLightQAPP::fEnableEnergyCorrelationSM
protected

Enable energy correlation per supermodule.

Definition at line 83 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by Init(), ProcessFastor(), and SetEnableEnergyCorrelationSM().

THistManager AliEMCALTriggerOfflineLightQAPP::fHistManager
protected
Int_t AliEMCALTriggerOfflineLightQAPP::fL0MaxTime
protected

Maximum L0 time.

Definition at line 80 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetL0TimeRange().

Int_t AliEMCALTriggerOfflineLightQAPP::fL0MinTime
protected

Minimum L0 time.

Definition at line 79 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetL0TimeRange().

Int_t AliEMCALTriggerOfflineLightQAPP::fMaxFORabsId
protected

! Maximum FastOR abs id

Definition at line 89 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by EventTimeStamp(), and Init().

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

! DCal max patch (will be reset each event)

Definition at line 87 of file AliEMCALTriggerOfflineLightQAPP.h.

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

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

! EMCal max patch (will be reset each event)

Definition at line 86 of file AliEMCALTriggerOfflineLightQAPP.h.

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

UInt_t AliEMCALTriggerOfflineLightQAPP::fMinL0FastORAmp
protected

Minimum L0 amplitude of the FastORs.

Definition at line 81 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetFastORThresholds().

UInt_t AliEMCALTriggerOfflineLightQAPP::fMinL1FastORAmp
protected

Minimum L1 amplitude of the FastORs.

Definition at line 82 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetFastORThresholds().

Int_t AliEMCALTriggerOfflineLightQAPP::fNTotTRU
protected

! Total number of TRUs

Definition at line 88 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by Init(), and ProcessFastor().


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