![]() |
AliPhysics
vAN-20151009 (0f35a5f)
|
Structure for position of trigger channels. More...
#include <AliEmcalTriggerMaker.h>
Public Member Functions | |
AliEmcalTriggerChannelContainer () | |
virtual | ~AliEmcalTriggerChannelContainer () |
void | AddChannel (int col, int row) |
bool | HasChannel (int col, int row) |
Private Attributes | |
TSortedList | fChannels |
Container for listed channels. More... | |
Structure for position of trigger channels.
This structure is a container for trigger channels in col-row space with a given mask. Channels can only be added to the container, or it can be checked whether the channel is listed in the container.
Definition at line 155 of file AliEmcalTriggerMaker.h.
|
inline |
Constructor
Definition at line 160 of file AliEmcalTriggerMaker.h.
|
inlinevirtual |
Destructor, cleans up the container
Definition at line 165 of file AliEmcalTriggerMaker.h.
void AliEmcalTriggerMaker::AliEmcalTriggerChannelContainer::AddChannel | ( | int | col, |
int | row | ||
) |
Add a new channel with the postion in column and row to the container, In case the channel is already listed in the trigger channel container we don't add it again.
col | Column of the channel |
row | Row of the channel |
Definition at line 943 of file AliEmcalTriggerMaker.cxx.
Referenced by AliEmcalTriggerMaker::AddHotFastor().
Bool_t AliEmcalTriggerMaker::AliEmcalTriggerChannelContainer::HasChannel | ( | int | col, |
int | row | ||
) |
Check whether channel with the position (col, row) is listed in the trigger channel container
col | Column of the channel |
row | Row of the channel |
Definition at line 954 of file AliEmcalTriggerMaker.cxx.
Referenced by AddChannel(), and AliEmcalTriggerMaker::Run().
|
private |
Container for listed channels.
Definition at line 171 of file AliEmcalTriggerMaker.h.
Referenced by AddChannel().