]>
Commit | Line | Data |
---|---|---|
4d097162 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | //* This file is property of and copyright by the ALICE HLT Project * | |
4 | //* ALICE Experiment at CERN, All rights reserved. * | |
5 | //* See cxx source for full Copyright notice * | |
6 | /// @file AliHLTUpcTriggerComponent.h | |
7 | /// @author Kyrre Skjerdal | |
8 | /// @date 2010-04-16 | |
9 | /// @brief HLT trigger component for Ultra-Peripheral Collisions (UPC) | |
10 | ||
11 | #ifndef ALIHLTUPCTRIGGERCOMPONENT_H | |
12 | #define ALIHLTUPCTRIGGERCOMPONENT_H | |
13 | ||
14 | #include "AliHLTTrigger.h" | |
15 | //#include "AliESDEvent.h" | |
16 | class AliESDEvent; | |
17 | ||
18 | /** | |
19 | * @class AliHLTUpcTriggerComponent | |
20 | * | |
21 | * HLT trigger component for Ultra-Peripheral Collisions | |
22 | * | |
23 | * <h2>General properties:</h2> | |
24 | * | |
25 | * Component ID: \b UpcTrigger <br> | |
26 | * Library: \b libAliHLTTrigger.so <br> | |
27 | * Input Data Types: kAliHLTAllDataTypes <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 | * By default, configuration is loaded from OCDB, can be overridden by | |
39 | * component arguments. | |
40 | * | |
41 | * <h2>Default CDB entries:</h2> | |
42 | * | |
43 | * | |
44 | * <h2>Performance:</h2> | |
45 | * | |
46 | * | |
47 | * <h2>Memory consumption:</h2> | |
48 | * | |
49 | * | |
50 | * <h2>Output size:</h2> | |
51 | * | |
52 | * | |
53 | * \ingroup alihlt_trigger_components | |
54 | */ | |
55 | ||
56 | class AliHLTUpcTriggerComponent : public AliHLTTrigger | |
57 | { | |
58 | public: | |
59 | virtual ~AliHLTUpcTriggerComponent(){;} | |
60 | //Returning the trigger name (UpcTrigger) | |
61 | virtual const char* GetTriggerName() const; | |
62 | //Returning a new object of the class | |
63 | virtual AliHLTComponent* Spawn(); | |
64 | //Gives the output data size | |
65 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
66 | ||
67 | private: | |
68 | //The trigger code | |
69 | virtual int DoTrigger(); | |
70 | //Check if the event has a reconstructed primary vertex | |
71 | Bool_t PrimaryVertexReconstructed(const AliESDEvent *event) const; | |
72 | ClassDef(AliHLTUpcTriggerComponent, 0) | |
73 | }; | |
74 | ||
75 | #endif |