AliPhysics  c2a2810 (c2a2810)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTriggerMaker::AliEmcalTriggerChannelContainer Struct Reference

Structure for position of trigger channels. More...

#include <AliEmcalTriggerMaker.h>

Inheritance diagram for AliEmcalTriggerMaker::AliEmcalTriggerChannelContainer:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

AliEmcalTriggerMaker::AliEmcalTriggerChannelContainer::AliEmcalTriggerChannelContainer ( )
inline

Constructor

Definition at line 160 of file AliEmcalTriggerMaker.h.

virtual AliEmcalTriggerMaker::AliEmcalTriggerChannelContainer::~AliEmcalTriggerChannelContainer ( )
inlinevirtual

Destructor, cleans up the container

Definition at line 165 of file AliEmcalTriggerMaker.h.

Member Function Documentation

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.

Parameters
colColumn of the channel
rowRow of the channel

Definition at line 938 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

Parameters
colColumn of the channel
rowRow of the channel
Returns
True if the channel is listed, false otherwise

Definition at line 949 of file AliEmcalTriggerMaker.cxx.

Referenced by AddChannel(), and AliEmcalTriggerMaker::Run().

Member Data Documentation

TSortedList AliEmcalTriggerMaker::AliEmcalTriggerChannelContainer::fChannels
private

Container for listed channels.

Definition at line 171 of file AliEmcalTriggerMaker.h.

Referenced by AddChannel().


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