3 #ifndef ALIHLTTRIGGERGAMMACONVERSION_H
4 #define ALIHLTTRIGGERGAMMACONVERSION_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 AliHLTTriggerGammaConversion.h
10 /// @author Kenneth Aamodt
12 /// @brief HLT trigger component for gamma conversions.
15 #include "AliHLTTrigger.h"
20 * @class AliHLTTriggerGammaConversion
21 * HLT trigger component for gamma conversions
24 * Triggers on gamma conversions wich satisfy cuts on invariant mass, radius, dca and Pt.
26 * <h2>General properties:</h2>
28 * Component ID: \b GammaConversionTrigger <br>
29 * Library: \b libAliHLTTrigger.so <br>
30 * Input Data Types: kAliHLTDataTypeESDObject <br>
31 * Output Data Types: ::kAliHLTAnyDataType <br>
33 * <h2>Mandatory arguments:</h2>
34 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
36 * <h2>Optional arguments:</h2>
37 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
39 * <h2>Configuration:</h2>
40 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
41 * \li -max-invmass <i> mass </i> <br>
42 * invariant mass of the two gamma daughters
43 * \li -minpt <i> pt </i> <br>
44 * required minimum pt for a trigger
45 * \li -maxpt <i> pt </i> <br>
46 * required maximum pt for a trigger
47 * \li -max-dca <i> distance </i> <br>
48 * dca between the two gamma daughters
49 * \li -max-radius <i> r </i> <br>
50 * maximum radius from the collision point in xy-plane
53 * By default, configuration is loaded from OCDB, can be overridden by
54 * component arguments.
56 * <h2>Default CDB entries:</h2>
57 * HLT/ConfigHLT/GammaConversionTrigger: TObjString storing the arguments
59 * <h2>Performance:</h2>
62 * <h2>Memory consumption:</h2>
65 * <h2>Output size:</h2>
68 * \ingroup alihlt_trigger_components
70 class AliHLTTriggerGammaConversion : public AliHLTTrigger
73 AliHLTTriggerGammaConversion();
74 ~AliHLTTriggerGammaConversion();
76 /// inherited from AliHLTTrigger: name of this trigger
77 virtual const char* GetTriggerName() const;
78 /// inherited from AliHLTComponent: create an instance
79 virtual AliHLTComponent* Spawn();
82 /// inherited from AliHLTComponent: handle the initialization
83 int DoInit(int argc, const char** argv);
85 /// inherited from AliHLTComponent: handle cleanup
88 /// inherited from AliHLTComponent: handle re-configuration event
89 int Reconfigure(const char* cdbEntry, const char* chainId);
91 /// inherited from AliHLTComponent, scan one argument and
93 int ScanConfigurationArgument(int argc, const char** argv);
97 /// inherited from AliHLTTrigger: calculate the trigger
98 virtual int DoTrigger();
100 /// mass cut, maximum
101 double fMaxInvMass; //! transient
103 double fPtMax; //! transient
105 double fPtMin; //! transient
106 /// maximum dca to qualify as a gamma conversion
107 double fMaxDca; //! transient
108 /// maximum radius from collision point in xy-plane
111 /// number of reconstructed gammas
112 Int_t fNReconstructedGammas; //! transient
114 /// the default configuration entry for this component
115 static const char* fgkOCDBEntry; //!transient
117 ClassDef(AliHLTTriggerGammaConversion, 0)
119 #endif //ALIHLTTRIGGERGAMMACONVERSION_H