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
9 /// @brief HLT trigger component for Ultra-Peripheral Collisions (UPC)
11 #ifndef ALIHLTUPCTRIGGERCOMPONENT_H
12 #define ALIHLTUPCTRIGGERCOMPONENT_H
14 #include "AliHLTTrigger.h"
15 //#include "AliESDEvent.h"
19 * @class AliHLTUpcTriggerComponent
21 * HLT trigger component for Ultra-Peripheral Collisions
23 * <h2>General properties:</h2>
25 * Component ID: \b UpcTrigger <br>
26 * Library: \b libAliHLTTrigger.so <br>
27 * Input Data Types: kAliHLTAllDataTypes <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 * By default, configuration is loaded from OCDB, can be overridden by
39 * component arguments.
41 * <h2>Default CDB entries:</h2>
44 * <h2>Performance:</h2>
47 * <h2>Memory consumption:</h2>
50 * <h2>Output size:</h2>
53 * \ingroup alihlt_trigger_components
56 class AliHLTUpcTriggerComponent : public AliHLTTrigger
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);
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)