Coverity 16571
[u/mrichter/AliRoot.git] / STEER / AliTriggerDescriptor.h
CommitLineData
a5a091ce 1#ifndef ALITRIGGERDESCRIPTOR_H
2#define ALITRIGGERDESCRIPTOR_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
a5a091ce 7///////////////////////////////////////////////////////////////////////////////
8// //
51f6d619 9// This class represents the CTP descriptor objects //
a5a091ce 10// //
51f6d619 11// The Descriptor consists of Name and 1 or Logical function of 4 CTP inputs+//
12// additional inputs (added with an AND operator) //
a5a091ce 13// //
14// //
15///////////////////////////////////////////////////////////////////////////////
16
51f6d619 17#include <TNamed.h>
a5a091ce 18
a5a091ce 19
20class AliTriggerDescriptor : public TNamed {
21
22public:
23 AliTriggerDescriptor();
51f6d619 24 AliTriggerDescriptor( TString & name, TString & cond );
25 AliTriggerDescriptor( const AliTriggerDescriptor& desc );
26 virtual ~AliTriggerDescriptor();
27 AliTriggerDescriptor& operator=(const AliTriggerDescriptor& desc);
28
29 Bool_t CheckInputsAndFunctions(const TObjArray &inputs,const TObjArray &functions) const;
30 Bool_t IsActive(const TObjArray &inputs,const TObjArray &functions) const;
31 Bool_t Trigger( const TObjArray &inputs, const TObjArray &functions) const;
32 virtual void Print( const Option_t* opt ="" ) const;
a5a091ce 33private:
a5a091ce 34
51f6d619 35 ClassDef( AliTriggerDescriptor, 1 ) // Define a trigger descriptor object
a5a091ce 36};
37
38#endif