AliRoot Core
3dc7879 (3dc7879)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
//____________________________________________________________________________
32
AliCaloBunchInfo::~AliCaloBunchInfo
()
33
{ }
34
37
//____________________________________________________________________________
38
AliCaloBunchInfo::AliCaloBunchInfo
(
const
AliCaloBunchInfo
& rhs) :
fStartTimebin
( rhs.
fStartTimebin
),
39
fLength
( rhs.
fLength
),
40
fkData
( rhs.
fkData
)
41
{ }
42
46
//____________________________________________________________________________
47
AliCaloBunchInfo
&
AliCaloBunchInfo::operator =
(
const
AliCaloBunchInfo
& rhs)
48
{
49
if
(
this
!= & rhs)
50
{
51
fStartTimebin
= rhs.
fStartTimebin
;
52
fLength
= rhs.
fLength
;
53
fkData
= rhs.
fkData
;
54
}
55
return
*
this
;
56
}
57
AliCaloBunchInfo.h
AliCaloBunchInfo::fkData
const UShort_t * fkData
Pointer to the last data enetry of the bunch (data is reversed with respect to fStartTimebin) ...
Definition:
AliCaloBunchInfo.h:48
AliCaloBunchInfo::fLength
Int_t fLength
Length of the bunch.
Definition:
AliCaloBunchInfo.h:46
AliCaloBunchInfo::AliCaloBunchInfo
AliCaloBunchInfo()
AliCaloBunchInfo
Container of ALTRO information.
Definition:
AliCaloBunchInfo.h:25
AliCaloBunchInfo::operator=
AliCaloBunchInfo & operator=(const AliCaloBunchInfo &rhs)
Definition:
AliCaloBunchInfo.cxx:47
AliCaloBunchInfo::fStartTimebin
UInt_t fStartTimebin
Starttimebin as given by the ALTRO stream.
Definition:
AliCaloBunchInfo.h:44
AliCaloBunchInfo::~AliCaloBunchInfo
virtual ~AliCaloBunchInfo()
Destructor.
Definition:
AliCaloBunchInfo.cxx:32
EMCAL
EMCALraw
AliCaloBunchInfo.cxx
Generated on Mon Nov 5 2018 17:14:13 for AliRoot Core by
1.8.11