]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTTriggerBarrelCosmic.cxx
several bugfixes in order to get the HLTGlobalTrigger decision safely into the ESD
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerBarrelCosmic.cxx
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: Matthias Richter <Matthias.Richter@ift.uib.no>        *
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   AliHLTTriggerBarrelCosmic.cxx
19 /// @author Matthias Richter
20 /// @date   2009-06-30
21 /// @brief  HLT cosmics trigger component for the central barrel region.
22
23 // see header file for class documentation
24 // or
25 // refer to README to build package
26 // or
27 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
28
29 #include "AliHLTTriggerBarrelCosmic.h"
30 #include "AliESDEvent.h"
31 #include "AliHLTTriggerDecision.h"
32 #include "AliHLTDomainEntry.h"
33
34 /** ROOT macro for the implementation of ROOT specific class methods */
35 ClassImp(AliHLTTriggerBarrelCosmic)
36
37 AliHLTTriggerBarrelCosmic::AliHLTTriggerBarrelCosmic()
38   : AliHLTTrigger()
39 {
40   // see header file for class documentation
41   // or
42   // refer to README to build package
43   // or
44   // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
45 }
46
47 AliHLTTriggerBarrelCosmic::~AliHLTTriggerBarrelCosmic()
48 {
49   // see header file for class documentation
50 }
51
52 const char* AliHLTTriggerBarrelCosmic::GetTriggerName() const
53 {
54   // see header file for class documentation
55   return "BarrelCosmicsTrigger";
56 }
57
58 AliHLTComponent* AliHLTTriggerBarrelCosmic::Spawn()
59 {
60   // see header file for class documentation
61   return new AliHLTTriggerBarrelCosmic;
62 }
63
64 int AliHLTTriggerBarrelCosmic::DoTrigger()
65 {
66   // see header file for class documentation
67   SetDescription("central barrel cosmics trigger needs to be implemented");
68   TriggerEvent(false);
69   return 0;
70 }