]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - HLT/trigger/AliHLTTriggerPhosClusterEnergy.cxx
Fixing warning
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerPhosClusterEnergy.cxx
... / ...
CommitLineData
1// $Id$
2//**************************************************************************
3//* This file is property of and copyright by the ALICE HLT Project *
4//* ALICE Experiment at CERN, All rights reserved. *
5//* *
6//* Primary Authors: Svein Lindal <svein.lindal@gmail.com> *
7//* for The ALICE HLT Project. *
8//* *
9//* Permission to use, copy, modify and distribute this software and its *
10//* documentation strictly for non-commercial purposes is hereby granted *
11//* without fee, provided that the above copyright notice appears in all *
12//* copies and that both the copyright notice and this permission notice *
13//* appear in the supporting documentation. The authors make no claims *
14//* about the suitability of this software for any purpose. It is *
15//* provided "as is" without express or implied warranty. *
16//**************************************************************************
17
18/// @file AliHLTTriggerPhosClusterEnergy.cxx
19/// @author Svein Lindal <slindal@fys.uio.no>
20/// @date 2009-08-17
21/// @brief HLT energy threshold trigger for PHOS
22///
23
24// see header file for class documentation
25// or
26// refer to README to build package
27// or
28// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
29
30
31#include "AliHLTTriggerPhosClusterEnergy.h"
32#include "AliESDEvent.h"
33#include "AliESDCaloCluster.h"
34#include "AliHLTTriggerDecision.h"
35#include "AliHLTDomainEntry.h"
36
37
38AliHLTTriggerPhosClusterEnergy gPhosClusterEnergyTrigger;
39
40
41/** ROOT macro for the implementation of ROOT specific class methods */
42ClassImp(AliHLTTriggerPhosClusterEnergy)
43
44AliHLTTriggerPhosClusterEnergy::AliHLTTriggerPhosClusterEnergy() :
45AliHLTTriggerCaloClusterEnergy("PHOS")
46{
47 // see header file for class documentation
48 // or
49 // refer to README to build package
50 // or
51 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlts
52
53 fOCDBEntry = "HLT/ConfigHLT/PhosClusterEnergyTrigger";
54 fInputDataType = kAliHLTDataTypeCaloCluster | kAliHLTDataOriginPHOS;
55}
56
57AliHLTTriggerPhosClusterEnergy::~AliHLTTriggerPhosClusterEnergy() {
58 // see header file for class documentation
59}
60
61const char* AliHLTTriggerPhosClusterEnergy::GetTriggerName() const {
62 // see header file for class documentation
63 return "PhosClusterEnergyTrigger";
64}
65
66AliHLTComponent* AliHLTTriggerPhosClusterEnergy::Spawn() {
67 // see header file for class documentation
68 return new AliHLTTriggerPhosClusterEnergy;
69}
70
71Int_t AliHLTTriggerPhosClusterEnergy::GetClustersFromEsd( const AliESDEvent * esd, TRefArray * clustersRefs ){
72 return esd->GetPHOSClusters(clustersRefs);
73}