Add signal fitting to chain of analysis (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jul 2006 16:45:28 +0000 (16:45 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jul 2006 16:45:28 +0000 (16:45 +0000)
TPC/AnalyzeESDtracks.C

index 42e0dd0..f3b9e81 100644 (file)
@@ -82,6 +82,9 @@ chaincl.Add("TPC.RecPoints3.root/Event3/TreeR")
 #include  "TCanvas.h"
 
 
+void FitSignals(TTree * treeB, TCut cut="Max-Median>150&&RMS06<2&&abs(Median-Mean09)<0.5");
+
+
 void AnalyzeESDtracks(Int_t run){
   //
   // output redirect 
@@ -152,7 +155,7 @@ void AnalyzeESDtracks(Int_t run){
 }
 
 
-void FitSignals(TTree * treeB, TCut cut="Max-Median>150&&RMS06<2&&abs(Median-Mean09)<0.5"){
+void FitSignals(TTree * treeB, TCut cut){
   AliSignalProcesor proc;
   TF1 * f1 = proc.GetAsymGauss();
   TTreeSRedirector cstream("FitSignal.root");