AliRoot Core  3dc7879 (3dc7879)
AliEMCALTriggerPatch Class Reference

EMCal trigger patch implementation. More...

#include <AliEMCALTriggerPatch.h>

Inheritance diagram for AliEMCALTriggerPatch:

Public Member Functions

 AliEMCALTriggerPatch ()
 Default constructor. More...
 
 AliEMCALTriggerPatch (const AliEMCALTriggerPatch &other)
 Copy constructor. More...
 
 AliEMCALTriggerPatch (Int_t i, Int_t j, Int_t e=0, Int_t t=0)
 Constructor. More...
 
virtual ~AliEMCALTriggerPatch ()
 Destructor. More...
 
void SetPosition (Int_t px, Int_t py)
 
void SetPosition (const TVector2 &pos)
 
void SetSum (Int_t sum)
 
void SetTime (Int_t time)
 
void SetPeak (Int_t x, Int_t y, Int_t sizeX, Int_t sizeY)
 Peak (add explanation) More...
 
void Position (TVector2 &pos) const
 
void Position (Int_t &px, Int_t &py) const
 
TVector2 * Position () const
 
Int_t Sum () const
 
Int_t Time () const
 
Int_t Peaks () const
 
void Print (const Option_t *) const
 Print patch info. More...
 

Private Member Functions

AliEMCALTriggerPatchoperator= (const AliEMCALTriggerPatch &other)
 

Private Attributes

TVector2 * fPosition
 Position. More...
 
Int_t fSum
 Amplitude. More...
 
Int_t fTime
 Time. More...
 
Int_t fPeaks
 Peaks (L0 only) More...
 

Detailed Description

EMCal trigger patch implementation.

Patch object implementation: one patch is made of subregions (Olivier's nomenclature)

Author
: R. GUERNANE LPSC Grenoble CNRS/IN2P3

Definition at line 25 of file AliEMCALTriggerPatch.h.

Constructor & Destructor Documentation

AliEMCALTriggerPatch::AliEMCALTriggerPatch ( )

Default constructor.

Definition at line 26 of file AliEMCALTriggerPatch.cxx.

AliEMCALTriggerPatch::AliEMCALTriggerPatch ( const AliEMCALTriggerPatch other)

Copy constructor.

Definition at line 46 of file AliEMCALTriggerPatch.cxx.

AliEMCALTriggerPatch::AliEMCALTriggerPatch ( Int_t  i,
Int_t  j,
Int_t  e = 0,
Int_t  t = 0 
)

Constructor.

Definition at line 36 of file AliEMCALTriggerPatch.cxx.

AliEMCALTriggerPatch::~AliEMCALTriggerPatch ( )
virtual

Destructor.

Definition at line 56 of file AliEMCALTriggerPatch.cxx.

Member Function Documentation

AliEMCALTriggerPatch& AliEMCALTriggerPatch::operator= ( const AliEMCALTriggerPatch other)
private

Referenced by Peaks().

Int_t AliEMCALTriggerPatch::Peaks ( ) const
inline

Definition at line 45 of file AliEMCALTriggerPatch.h.

void AliEMCALTriggerPatch::Position ( TVector2 &  pos) const
inline

Definition at line 40 of file AliEMCALTriggerPatch.h.

void AliEMCALTriggerPatch::Position ( Int_t &  px,
Int_t &  py 
) const
inline

Definition at line 41 of file AliEMCALTriggerPatch.h.

TVector2* AliEMCALTriggerPatch::Position ( ) const
inline

Definition at line 42 of file AliEMCALTriggerPatch.h.

void AliEMCALTriggerPatch::Print ( const Option_t *  ) const

Print patch info.

Definition at line 74 of file AliEMCALTriggerPatch.cxx.

Referenced by AliEMCALTriggerTRU::L0v0(), AliEMCALTriggerTRU::L0v1(), and Peaks().

void AliEMCALTriggerPatch::SetPeak ( Int_t  x,
Int_t  y,
Int_t  sizeX,
Int_t  sizeY 
)

Peak (add explanation)

Definition at line 64 of file AliEMCALTriggerPatch.cxx.

Referenced by AliEMCALTriggerTRU::L0v0(), AliEMCALTriggerTRU::L0v1(), and SetTime().

void AliEMCALTriggerPatch::SetPosition ( Int_t  px,
Int_t  py 
)
inline

Definition at line 34 of file AliEMCALTriggerPatch.h.

void AliEMCALTriggerPatch::SetPosition ( const TVector2 &  pos)
inline

Definition at line 35 of file AliEMCALTriggerPatch.h.

void AliEMCALTriggerPatch::SetSum ( Int_t  sum)
inline

Definition at line 36 of file AliEMCALTriggerPatch.h.

void AliEMCALTriggerPatch::SetTime ( Int_t  time)
inline

Definition at line 37 of file AliEMCALTriggerPatch.h.

Int_t AliEMCALTriggerPatch::Sum ( ) const
inline

Definition at line 43 of file AliEMCALTriggerPatch.h.

Int_t AliEMCALTriggerPatch::Time ( ) const
inline

Definition at line 44 of file AliEMCALTriggerPatch.h.

Member Data Documentation

Int_t AliEMCALTriggerPatch::fPeaks
private

Peaks (L0 only)

Definition at line 56 of file AliEMCALTriggerPatch.h.

Referenced by Peaks(), and SetPeak().

TVector2* AliEMCALTriggerPatch::fPosition
private

Position.

Definition at line 53 of file AliEMCALTriggerPatch.h.

Referenced by Position(), Print(), SetPosition(), and ~AliEMCALTriggerPatch().

Int_t AliEMCALTriggerPatch::fSum
private

Amplitude.

Definition at line 54 of file AliEMCALTriggerPatch.h.

Referenced by Print(), SetSum(), and Sum().

Int_t AliEMCALTriggerPatch::fTime
private

Time.

Definition at line 55 of file AliEMCALTriggerPatch.h.

Referenced by Print(), SetTime(), and Time().


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