]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTTriggerPhosClusterEnergy.h
Merge branch 'trigger'
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerPhosClusterEnergy.h
1 //-*- Mode: C++ -*-
2 // $Id$
3 #ifndef ALIHLTTRIGGERPHOSCLUSTERENERGY_H
4 #define ALIHLTTRIGGERPHOSCLUSTERENERGY_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   AliHLTTriggerPhosClusterEnergy.h
10 /// @author Svein Lindal
11 /// @date   2009-08-17
12 /// @brief  HLT energy threshold trigger for PHOS
13
14 #include "AliHLTTriggerCaloClusterEnergy.h"
15
16 /**
17  * @class  AliHLTTriggerPhosClusterEnergy
18  * HLT trigger component for high energy clusters in PHOS
19  * 
20  * Triggers on PHOS 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 PhosClusterEnergyTrigger                             <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/PhosClusterEnergyTrigger: 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 AliHLTTriggerPhosClusterEnergy : public AliHLTTriggerCaloClusterEnergy {
60
61 public:
62   AliHLTTriggerPhosClusterEnergy();
63   ~AliHLTTriggerPhosClusterEnergy();
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 private:
73
74   ///Inherited from AliHLTTriggerCaloClusterEnergy, get the correct set of ESD calo clusters
75   Int_t GetClustersFromEsd( const AliESDEvent * esd, TRefArray * clustersRefs );
76
77   ClassDef(AliHLTTriggerPhosClusterEnergy, 0)
78 };
79
80 #endif //ALIHLTTRIGGERPHOSCLUSTERENERGY_H