3 #ifndef ALIHLTTRIGGERTRDCLUSTERMULT_H
4 #define ALIHLTTRIGGERTRDCLUSTERMULT_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 *
9 /// @file AliHLTTriggerPhosMip.h
10 /// @author Svein Lindal
12 /// @brief HLT Minimum Ionizing Particle (MIP) trigger for PHOS
14 #include "AliHLTTrigger.h"
17 * @class AliHLTTriggerPhosMip
18 * HLT trigger component for Minimum Ionizing Particles (MIPs) in PHOS.
20 * Triggers on PHOS clusters containing total energy in the range
21 * fEMin < energy < fEMax spread out between fewer than fNCellsMax cells.
23 * <h2>General properties:</h2>
25 * Component ID: \b PhosMipTrigger <br>
26 * Library: \b libAliHLTTrigger.so <br>
27 * Input Data Types: kAliHLTDataTypeESDObject, kAliHLTDataTypeESDTree <br>
28 * Output Data Types: ::kAliHLTAnyDataType <br>
30 * <h2>Mandatory arguments:</h2>
31 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
33 * <h2>Optional arguments:</h2>
34 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
36 * <h2>Configuration:</h2>
37 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
38 * \li -emin <i> e </i> <br>
39 * minimum required energy of the cluster
41 * \li -emax <i> e </i> <br>
42 * maximum energy of the cluster
44 * \li -ncells <i> e </i> <br>
45 * Maximum number of cells in cluster
48 * By default, configuration is loaded from OCDB, can be overridden by
49 * component arguments.
51 * <h2>Default CDB entries:</h2>
52 * HLT/ConfigHLT/PhosMipTrigger: TObjString storing the arguments
54 * <h2>Performance:</h2>
57 * <h2>Memory consumption:</h2>
60 * <h2>Output size:</h2>
63 * \ingroup alihlt_trigger_components
67 class AliHLTTriggerTrdClusterMultiplicity : public AliHLTTrigger
70 AliHLTTriggerTrdClusterMultiplicity();
71 ~AliHLTTriggerTrdClusterMultiplicity();
74 /// inherited from AliHLTTrigger: name of this trigger
75 virtual const char* GetTriggerName() const;
76 /// inherited from AliHLTComponent: create an instance
77 virtual AliHLTComponent* Spawn();
80 /// inherited from AliHLTComponent: handle the initialization
81 int DoInit(int argc, const char** argv);
83 /// inherited from AliHLTComponent: handle cleanup
86 /// inherited from AliHLTComponent: handle re-configuration event
87 int Reconfigure(const char* cdbEntry, const char* chainId);
89 /// inherited from AliHLTTrigger: calculate the trigger
90 virtual int DoTrigger();
92 int Configure(const char* arguments);
95 AliHLTTriggerTrdClusterMultiplicity(const AliHLTTriggerTrdClusterMultiplicity&);
97 AliHLTTriggerTrdClusterMultiplicity& operator = (const AliHLTTriggerTrdClusterMultiplicity&);
99 /// Variables for triggger configuration
101 TClonesArray* fClusterArray;
103 /// the default configuration entry for this component
105 ClassDef(AliHLTTriggerTrdClusterMultiplicity, 0)