AliRoot Core  3dc7879 (3dc7879)
AliCaloFitSubarray.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 #include "AliCaloFitSubarray.h"
17 
20 //_____________________________________________________________________
22  const Int_t maxrev,
23  const Int_t first,
24  const Int_t last ) :
25 fBunchIndex(bunchIndex),
26 fMaxRev(maxrev),
27 fFirst(first),
28 fLast(last)
29 {
30 }
31 
34 //_____________________________________________________________________
36 fBunchIndex(init),
37 fMaxRev(init),
38 fFirst(init),
39 fLast(init)
40 {
41 }
42 
45 //_____________________________________________________________________
47 fBunchIndex( fitS.fBunchIndex ),
48 fMaxRev( fitS.fMaxRev ),
49 fFirst( fitS.fFirst ),
50 fLast( fitS.fLast )
51 {
52 }
53 
56 //_____________________________________________________________________
58 {
59  if (&source == this) return *this;
60 
61  new (this) AliCaloFitSubarray(source);
62  return *this;
63 }
64 
67 //_____________________________________________________________________
69 {
70 }
71 
Int_t fFirst
first index in array used for fit
virtual ~AliCaloFitSubarray()
Destructor.
Container class to hold info from bunches/samples.
AliCaloFitSubarray(const Int_t bunchIndex, const Int_t maxrev, const Int_t first, const Int_t last)
Constructor.
bool init
Definition: XSection.C:263
AliCaloFitSubarray & operator=(const AliCaloFitSubarray &source)
Assignment operator; use copy ctor.
Int_t fMaxRev
Max index in reversed array.
Int_t fLast
last index in array used for fit
Int_t fBunchIndex
Index for selected bunch.