2D position of a trigger channel on the EMCAL surface
More...
#include <AliEmcalTriggerMaker.h>
2D position of a trigger channel on the EMCAL surface
This class represents the position of a trigger channel in a 2D coordinate system consisting of column and row.
Definition at line 97 of file AliEmcalTriggerMaker.h.
AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::AliEmcalTriggerChannelPosition |
( |
| ) |
|
|
inline |
AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::AliEmcalTriggerChannelPosition |
( |
int |
col, |
|
|
int |
row |
|
) |
| |
|
inline |
Main constuctor, setting the position in column and row
- Parameters
-
col | Column of the trigger channel |
row | Row of the trigger channel |
Definition at line 108 of file AliEmcalTriggerMaker.h.
virtual AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::~AliEmcalTriggerChannelPosition |
( |
| ) |
|
|
inlinevirtual |
Int_t AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::Compare |
( |
const TObject * |
ref | ) |
|
|
inlinevirtual |
Compare objects. If objects differ, return always greater (+1). Otherwise compare col and row of the object. Col has priority with respect to row.
- Parameters
-
ref | The object ot comparte to |
- Returns
- 0 if objects are equal, -1 if this object is smaller, +1 if this object is larger.
Definition at line 280 of file AliEmcalTriggerMaker.h.
int AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::GetCol |
( |
| ) |
const |
|
inline |
int AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::GetRow |
( |
| ) |
const |
|
inline |
Bool_t AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::IsEqual |
( |
const TObject * |
ref | ) |
|
|
inlinevirtual |
Check if the object is equal to object ref. Object can only be equal if ref is of the same type (AliEmcalTrigger channel position). If this is the case, col and row of the two objects have to match.
- Parameters
-
- Returns
- True if objects are equal, false otherwise
Definition at line 268 of file AliEmcalTriggerMaker.h.
void AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::SetCol |
( |
int |
col | ) |
|
|
inline |
Set the colummn of the channel
- Parameters
-
col | The column of the channel |
Definition at line 129 of file AliEmcalTriggerMaker.h.
void AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::SetRow |
( |
int |
row | ) |
|
|
inline |
Int_t AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::fCol |
|
private |
Int_t AliEmcalTriggerMaker::AliEmcalTriggerChannelPosition::fRow |
|
private |
The documentation for this struct was generated from the following file: