AliRoot Core  3dc7879 (3dc7879)
AliCaloFitSubarray.h
Go to the documentation of this file.
1 #ifndef ALICALOFITSUBARRAY_H
2 #define ALICALOFITSUBARRAY_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 #include "Rtypes.h"
8 
9 //_________________________________________________________________________
24 //_________________________________________________________________________
25 
27 {
28 public:
29 
30  explicit AliCaloFitSubarray( const Int_t bunchIndex,
31  const Int_t maxrev,
32  const Int_t first,
33  const Int_t last );
34 
35  explicit AliCaloFitSubarray(const Int_t init);
36 
37  AliCaloFitSubarray (const AliCaloFitSubarray &fitSubarray) ;
39 
40  virtual ~AliCaloFitSubarray();
41 
42  void SetBunchIndex(Int_t i) { fBunchIndex = i ; }
43  void SetMaxRev (Int_t i) { fMaxRev = i ; }
44  void SetFirst (Int_t i) { fFirst = i ; }
45  void SetLast (Int_t i) { fLast = i ; }
46 
47  Int_t GetBunchIndex() const { return fBunchIndex ; }
48  Int_t GetMaxRev () const { return fMaxRev ; }
49  Int_t GetFirst () const { return fFirst ; }
50  Int_t GetLast () const { return fLast ; }
51 
52 private:
53 
54  Int_t fBunchIndex;
55  Int_t fMaxRev;
56  Int_t fFirst;
57  Int_t fLast;
58 };
59 
60 #endif //ALICALOFITSUBARRAY_H
Int_t GetFirst() const
Int_t GetLast() const
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.
Int_t GetBunchIndex() const
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 GetMaxRev() const
void SetBunchIndex(Int_t i)
void SetFirst(Int_t i)
void SetMaxRev(Int_t i)
Int_t fBunchIndex
Index for selected bunch.