change definition of TRU fitter, remove unneeded class dependencies
[u/mrichter/AliRoot.git] / EMCAL / AliCaloFitSubarray.h
CommitLineData
f57baa2d 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/* $Id: $ */
8
9#include "Rtypes.h"
10
11// Container class to hold info from bunches/samples
12// selected for signal fitting.
13// Variables are:
14// Int_t fBunchIndex; // Index for selected bunch
15// Int_t fMaxRev; // Max index in reversed array
16// Int_t fFirst; // first index in array used for fit
17// Int_t fLast; // last index in array used for fit
18
19class AliCaloFitSubarray
20{
21 public:
22 explicit AliCaloFitSubarray( const Int_t bunchIndex,
23 const Int_t maxrev,
24 const Int_t first,
25 const Int_t last );
26
27 explicit AliCaloFitSubarray(const Int_t init);
28
29 AliCaloFitSubarray(const AliCaloFitSubarray &fitSubarray);
dab4328c 30 AliCaloFitSubarray& operator = (const AliCaloFitSubarray& source) ;
f57baa2d 31
32 virtual ~AliCaloFitSubarray();
33
34 void SetBunchIndex(Int_t i) { fBunchIndex = i;};
35 void SetMaxRev(Int_t i) { fMaxRev = i;};
36 void SetFirst(Int_t i) { fFirst = i; };
37 void SetLast(Int_t i) { fLast = i; };
38
39 Int_t GetBunchIndex() const { return fBunchIndex;};
40 Int_t GetMaxRev() const { return fMaxRev;};
41 Int_t GetFirst() const { return fFirst; };
42 Int_t GetLast() const { return fLast; };
43
44 private:
45
46 Int_t fBunchIndex; // Index for selected bunch
47 Int_t fMaxRev; // Max index in reversed array
48 Int_t fFirst; // first index in array used for fit
49 Int_t fLast; // last index in array used for fit
50};
51
52#endif