1 #ifndef ALITRIGGERBCMASK_H
2 #define ALITRIGGERBCMASK_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ///////////////////////////////////////////////////////////////////////////////
9 // This class represents the CTP bunch-crossing mask //
11 // The Mask contains name and 3565 bits for each bunch-crossing in an orbit //
14 ///////////////////////////////////////////////////////////////////////////////
18 class AliTriggerBCMask : public TNamed {
22 AliTriggerBCMask( TString & name);
23 AliTriggerBCMask( TString & name, TString & mask );
24 AliTriggerBCMask( const AliTriggerBCMask& mask );
25 virtual ~AliTriggerBCMask();
26 AliTriggerBCMask& operator=(const AliTriggerBCMask& mask);
28 const UChar_t* GetFullMask () const {return fBCMask; }
29 Bool_t GetMask(UShort_t index) const;
30 void Print( const Option_t* ) const;
32 enum {kNBytesPerBCMask = 446}; // Number of bytes to store the 3565 bits of BC mask
35 void CreateMask(TString &/*mask*/) {}
37 UChar_t fBCMask[kNBytesPerBCMask]; // Bunch cross mask (3565 bit)
39 ClassDef( AliTriggerBCMask, 1 ) // Define a trigger bunch-crossing mask