AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCALTriggerPatchFinder< T > Class Template Reference

#include <AliEMCALTriggerPatchFinder.h>

Inheritance diagram for AliEMCALTriggerPatchFinder< T >:

Public Member Functions

 AliEMCALTriggerPatchFinder ()
 
virtual ~AliEMCALTriggerPatchFinder ()
 
void AddTriggerAlgorithm (AliEMCALTriggerAlgorithm< T > *trigger)
 
std::vector
< AliEMCALTriggerRawPatch
FindPatches (const AliEMCALTriggerDataGrid< T > &adc, const AliEMCALTriggerDataGrid< T > &offlineAdc) const
 

Protected Attributes

std::vector
< AliEMCALTriggerAlgorithm< T > * > 
fTriggerAlgorithms
 Trigger algoritms to be used. More...
 

Detailed Description

template<typename T>
class AliEMCALTriggerPatchFinder< T >

Definition at line 29 of file AliEMCALTriggerPatchFinder.h.

Constructor & Destructor Documentation

template<typename T >
AliEMCALTriggerPatchFinder< T >::AliEMCALTriggerPatchFinder ( )

Constructor

Definition at line 31 of file AliEMCALTriggerPatchFinder.cxx.

template<typename T >
AliEMCALTriggerPatchFinder< T >::~AliEMCALTriggerPatchFinder ( )
virtual

Destructor

Definition at line 38 of file AliEMCALTriggerPatchFinder.cxx.

Member Function Documentation

template<typename T >
void AliEMCALTriggerPatchFinder< T >::AddTriggerAlgorithm ( AliEMCALTriggerAlgorithm< T > *  trigger)
inline

Add trigger algorithm to the trigger patch finder

Parameters
triggerTrigger algorithm assigned to the patch finder

Definition at line 44 of file AliEMCALTriggerPatchFinder.h.

template<typename T >
std::vector< AliEMCALTriggerRawPatch > AliEMCALTriggerPatchFinder< T >::FindPatches ( const AliEMCALTriggerDataGrid< T > &  adc,
const AliEMCALTriggerDataGrid< T > &  offlineAdc 
) const

Find trigger patches usin the grid of adc values. All trigger patch finders are called one after each other. The result contains the vector of patches from all trigger algorithms. The trigger patches are sorted in energy.

Parameters
adcData grid with ADC values
Returns
List of trigger patches found by all trigger algorithms assigned to this trigger patch finder.

Definition at line 46 of file AliEMCALTriggerPatchFinder.cxx.

Member Data Documentation

template<typename T >
std::vector<AliEMCALTriggerAlgorithm<T> *> AliEMCALTriggerPatchFinder< T >::fTriggerAlgorithms
protected

Trigger algoritms to be used.

Definition at line 55 of file AliEMCALTriggerPatchFinder.h.

Referenced by AliEMCALTriggerPatchFinder< T >::AddTriggerAlgorithm().


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