AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCALTriggerPatchFinder.h
Go to the documentation of this file.
1 
6 #ifndef ALIEMCALTRIGGERPATCHFINDER_H
7 #define ALIEMCALTRIGGERPATCHFINDER_H
8 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
9  * See cxx source for full Copyright notice */
10 
11 #include <TObject.h>
12 #include <vector>
13 
15 
16 template<typename T> class AliEMCALTriggerDataGrid;
17 template<typename T> class AliEMCALTriggerAlgorithm;
18 
28 template<typename T>
29 class AliEMCALTriggerPatchFinder : public TObject {
30 public:
39 
45 
52  std::vector<AliEMCALTriggerRawPatch> FindPatches(const AliEMCALTriggerDataGrid<T> &adc, const AliEMCALTriggerDataGrid<T> &offlineAdc) const;
53 
54 protected:
55  std::vector<AliEMCALTriggerAlgorithm<T> *> fTriggerAlgorithms;
56 
58  ClassDef(AliEMCALTriggerPatchFinder, 1);
60 };
61 
62 #endif
Base class for EMCAL Level1 trigger algorithms.
void AddTriggerAlgorithm(AliEMCALTriggerAlgorithm< T > *trigger)
std::vector< AliEMCALTriggerAlgorithm< T > * > fTriggerAlgorithms
Trigger algoritms to be used.
std::vector< AliEMCALTriggerRawPatch > FindPatches(const AliEMCALTriggerDataGrid< T > &adc, const AliEMCALTriggerDataGrid< T > &offlineAdc) const