Added methods for finding a given module in the DDL map (F. Prino)
[u/mrichter/AliRoot.git] / STEER / AliTriggerInteraction.h
CommitLineData
51f6d619 1#ifndef ALITRIGGERINTERACTION_H
2#define ALITRIGGERINTERACTION_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7///////////////////////////////////////////////////////////////////////////////
8// //
9// This class represents the CTP interaction objects //
10// //
11// The Interaction consists of Name and Logical function of 4 CTP inputs. //
12// //
13// //
14///////////////////////////////////////////////////////////////////////////////
15
16#include <TNamed.h>
17
18
19class AliTriggerInteraction : public TNamed {
20
21public:
22 AliTriggerInteraction();
23 AliTriggerInteraction( TString & name, TString & logic );
24 AliTriggerInteraction( const AliTriggerInteraction& interact );
25 virtual ~AliTriggerInteraction();
26 AliTriggerInteraction& operator=(const AliTriggerInteraction& interact);
27
28 Bool_t CheckInputs(const TObjArray &inputs) const;
29 Bool_t IsActive(const TObjArray &inputs) const;
30 Bool_t Trigger(const TObjArray& inputs ) const;
31 virtual void Print( const Option_t* opt ="" ) const;
32private:
33
34 ClassDef( AliTriggerInteraction, 1 ) // Define a trigger interaction object
35};
36
37#endif