]>
Commit | Line | Data |
---|---|---|
ce9ace8c | 1 | #ifndef ALITRIGGERIR_H |
2 | #define ALITRIGGERIR_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 | // Class represents CTP interaction record | |
10 | // | |
11 | // The definition of the IR follows the ALICE internal note: | |
12 | // ALICE-INT-2002-010 | |
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). | |
16 | // | |
17 | // cvetan.cheshkov@cern.ch 10/07/2008 | |
18 | // | |
19 | /////////////////////////////////////////////////////////////////////////////// | |
20 | ||
21 | #include <TObject.h> | |
22 | ||
23 | class AliTriggerIR : public TObject { | |
24 | ||
25 | public: | |
26 | AliTriggerIR(); | |
27 | AliTriggerIR(UInt_t orbit, UInt_t nwords, UInt_t *words, Bool_t incomplete = kFALSE, Bool_t transerr = kFALSE); | |
28 | ||
29 | AliTriggerIR(const AliTriggerIR &rec); | |
30 | AliTriggerIR& operator= (const AliTriggerIR& rec); | |
31 | ||
32 | virtual ~AliTriggerIR(); | |
33 | ||
34 | // Setters | |
35 | ||
36 | ||
37 | // Getters | |
38 | ||
39 | virtual void Print( const Option_t* opt ="" ) const; | |
40 | ||
41 | private: | |
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 | |
49 | ||
50 | ClassDef( AliTriggerIR, 1 ) // Trigger Interaction Record (one per orbit) | |
51 | }; | |
52 | ||
53 | #endif |