* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.4 2000/10/05 16:04:21 kowal2
-Forward declarations
-
-Revision 1.3 2000/06/30 12:07:49 kowal2
-Updated from the TPC-PreRelease branch
-
-Revision 1.2.4.2 2000/06/26 07:39:42 kowal2
-Changes to obey the coding rules
-
-Revision 1.2.4.1 2000/06/25 08:38:41 kowal2
-Splitted from AliTPCtracking
-
-Revision 1.2 2000/04/17 09:37:33 kowal2
-removed obsolete AliTPCDigitsDisplay.C
-
-Revision 1.1.4.2 2000/04/10 11:32:37 kowal2
-
-"ROOT"-based class with some extra functionality
-
-*/
-//
+/* $Id$ */
//----------------------------------------------------------------------------
// Author: Marian Ivanov
#include "AliH2F.h"
#include "TClonesArray.h"
-#include "AliTPC.h"
#include "TRandom.h"
//
}
-AliH2F::AliH2F(const AliH2F &his)
+AliH2F::AliH2F(const AliH2F &his) :
+ TH2F(his)
{
//
}
-AliH2F & AliH2F::operator = (const AliH2F & his)
+AliH2F & AliH2F::operator = (const AliH2F & /*his*/)
{
//
return *this;
}
+/*
TClonesArray * AliH2F::FindPeaks(Float_t threshold, Float_t noise)
{
-
- //
- // not implemented
- //
- return 0;
+ //find peaks and write it in form of AliTPCcluster to array
+
+ //firstly we need to create object for cluster finding
+ //and fill it with contents of histogram
+ AliTPCClusterFinder cfinder;
+ cfinder.SetThreshold(threshold);
+ cfinder.SetNoise(noise);
+ cfinder.GetHisto(this);
+ return cfinder.FindPeaks3();
}
+*/
void AliH2F::ClearSpectrum()
{