]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliCaloFitSubarray.cxx
Cleanup of collisions geometries and headers.
[u/mrichter/AliRoot.git] / EMCAL / AliCaloFitSubarray.cxx
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 /* $Id: $ */
17
18 #include "AliCaloFitSubarray.h"
19
20
21 // Container class to hold info from bunches/samples
22 // selected for signal fitting.
23 // Variables are:
24 //  Int_t   fBunchIndex;  // Index for selected bunch
25 //  Int_t   fMaxRev;      // Max index in reversed array
26 //  Int_t   fFirst;   // first index in array used for fit
27 //  Int_t   fLast;    // last index in array used for fit
28
29 AliCaloFitSubarray::AliCaloFitSubarray(const Int_t bunchIndex, 
30                                        const Int_t maxrev, 
31                                        const Int_t first, 
32                                        const Int_t last ) : 
33   fBunchIndex(bunchIndex),
34   fMaxRev(maxrev), 
35   fFirst(first), 
36   fLast(last)   
37 {
38 }
39
40 AliCaloFitSubarray::AliCaloFitSubarray(const AliCaloFitSubarray & fitS) :
41   fBunchIndex( fitS.fBunchIndex ),
42   fMaxRev( fitS.fMaxRev ), 
43   fFirst( fitS.fFirst ), 
44   fLast( fitS.fLast )   
45 {
46 }
47
48 AliCaloFitSubarray::AliCaloFitSubarray(const Int_t init) : 
49   fBunchIndex(init),
50   fMaxRev(init), 
51   fFirst(init), 
52   fLast(init)   
53 {
54 }
55
56
57 AliCaloFitSubarray::~AliCaloFitSubarray()
58 {
59 }
60