]>
Commit | Line | Data |
---|---|---|
765d85f8 | 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 | ||
739e2587 | 14 | #include "AliHLTTriggerCaloClusterEnergy.h" |
765d85f8 | 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 | ||
739e2587 | 59 | class AliHLTTriggerPhosClusterEnergy : public AliHLTTriggerCaloClusterEnergy { |
60 | ||
765d85f8 | 61 | public: |
62 | AliHLTTriggerPhosClusterEnergy(); | |
63 | ~AliHLTTriggerPhosClusterEnergy(); | |
64 | ||
65 | ||
66 | /// inherited from AliHLTTrigger: name of this trigger | |
739e2587 | 67 | const char* GetTriggerName() const; |
765d85f8 | 68 | /// inherited from AliHLTComponent: create an instance |
739e2587 | 69 | AliHLTComponent* Spawn(); |
765d85f8 | 70 | |
177f8c98 | 71 | protected: |
72 | // FR | |
73 | void SetCaloReadoutList(); | |
765d85f8 | 74 | |
75 | private: | |
76 | ||
739e2587 | 77 | ///Inherited from AliHLTTriggerCaloClusterEnergy, get the correct set of ESD calo clusters |
78 | Int_t GetClustersFromEsd( const AliESDEvent * esd, TRefArray * clustersRefs ); | |
765d85f8 | 79 | |
80 | ClassDef(AliHLTTriggerPhosClusterEnergy, 0) | |
81 | }; | |
82 | ||
83 | #endif //ALIHLTTRIGGERPHOSCLUSTERENERGY_H |