]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTGlobalTriggerComponent.cxx
Adding trigger domain and trigger decision classes. AliHLTTrigger now produces an...
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTGlobalTriggerComponent.cxx
1 /**************************************************************************
2  * This file is property of and copyright by the ALICE HLT Project        *
3  * ALICE Experiment at CERN, All rights reserved.                         *
4  *                                                                        *
5  * Primary Authors: Artur Szostak <artursz@iafrica.com>                   *
6  *                  for The ALICE HLT Project.                            *
7  *                                                                        *
8  * Permission to use, copy, modify and distribute this software and its   *
9  * documentation strictly for non-commercial purposes is hereby granted   *
10  * without fee, provided that the above copyright notice appears in all   *
11  * copies and that both the copyright notice and this permission notice   *
12  * appear in the supporting documentation. The authors make no claims     *
13  * about the suitability of this software for any purpose. It is          *
14  * provided "as is" without express or implied warranty.                  *
15  **************************************************************************/
16
17 /// @file   AliHLTGlobalTriggerComponent.cxx
18 /// @author Artur Szostak <artursz@iafrica.com>
19 /// @date   26 Nov 2008
20 /// @brief  Implementation of the AliHLTGlobalTriggerComponent component class.
21 ///
22 /// The AliHLTGlobalTriggerComponentComponent class applies the global HLT trigger to all
23 /// trigger information produced by components deriving from AliHLTTrigger.
24
25 #include "AliHLTGlobalTriggerComponent.h"
26
27 ClassImp(AliHLTGlobalTriggerComponent)
28
29
30 AliHLTGlobalTriggerComponent::AliHLTGlobalTriggerComponent() :
31         AliHLTTrigger()
32 {
33   // Default constructor.
34 }
35
36
37 AliHLTGlobalTriggerComponent::~AliHLTGlobalTriggerComponent()
38 {
39   // Default destructor.
40 }
41
42
43 void AliHLTGlobalTriggerComponent::GetOutputDataSize(unsigned long& constBase, double& inputMultiplier)
44 {
45   // Returns the output data size estimate.
46
47   constBase = strlen(GetTriggerName()) + 1;
48   inputMultiplier = 1;
49 }
50
51
52 int AliHLTGlobalTriggerComponent::DoTrigger()
53 {
54   // This method will apply the global trigger decision.
55
56   //TODO
57   return 0;
58 }