AliRoot Core  3dc7879 (3dc7879)
AliCaloBunchInfo.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * This file is property of and copyright by *
3  * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009 *
4  * *
5  * Primary Author: Per Thomas Hille <p.t.hille@fys.uio.no> *
6  * *
7  * Contributors are mentioned in the code where appropriate. *
8  * Please report bugs to p.t.hille@fys.uio.no *
9  * *
10  * Permission to use, copy, modify and distribute this software and its *
11  * documentation strictly for non-commercial purposes is hereby granted *
12  * without fee, provided that the above copyright notice appears in all *
13  * copies and that both the copyright notice and this permission notice *
14  * appear in the supporting documentation. The authors make no claims *
15  * about the suitability of this software for any purpose. It is *
16  * provided "as is" without express or implied warranty. *
17  **************************************************************************/
18 
19 #include "AliCaloBunchInfo.h"
20 
23 //____________________________________________________________________________
24 AliCaloBunchInfo::AliCaloBunchInfo( UInt_t start, Int_t length, const UShort_t * data ) : fStartTimebin(start),
25 fLength(length),
26 fkData(data)
27 { }
28 
31 //____________________________________________________________________________
33 { }
34 
37 //____________________________________________________________________________
39 fLength( rhs.fLength ),
40 fkData( rhs.fkData )
41 { }
42 
46 //____________________________________________________________________________
48 {
49  if(this != & rhs)
50  {
52  fLength = rhs.fLength;
53  fkData = rhs.fkData;
54  }
55  return *this;
56 }
57 
const UShort_t * fkData
Pointer to the last data enetry of the bunch (data is reversed with respect to fStartTimebin) ...
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.
virtual ~AliCaloBunchInfo()
Destructor.