add set and getter for neutral energy fraction
[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);
30
31 virtual ~AliCaloFitSubarray();
32
33 void SetBunchIndex(Int_t i) { fBunchIndex = i;};
34 void SetMaxRev(Int_t i) { fMaxRev = i;};
35 void SetFirst(Int_t i) { fFirst = i; };
36 void SetLast(Int_t i) { fLast = i; };
37
38 Int_t GetBunchIndex() const { return fBunchIndex;};
39 Int_t GetMaxRev() const { return fMaxRev;};
40 Int_t GetFirst() const { return fFirst; };
41 Int_t GetLast() const { return fLast; };
42
43 private:
44
45 Int_t fBunchIndex; // Index for selected bunch
46 Int_t fMaxRev; // Max index in reversed array
47 Int_t fFirst; // first index in array used for fit
48 Int_t fLast; // last index in array used for fit
49};
50
51#endif