]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RAW/AliAltroBunch.h
component documentation corrected, initialization of member
[u/mrichter/AliRoot.git] / RAW / AliAltroBunch.h
CommitLineData
31a920d3 1#ifndef ALIALTROBUNCH_H
2#define ALIALTROBUNCH_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include <TObject.h>
7
8class AliAltroBunch: public TObject {
9public:
10
11 AliAltroBunch();
12 ~ AliAltroBunch();
13
14 const UInt_t* GetData() const { return fData; }
15 void SetData(UInt_t *data) { fData = data; }
16 Int_t GetBunchSize() const { return fBunchSize; }
17 void SetBunchSize(Int_t size) { fBunchSize = size; }
18 UInt_t GetEndTimeBin() const { return fEndTimeBin; }
19 void SetEndTimeBin(UInt_t bin) { fEndTimeBin = bin; }
1f8ca0bc 20
21 // UInt_t GetStartTimeBin() const { return fStartTimeBin; }
22
23
24 UInt_t GetStartTimeBin() const
25 {
26 return (fEndTimeBin - fBunchSize);
27 }
28
31a920d3 29 void SetStartTimeBin(UInt_t bin) { fStartTimeBin = bin; }
1f8ca0bc 30
31a920d3 31
32private:
33
34 AliAltroBunch& operator = (const AliAltroBunch& bunch);
35 AliAltroBunch(const AliAltroBunch& bunch);
36
1f8ca0bc 37 UInt_t *fData;
31a920d3 38 Int_t fBunchSize;
39 UInt_t fEndTimeBin;
40 UInt_t fStartTimeBin;
41
42 ClassDef(AliAltroBunch,0) // container class for Altro bunches
43};
44
45#endif
46