]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliCaloBunchInfo.cxx
Remove dependency on AliRecPoint from AliEMCALGeometry
[u/mrichter/AliRoot.git] / EMCAL / AliCaloBunchInfo.cxx
CommitLineData
d655d7dd 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
57839add 20#include "AliCaloBunchInfo.h"
d655d7dd 21
22// Container class to hold information
23// about of bunches.
24// Used by the
57839add 25// AliCaloRawAnalyzer
d655d7dd 26// classes
57839add 27AliCaloBunchInfo::AliCaloBunchInfo( UInt_t start, Int_t length, const UShort_t * data ) : fStartTimebin(start),
d655d7dd 28 fLength(length),
29 fkData(data)
30{
31
32
33}
34
35
36
57839add 37AliCaloBunchInfo::~AliCaloBunchInfo()
d655d7dd 38{
39
40
41}
42
43
44
57839add 45AliCaloBunchInfo::AliCaloBunchInfo( const AliCaloBunchInfo & rhs) :fStartTimebin( rhs.fStartTimebin ),
d655d7dd 46 fLength( rhs.fLength ),
47 fkData( rhs.fkData )
48{
49
50
51}
52
53
54
55
57839add 56AliCaloBunchInfo& AliCaloBunchInfo::operator = ( const AliCaloBunchInfo & rhs)
d655d7dd 57{
58 //This is just to get of compliation warning. Its not really needed
59 if(this != & rhs)
60 {
61 fStartTimebin = rhs.fStartTimebin;
62 fLength = rhs.fLength;
63 fkData = rhs.fkData;
64 }
65 return *this;
66}
67