4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ///////////////////////////////////////////////////////////////////////////////
9 // Class represents CTP interaction record
11 // The definition of the IR follows the ALICE internal note:
13 // The CTP raw-data payload will contain IRs within +- 1 orbit
14 // around the triggered event.
15 // The same IRs are propagated to the ESD (and AOD).
17 // cvetan.cheshkov@cern.ch 10/07/2008
19 ///////////////////////////////////////////////////////////////////////////////
23 class AliTriggerIR : public TObject {
27 AliTriggerIR(UInt_t orbit, UInt_t nwords, UInt_t *words, Bool_t incomplete = kFALSE, Bool_t transerr = kFALSE);
29 AliTriggerIR(const AliTriggerIR &rec);
30 AliTriggerIR& operator= (const AliTriggerIR& rec);
32 virtual ~AliTriggerIR();
39 virtual void Print( const Option_t* opt ="" ) const;
42 UInt_t fOrbit; // Orbit number
43 UInt_t fNWord; // Number of recorded interaction signals
44 Bool_t *fInt1; //[fNWord] signals for interaction 1
45 Bool_t *fInt2; //[fNWord] signals for interaction 2
46 UShort_t *fBC; //[fNWord] bunch-crossing number
47 Bool_t fIncomplete; // flag which says if the IR is incomplete or not
48 Bool_t fTransErr; // flag which says if there was a transmission error (gap) or not
50 ClassDef( AliTriggerIR, 1 ) // Trigger Interaction Record (one per orbit)