#ifndef __MHeaderTrig__ #define __MHeaderTrig__ #include #include #include #include #include #include #include "TObject.h" #include "MTriggerDefine.h" class MHeaderTrig : public TObject { private: Short_t topology ; // Topology of the trigger // 0 = N-1 neighbours of one pixel // 1 = N neighbours // 2 = N closed pack Short_t multiplicity ; // Pixel multiplicity of trigger configuration Float_t threshold[TRIGGER_PIXELS] ; // Threshold for trigger UInt_t TriggerPattern[2]; // Used to inddentify with // RawEvt::Trigger Pattern identification public: MHeaderTrig() ; ~MHeaderTrig(); void Print(Option_t *); void SetTopology(Short_t nTop) { topology=nTop; } void SetMultiplicity(Short_t nMul) { multiplicity=nMul; } void SetThreshold(Float_t fthr[]){ int i; for(i=0;i