AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCALTriggerRawPatch Class Reference

Raw patch information used inside the trigger maker kernel for the offline trigger and trigger recalculator. More...

#include <AliEMCALTriggerRawPatch.h>

Inheritance diagram for AliEMCALTriggerRawPatch:

Public Member Functions

 AliEMCALTriggerRawPatch ()
 
 AliEMCALTriggerRawPatch (Int_t col0, Int_t row0, Int_t size, Double_t adc, Double_t offlineADC)
 
virtual ~AliEMCALTriggerRawPatch ()
 
bool operator== (const AliEMCALTriggerRawPatch &other) const
 
bool operator< (const AliEMCALTriggerRawPatch &other) const
 
void SetColStart (Int_t col0)
 
void SetRowStart (Int_t row0)
 
void SetPatchSize (Int_t patchsize)
 
void SetADC (Double_t adc)
 
void SetOfflineADC (Double_t adc)
 
void SetBitmask (ULong_t bitmask)
 
Int_t GetColStart () const
 
Int_t GetRowStart () const
 
Int_t GetPatchSize () const
 
Double_t GetADC () const
 
Double_t GetOfflineADC () const
 
ULong_t GetBitmask () const
 
void PrintStream (std::ostream &stream) const
 

Protected Attributes

ULong_t fBitMask
 Trigger bit mask. More...
 
Int_t fCol0
 Start column of the patch. More...
 
Int_t fRow0
 Start row of the patch. More...
 
Int_t fSize
 Patch size in number of FAST-ors. More...
 
Double_t fADC
 Patch ADC. More...
 
Double_t fOfflineADC
 Patch ADC. More...
 

Detailed Description

Raw patch information used inside the trigger maker kernel for the offline trigger and trigger recalculator.

Within the EMCAL trigger maker patches can be found by the offline trigger or by the trigger patch recalculator. The trigger raw patch is supposed to keep a minimum information needed with trigger patch information in order to calculated the more detailed AliEMCALTriggerPatchInfo from it.

Definition at line 24 of file AliEMCALTriggerRawPatch.h.

Constructor & Destructor Documentation

AliEMCALTriggerRawPatch::AliEMCALTriggerRawPatch ( )

Dummy constructor

Definition at line 27 of file AliEMCALTriggerRawPatch.cxx.

AliEMCALTriggerRawPatch::AliEMCALTriggerRawPatch ( Int_t  col0,
Int_t  row0,
Int_t  size,
Double_t  adc,
Double_t  offlineADC 
)

Main constructor

Parameters
col0Starting column
row0Starting row
sizePatch size
adcADC value

Definition at line 38 of file AliEMCALTriggerRawPatch.cxx.

virtual AliEMCALTriggerRawPatch::~AliEMCALTriggerRawPatch ( )
inlinevirtual

Destructor

Definition at line 43 of file AliEMCALTriggerRawPatch.h.

Member Function Documentation

Double_t AliEMCALTriggerRawPatch::GetADC ( ) const
inline

Definition at line 71 of file AliEMCALTriggerRawPatch.h.

ULong_t AliEMCALTriggerRawPatch::GetBitmask ( ) const
inline

Definition at line 73 of file AliEMCALTriggerRawPatch.h.

Int_t AliEMCALTriggerRawPatch::GetColStart ( ) const
inline

Definition at line 68 of file AliEMCALTriggerRawPatch.h.

Double_t AliEMCALTriggerRawPatch::GetOfflineADC ( ) const
inline

Definition at line 72 of file AliEMCALTriggerRawPatch.h.

Int_t AliEMCALTriggerRawPatch::GetPatchSize ( ) const
inline

Definition at line 70 of file AliEMCALTriggerRawPatch.h.

Int_t AliEMCALTriggerRawPatch::GetRowStart ( ) const
inline

Definition at line 69 of file AliEMCALTriggerRawPatch.h.

bool AliEMCALTriggerRawPatch::operator< ( const AliEMCALTriggerRawPatch other) const

Comparison operator for smaller. As this is used in sorting algorithms, the comparison is made based on the patch ADC.

Parameters
otherPatch to compate to
Returns
True if the patch ADC of this patch is smaller, false otherwise

Definition at line 56 of file AliEMCALTriggerRawPatch.cxx.

bool AliEMCALTriggerRawPatch::operator== ( const AliEMCALTriggerRawPatch other) const

Comparison operator for equalness: Patches are equal if they have the same position and the same trigger bit mask.

Parameters
otherPatch to compare to
Returns
True if the patches share the same position and trigger bit mask, false otherwise

Definition at line 52 of file AliEMCALTriggerRawPatch.cxx.

void AliEMCALTriggerRawPatch::PrintStream ( std::ostream &  stream) const

Print trigger patch information to a stream

Parameters
streamOutput stream

Definition at line 48 of file AliEMCALTriggerRawPatch.cxx.

Referenced by operator<<().

void AliEMCALTriggerRawPatch::SetADC ( Double_t  adc)
inline

Definition at line 64 of file AliEMCALTriggerRawPatch.h.

void AliEMCALTriggerRawPatch::SetBitmask ( ULong_t  bitmask)
inline
void AliEMCALTriggerRawPatch::SetColStart ( Int_t  col0)
inline

Definition at line 61 of file AliEMCALTriggerRawPatch.h.

void AliEMCALTriggerRawPatch::SetOfflineADC ( Double_t  adc)
inline

Definition at line 65 of file AliEMCALTriggerRawPatch.h.

void AliEMCALTriggerRawPatch::SetPatchSize ( Int_t  patchsize)
inline

Definition at line 63 of file AliEMCALTriggerRawPatch.h.

void AliEMCALTriggerRawPatch::SetRowStart ( Int_t  row0)
inline

Definition at line 62 of file AliEMCALTriggerRawPatch.h.

Member Data Documentation

Double_t AliEMCALTriggerRawPatch::fADC
protected

Patch ADC.

Definition at line 86 of file AliEMCALTriggerRawPatch.h.

Referenced by GetADC(), operator<(), PrintStream(), and SetADC().

ULong_t AliEMCALTriggerRawPatch::fBitMask
protected

Trigger bit mask.

Definition at line 82 of file AliEMCALTriggerRawPatch.h.

Referenced by GetBitmask(), operator==(), and SetBitmask().

Int_t AliEMCALTriggerRawPatch::fCol0
protected

Start column of the patch.

Definition at line 83 of file AliEMCALTriggerRawPatch.h.

Referenced by GetColStart(), operator==(), PrintStream(), and SetColStart().

Double_t AliEMCALTriggerRawPatch::fOfflineADC
protected

Patch ADC.

Definition at line 87 of file AliEMCALTriggerRawPatch.h.

Referenced by GetOfflineADC(), and SetOfflineADC().

Int_t AliEMCALTriggerRawPatch::fRow0
protected

Start row of the patch.

Definition at line 84 of file AliEMCALTriggerRawPatch.h.

Referenced by GetRowStart(), operator==(), PrintStream(), and SetRowStart().

Int_t AliEMCALTriggerRawPatch::fSize
protected

Patch size in number of FAST-ors.

Definition at line 85 of file AliEMCALTriggerRawPatch.h.

Referenced by GetPatchSize(), PrintStream(), and SetPatchSize().


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