]>
Commit | Line | Data |
---|---|---|
742ae1c4 | 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: Artur Szostak <artursz@iafrica.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 InitialCounterConfig.C | |
19 | /// @author Artur Szostak <artursz@iafrica.com> | |
20 | /// @date 12 Nov 2009 | |
21 | /// @brief Implementation of initial counter configuration routine for testing. | |
22 | /// | |
23 | /// The InitialCounterConfig routine generates the initial counter configuration | |
24 | /// to test the AliHLTTriggerCounterComponent class. | |
25 | ||
26 | void InitialCounterConfig() | |
27 | { | |
28 | TMap& counters = AliHLTTriggerCounterComponent::InitialCounterConfig(); | |
29 | counters.Add(new TObjString("CINTA"), new TObjString("Input interaction trigger")); | |
30 | TObjString* name = new TObjString("TRIGGER-A"); | |
31 | name->SetBit(1<<14); // mark as output trigger | |
32 | counters.Add(name, new TObjString("Output trigger A")); | |
33 | } |