Fixes for bug #52499: Field polarities inconsistiency
[u/mrichter/AliRoot.git] / STEER / AliTriggerInteraction.h
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
19 class AliTriggerInteraction : public TNamed {
20
21 public:
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;
32 private:
33
34   ClassDef( AliTriggerInteraction, 1 )  // Define a trigger interaction object
35 };
36
37 #endif