]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFHitData.h
Remove a run from LHC10e wo AODs; added run list for the new PbPb MC LHC11a10b_bis
[u/mrichter/AliRoot.git] / TOF / AliTOFHitData.h
CommitLineData
799eea01 1#ifndef ALITOFHITDATA_H
2#define ALITOFHITDATA_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 key-reading for TOF raw data. //
11// //
12///////////////////////////////////////////////////////////////
13
14#include "TObject.h"
15
16class AliTOFHitData : public TObject{
17 public:
18 AliTOFHitData();
19 ~AliTOFHitData()
20 {};
21
22
23 AliTOFHitData(const AliTOFHitData &source);
24
25 AliTOFHitData& operator=(const AliTOFHitData & source); //ass. operator
26
ce053c0b 27 Int_t *GetVolume() {return fVolume;};
799eea01 28 Short_t GetDDLID() const {return fDDLID;};
29 Short_t GetSlotID() const {return fSlotID;};
30 Short_t GetACQ() const {return fACQ;};
31 Short_t GetChain() const {return fChain;};
32 Short_t GetPS() const {return fPS;};
33 Short_t GetTDC() const {return fTDC;};
34 Short_t GetChan() const {return fChan;};
35 Float_t GetTime() const {return fTime;};
36 Int_t GetTimeBin() const {return fTimeBin;};
37 Float_t GetTOT() const {return fTOT;};
38 Int_t GetTOTBin() const {return fTOTBin;};
36ba5140 39 Int_t GetDeltaBunchID() const {return fDeltaBunchID;};
2bf4d9d6 40 Int_t GetL0L1Latency() const {return fL0L1Latency;};
36ba5140 41 Int_t GetDeltaEventCounter() const {return fDeltaEventCounter;};
799eea01 42
43 void SetVolume(Int_t *Volume);
44
45 void SetDDLID(Short_t DDLID) { fDDLID=DDLID;};
46 void SetSlotID(Short_t slotID) { fSlotID=slotID;};
47 void SetACQ(Short_t ACQ) { fACQ=ACQ;};
48 void SetChain(Short_t chain) { fChain=chain;};
49 void SetPS(Short_t PS) { fPS=PS;};
50 void SetTDC(Short_t TDC) { fTDC=TDC;};
51 void SetChan(Short_t chan) { fChan=chan;};
52 void SetTime(Float_t time) { fTime=time;};
53 void SetTimeBin(Int_t timeBin) {fTimeBin=timeBin;};
54 void SetTOT(Float_t TOT) { fTOT=TOT;};
55 void SetTOTBin(Int_t TOTBin) {fTOTBin=TOTBin;};
36ba5140 56 void SetDeltaBunchID(Int_t Value) {fDeltaBunchID=Value;};
2bf4d9d6 57 void SetL0L1Latency(Int_t Value) {fL0L1Latency=Value;};
36ba5140 58 void SetDeltaEventCounter(Int_t Value) {fDeltaEventCounter=Value;};
799eea01 59
60 private:
61 Int_t fVolume[5]; // TOF volume index
62 Short_t fDDLID; // DDL index
63 Short_t fSlotID; // slot index
64 Short_t fACQ; // ACQ flag
65 Short_t fChain; // chain index
66 Short_t fPS; // PS bit
67 Short_t fTDC; // TDC index
68 Short_t fChan; // channel index
69 Float_t fTime; // time [ns]
70 Int_t fTimeBin; // time [TDC bin = 24.4ps]
71 Float_t fTOT; // tot [ns]
72 Int_t fTOTBin; // TOT [TOT bin = 48.4ps]
36ba5140 73 Int_t fDeltaBunchID; // TRM bunchID - miniEventID
2bf4d9d6 74 Int_t fL0L1Latency; // L0BCID - miniEventID
36ba5140 75 Int_t fDeltaEventCounter; // TRM event counter - DRM local event counter
799eea01 76
2bf4d9d6 77 ClassDef(AliTOFHitData, 2);
799eea01 78};
79
80#endif