AliPhysics  d497afb (d497afb)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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...
 
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 41 of file AliEMCALTriggerOfflineLightQAPP.cxx.

AliEMCALTriggerOfflineLightQAPP::AliEMCALTriggerOfflineLightQAPP ( const char *  name)

Default constructor

Parameters
nameName of the object

Definition at line 63 of file AliEMCALTriggerOfflineLightQAPP.cxx.

AliEMCALTriggerOfflineLightQAPP::AliEMCALTriggerOfflineLightQAPP ( const AliEMCALTriggerOfflineLightQAPP triggerQA)

Copy constructor

Parameters
triggerQAReference to an object to copy from

Definition at line 85 of file AliEMCALTriggerOfflineLightQAPP.cxx.

AliEMCALTriggerOfflineLightQAPP::~AliEMCALTriggerOfflineLightQAPP ( )
virtual

Destructor.

Definition at line 105 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Member Function Documentation

void AliEMCALTriggerOfflineLightQAPP::AddFastORBadChannel ( Short_t  absId)
inline

Definition at line 61 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ReadFastORBadChannelFromStream().

void AliEMCALTriggerOfflineLightQAPP::EventCompleted ( )

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

Definition at line 430 of file AliEMCALTriggerOfflineLightQAPP.cxx.

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 476 of file AliEMCALTriggerOfflineLightQAPP.cxx.

TCollection* AliEMCALTriggerOfflineLightQAPP::GetListOfHistograms ( )
inline

Definition at line 71 of file AliEMCALTriggerOfflineLightQAPP.h.

void AliEMCALTriggerOfflineLightQAPP::Init ( )

Initialize the class, i.e. allocate histograms.

Definition at line 132 of file AliEMCALTriggerOfflineLightQAPP.cxx.

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

Definition at line 69 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 322 of file AliEMCALTriggerOfflineLightQAPP.cxx.

void AliEMCALTriggerOfflineLightQAPP::ProcessPatch ( const AliEMCALTriggerPatchInfo *  patch)

Process a patch, filling relevant histograms.

Parameters
patchPointer to a valid trigger patch

Definition at line 245 of file AliEMCALTriggerOfflineLightQAPP.cxx.

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 125 of file AliEMCALTriggerOfflineLightQAPP.cxx.

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 112 of file AliEMCALTriggerOfflineLightQAPP.cxx.

Referenced by ReadFastORBadChannelFromFile().

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 76 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by AddFastORBadChannel(), and ProcessFastor().

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

Maximum L0 time.

Definition at line 79 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetL0TimeRange().

Int_t AliEMCALTriggerOfflineLightQAPP::fL0MinTime
protected

Minimum L0 time.

Definition at line 78 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetL0TimeRange().

Int_t AliEMCALTriggerOfflineLightQAPP::fMaxFORabsId
protected

! Maximum FastOR abs id

Definition at line 87 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 85 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 84 of file AliEMCALTriggerOfflineLightQAPP.h.

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

UInt_t AliEMCALTriggerOfflineLightQAPP::fMinL0FastORAmp
protected

Minimum L0 amplitude of the FastORs.

Definition at line 80 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetFastORThresholds().

UInt_t AliEMCALTriggerOfflineLightQAPP::fMinL1FastORAmp
protected

Minimum L1 amplitude of the FastORs.

Definition at line 81 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by ProcessFastor(), and SetFastORThresholds().

Int_t AliEMCALTriggerOfflineLightQAPP::fNTotTRU
protected

! Total number of TRUs

Definition at line 86 of file AliEMCALTriggerOfflineLightQAPP.h.

Referenced by Init(), and ProcessFastor().


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