]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliTriggerInput.cxx
First version of kdtree (Alexander, Marian)
[u/mrichter/AliRoot.git] / STEER / AliTriggerInput.cxx
CommitLineData
a5a091ce 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/* $Id$ */
17
18///////////////////////////////////////////////////////////////////////////////
19//
20// Class to define a Trigger Input from an specific detector //
21//
22//
23// name description id mask
24// Ej:
25// AliTriggerInput( "V0_MB_L0", "VO minimum bias", 0x01 );
26// AliTriggerInput( "V0_SC_L0", "VO semi central", 0x02 );
27// AliTriggerInput( "V0_C_L0", "VO central", 0x04 );
28//
29// The name must be globaly unique. Spaces are not allowed.
30// As convention should start with detector name then an id
31// and the trigger level (L0, L1, L2)
32//
33// A maximun of 60 inputs trigger are allow.
34// So, the id mask should set only bit from the position 1 to 60.
35//
36///////////////////////////////////////////////////////////////////////////////
37
38#include <Riostream.h>
39
40#include "AliTriggerInput.h"
41
42ClassImp( AliTriggerInput )
43
44//_____________________________________________________________________________
45void AliTriggerInput::Print( const Option_t* ) const
46{
47 // Print
48 cout << "Trigger Input:" << endl;
49 cout << " Name: " << GetName() << endl;
50 cout << " Description: " << GetTitle() << endl;
bacbe0fd 51 cout << " Value: " << hex << "Ox" << fValue << dec << endl;
a5a091ce 52}