AliRoot Core  3dc7879 (3dc7879)
AliCaloBunchInfo.h
Go to the documentation of this file.
1 #ifndef ALICALOBUNCHINFO_H
2 #define ALICALOBUNCHINFO_H
3 
4 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 #include "Rtypes.h"
8 
9 //_________________________________________________________________________
23 //_________________________________________________________________________
24 
26 {
27 
28 public:
29 
30  AliCaloBunchInfo( UInt_t starttimebin, Int_t length, const UShort_t * data );
31  virtual ~AliCaloBunchInfo();
32 
33  AliCaloBunchInfo ( const AliCaloBunchInfo & rhs);
35 
36  UInt_t GetStartBin() const { return fStartTimebin ; }
37  Int_t GetLength () const { return fLength ; }
38  const UShort_t *GetData () const { return fkData ; }
39 
40  private:
41 
43 
44  UInt_t fStartTimebin;
45 
46  Int_t fLength;
47 
48  const UShort_t *fkData;
49 
50 };
51 
52 #endif //ALICALOBUNCHINFO_H
Int_t GetLength() const
const UShort_t * fkData
Pointer to the last data enetry of the bunch (data is reversed with respect to fStartTimebin) ...
const UShort_t * GetData() const
Int_t fLength
Length of the bunch.
Container of ALTRO information.
AliCaloBunchInfo & operator=(const AliCaloBunchInfo &rhs)
UInt_t fStartTimebin
Starttimebin as given by the ALTRO stream.
UInt_t GetStartBin() const
virtual ~AliCaloBunchInfo()
Destructor.