X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=CONTAINERS%2FAliH2F.cxx;h=6e66634c5e7b868cdeb2c5c55fdf7d4c5ab2264e;hb=118f308aadde01def31e4df65ba125cba529fa25;hp=28fa9537e80a94f82c63bb1f8c36f48a0b0b646e;hpb=5270561d7b77e93f2a301f3666b44b2da49c3e18;p=u%2Fmrichter%2FAliRoot.git diff --git a/CONTAINERS/AliH2F.cxx b/CONTAINERS/AliH2F.cxx index 28fa9537e80..6e66634c5e7 100644 --- a/CONTAINERS/AliH2F.cxx +++ b/CONTAINERS/AliH2F.cxx @@ -24,7 +24,6 @@ #include "AliH2F.h" #include "TClonesArray.h" -#include "AliTPC.h" #include "TRandom.h" @@ -53,26 +52,33 @@ AliH2F::~AliH2F() // } -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() {