3 #ifndef ALIHLTTRIGGERBARRELMULTIPLICITY_H
4 #define ALIHLTTRIGGERBARRELMULTIPLICITY_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 AliHLTTriggerBarrelMultiplicity.h
10 /// @author Matthias Richter
12 /// @brief HLT trigger component for charged particle multiplicity in
13 /// the central barrel.
15 #include "AliHLTTrigger.h"
20 * @class AliHLTTriggerBarrelMultiplicity
21 * HLT trigger component for charged particle multiplicity in the
24 * Triggers on charged particle number in a certain pt range.
26 class AliHLTTriggerBarrelMultiplicity : public AliHLTTrigger
29 AliHLTTriggerBarrelMultiplicity();
30 ~AliHLTTriggerBarrelMultiplicity();
32 /// inherited from AliHLTTrigger: name of this trigger
33 virtual const char* GetTriggerName() const;
34 /// inherited from AliHLTComponent: create an instance
35 virtual AliHLTComponent* Spawn();
38 /// inherited from AliHLTComponent: handle the initialization
39 int DoInit(int argc, const char** argv);
41 /// inherited from AliHLTComponent: handle cleanup
44 /// inherited from AliHLTComponent: handle re-configuration event
45 int Reconfigure(const char* cdbEntry, const char* chainId);
47 /// inherited from AliHLTComponent, scan one argument and
49 int ScanConfigurationArgument(int argc, const char** argv);
52 /// inherited from AliHLTTrigger: calculate the trigger
53 virtual int DoTrigger();
55 /// check whether a track meets the criteria
57 bool CheckCondition(T* track);
60 float fPtMin; //! transient
62 float fPtMax; //! transient
63 /// required number of tracks
64 int fMinTracks; //!transient
66 /// the default configuration entry for this component
67 static const char* fgkOCDBEntry; //!transient
69 ClassDef(AliHLTTriggerBarrelMultiplicity, 0)
71 #endif //ALIHLTTRIGGERBARRELMULTIPLICITY_H