]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFrawData.h
changed the order of call of endofcycle so that images are produced
[u/mrichter/AliRoot.git] / TOF / AliTOFrawData.h
CommitLineData
15ec34b9 1#ifndef ALITOFRAWDATA_H
2#define ALITOFRAWDATA_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////////
9// //
10// This class provides the TOF raw data object //
11// //
12////////////////////////////////////////////////////
13
14#include "TObject.h"
15
16class AliTOFrawData : public TObject {
17 // TOF rawData class
18 public:
19 AliTOFrawData(); // default ctr
bf33f8f0 20 AliTOFrawData(Int_t a, Int_t b, Int_t c, Int_t d, Int_t e, Int_t f, Int_t g, Int_t h, Int_t l); // ctr
21 AliTOFrawData(Int_t a, Int_t b, Int_t c, Int_t d, Int_t e, Int_t f, Int_t ee, Int_t ff, Int_t g, Int_t h, Int_t l); // ctr
15ec34b9 22 ~AliTOFrawData() {}; // default dtr
23 AliTOFrawData(const AliTOFrawData& r); // dummy copy constructor
24 AliTOFrawData& operator=(const AliTOFrawData& r); // dummy assignment operator
bf33f8f0 25 void Update(Int_t tof, Int_t tot, Int_t leading, Int_t trailing, Int_t psBit, Int_t acq, Int_t errorFlag);
15ec34b9 26
27 Int_t GetTRM() const {return fTRM;};
28 Int_t GetTRMchain() const {return fTRMchain;};
29 Int_t GetTDC() const {return fTDC;};
30 Int_t GetTDCchannel() const {return fTDCchannel;};
31
bf33f8f0 32 Int_t GetTOF() const {return fTime;};
0192b95f 33 Int_t GetTOT() const;
bf33f8f0 34 Int_t GetLeading() const {return fLeading;};
35 Int_t GetTrailing() const {return fTrailing;};
15ec34b9 36
37 private:
38 Int_t fACQflag; // ACQ flag
39 Int_t fPSbit; // Packing bit
40
41 Int_t fTRM; // TRM ID
42 Int_t fTRMchain; // TRM Chain ID
43 Int_t fTDC; // TDC number
44 Int_t fTDCchannel; // TDC channel number
45
bf33f8f0 46 Int_t fLeading; // Leading Edge
47 Int_t fTrailing; // Trailing Edge
48 Int_t fToT; // Time-Over-Threashould
49 Int_t fTime; // Time
15ec34b9 50
51 Int_t fError; // Error flag
52
6c1a77aa 53 ClassDef(AliTOFrawData, 1) // class for TOF raw data
15ec34b9 54};
55
56#endif