forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
5,537 additions
and
1,725 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/************************************************************************** | ||
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | ||
* * | ||
* Author: The ALICE Off-line Project. * | ||
* Contributors are mentioned in the code where appropriate. * | ||
* * | ||
* Permission to use, copy, modify and distribute this software and its * | ||
* documentation strictly for non-commercial purposes is hereby granted * | ||
* without fee, provided that the above copyright notice appears in all * | ||
* copies and that both the copyright notice and this permission notice * | ||
* appear in the supporting documentation. The authors make no claims * | ||
* about the suitability of this software for any purpose. It is * | ||
* provided "as is" without express or implied warranty. * | ||
**************************************************************************/ | ||
|
||
/* $Id$ */ | ||
|
||
#include "AliCaloFitSubarray.h" | ||
|
||
|
||
// Container class to hold info from bunches/samples | ||
// selected for signal fitting. | ||
// Variables are: | ||
// Int_t fBunchIndex; // Index for selected bunch | ||
// Int_t fMaxRev; // Max index in reversed array | ||
// Int_t fFirst; // first index in array used for fit | ||
// Int_t fLast; // last index in array used for fit | ||
|
||
AliCaloFitSubarray::AliCaloFitSubarray(const Int_t bunchIndex, | ||
const Int_t maxrev, | ||
const Int_t first, | ||
const Int_t last ) : | ||
fBunchIndex(bunchIndex), | ||
fMaxRev(maxrev), | ||
fFirst(first), | ||
fLast(last) | ||
{ | ||
} | ||
|
||
AliCaloFitSubarray::AliCaloFitSubarray(const AliCaloFitSubarray & fitS) : | ||
fBunchIndex( fitS.fBunchIndex ), | ||
fMaxRev( fitS.fMaxRev ), | ||
fFirst( fitS.fFirst ), | ||
fLast( fitS.fLast ) | ||
{ | ||
} | ||
|
||
AliCaloFitSubarray::AliCaloFitSubarray(const Int_t init) : | ||
fBunchIndex(init), | ||
fMaxRev(init), | ||
fFirst(init), | ||
fLast(init) | ||
{ | ||
} | ||
|
||
|
||
AliCaloFitSubarray::~AliCaloFitSubarray() | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#ifndef ALICALOFITSUBARRAY_H | ||
#define ALICALOFITSUBARRAY_H | ||
|
||
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | ||
* See cxx source for full Copyright notice */ | ||
|
||
/* $Id$ */ | ||
|
||
#include "Rtypes.h" | ||
|
||
// Container class to hold info from bunches/samples | ||
// selected for signal fitting. | ||
// Variables are: | ||
// Int_t fBunchIndex; // Index for selected bunch | ||
// Int_t fMaxRev; // Max index in reversed array | ||
// Int_t fFirst; // first index in array used for fit | ||
// Int_t fLast; // last index in array used for fit | ||
|
||
class AliCaloFitSubarray | ||
{ | ||
public: | ||
explicit AliCaloFitSubarray( const Int_t bunchIndex, | ||
const Int_t maxrev, | ||
const Int_t first, | ||
const Int_t last ); | ||
|
||
explicit AliCaloFitSubarray(const Int_t init); | ||
|
||
AliCaloFitSubarray(const AliCaloFitSubarray &fitSubarray); | ||
|
||
virtual ~AliCaloFitSubarray(); | ||
|
||
void SetBunchIndex(Int_t i) { fBunchIndex = i;}; | ||
void SetMaxRev(Int_t i) { fMaxRev = i;}; | ||
void SetFirst(Int_t i) { fFirst = i; }; | ||
void SetLast(Int_t i) { fLast = i; }; | ||
|
||
Int_t GetBunchIndex() const { return fBunchIndex;}; | ||
Int_t GetMaxRev() const { return fMaxRev;}; | ||
Int_t GetFirst() const { return fFirst; }; | ||
Int_t GetLast() const { return fLast; }; | ||
|
||
private: | ||
|
||
Int_t fBunchIndex; // Index for selected bunch | ||
Int_t fMaxRev; // Max index in reversed array | ||
Int_t fFirst; // first index in array used for fit | ||
Int_t fLast; // last index in array used for fit | ||
}; | ||
|
||
#endif |
Oops, something went wrong.