![]() |
AliRoot Core
a565103 (a565103)
|
Raw patch information used inside the trigger maker kernel for the offline trigger and trigger recalculator. More...
#include <AliEMCALTriggerRawPatch.h>
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... | |
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.
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
col0 | Starting column |
row0 | Starting row |
size | Patch size |
adc | ADC value |
Definition at line 38 of file AliEMCALTriggerRawPatch.cxx.
|
inlinevirtual |
Destructor
Definition at line 43 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 71 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 73 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 68 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 72 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 70 of file AliEMCALTriggerRawPatch.h.
|
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.
other | Patch to compate to |
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.
other | Patch to compare to |
Definition at line 52 of file AliEMCALTriggerRawPatch.cxx.
void AliEMCALTriggerRawPatch::PrintStream | ( | std::ostream & | stream | ) | const |
Print trigger patch information to a stream
stream | Output stream |
Definition at line 48 of file AliEMCALTriggerRawPatch.cxx.
Referenced by operator<<().
|
inline |
Definition at line 64 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 66 of file AliEMCALTriggerRawPatch.h.
Referenced by AliEMCALTriggerAlgorithm< T >::FindPatches().
|
inline |
Definition at line 61 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 65 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 63 of file AliEMCALTriggerRawPatch.h.
|
inline |
Definition at line 62 of file AliEMCALTriggerRawPatch.h.
|
protected |
Patch ADC.
Definition at line 86 of file AliEMCALTriggerRawPatch.h.
Referenced by GetADC(), operator<(), PrintStream(), and SetADC().
|
protected |
Trigger bit mask.
Definition at line 82 of file AliEMCALTriggerRawPatch.h.
Referenced by GetBitmask(), operator==(), and SetBitmask().
|
protected |
Start column of the patch.
Definition at line 83 of file AliEMCALTriggerRawPatch.h.
Referenced by GetColStart(), operator==(), PrintStream(), and SetColStart().
|
protected |
Patch ADC.
Definition at line 87 of file AliEMCALTriggerRawPatch.h.
Referenced by GetOfflineADC(), and SetOfflineADC().
|
protected |
Start row of the patch.
Definition at line 84 of file AliEMCALTriggerRawPatch.h.
Referenced by GetRowStart(), operator==(), PrintStream(), and SetRowStart().
|
protected |
Patch size in number of FAST-ors.
Definition at line 85 of file AliEMCALTriggerRawPatch.h.
Referenced by GetPatchSize(), PrintStream(), and SetPatchSize().