]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTTriggerEmcalClusterEnergy.h
AliHLTTPCCATrackerComponent: seg fault protection
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerEmcalClusterEnergy.h
1 //-*- Mode: C++ -*-
2 // $Id$
3 #ifndef ALIHLTTRIGGEREMCALCLUSTERENERGY_H
4 #define ALIHLTTRIGGEREMCALCLUSTERENERGY_H
5 //* This file is property of and copyright by the ALICE HLT Project        * 
6 //* ALICE Experiment at CERN, All rights reserved.                         *
7 //* See cxx source for full Copyright notice                               *
8
9 /// @file   AliHLTTriggerEmcalClusterEnergy.h
10 /// @author Svein Lindal
11 /// @date   2009-08-17
12 /// @brief  HLT energy threshold trigger for EMCAL
13
14 #include "AliHLTTriggerCaloClusterEnergy.h"
15
16 /**
17  * @class  AliHLTTriggerEmcalClusterEnergy
18  * HLT trigger component for high energy clusters in EMCAL
19  * 
20  * Triggers on EMCAL clusters containing energy > threshold value. 
21  * Configurable through database entry or from command line using "-energy" option
22  *
23  * <h2>General properties:</h2>
24  *
25  * Component ID: \b EmcalClusterEnergyTrigger                             <br>
26  * Library: \b libAliHLTTrigger.so                                        <br>
27  * Input Data Types:  kAliHLTDataTypeESDObject, kAliHLTDataTypeESDTree    <br>
28  * Output Data Types: ::kAliHLTAnyDataType                                <br>
29  *
30  * <h2>Mandatory arguments:</h2>
31  * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
32  *
33  * <h2>Optional arguments:</h2>
34  * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
35  *
36  * <h2>Configuration:</h2>
37  * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
38  * \li -energy     <i> e   </i> <br>
39  *      required energy of the cluster
40  *
41  * By default, configuration is loaded from OCDB, can be overridden by
42  * component arguments.
43  *
44  * <h2>Default CDB entries:</h2>
45  * HLT/ConfigHLT/EmcalClusterEnergyTrigger: TObjString storing the arguments
46  *
47  * <h2>Performance:</h2>
48  * 
49  *
50  * <h2>Memory consumption:</h2>
51  * 
52  *
53  * <h2>Output size:</h2>
54  * 
55  *
56  * \ingroup alihlt_trigger_components
57  */
58
59 class AliHLTTriggerEmcalClusterEnergy : public AliHLTTriggerCaloClusterEnergy {
60
61 public:
62   AliHLTTriggerEmcalClusterEnergy();
63   ~AliHLTTriggerEmcalClusterEnergy();
64
65
66   /// inherited from AliHLTTrigger: name of this trigger
67   const char* GetTriggerName() const;
68   /// inherited from AliHLTComponent: create an instance
69   AliHLTComponent* Spawn();
70
71
72 protected:
73   // FR
74   void SetCaloReadoutList();
75
76 private:
77
78   ///Inherited from AliHLTTriggerCaloClusterEnergy, get the correct set of ESD calo clusters
79   Int_t GetClustersFromEsd( const AliESDEvent * esd, TRefArray * clustersRefs );
80
81   ClassDef(AliHLTTriggerEmcalClusterEnergy, 0)
82 };
83
84 #endif