1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 ///////////////////////////////////////////////////////////////////////////////
20 // Class to define a Trigger Input from an specific detector //
23 // name description id mask
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 );
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)
33 // A maximun of 60 inputs trigger are allow.
34 // So, the id mask should set only bit from the position 1 to 60.
36 ///////////////////////////////////////////////////////////////////////////////
38 #include <Riostream.h>
40 #include "AliTriggerInput.h"
42 ClassImp( AliTriggerInput )
44 //_____________________________________________________________________________
45 void AliTriggerInput::Print( const Option_t* ) const
48 cout << "Trigger Input:" << endl;
49 cout << " Name: " << GetName() << endl;
50 cout << " Description: " << GetTitle() << endl;
51 cout << " Value: " << hex << fValue << dec << endl;