Index: /fact/tools/rootmacros/README.txt
===================================================================
--- /fact/tools/rootmacros/README.txt	(revision 12388)
+++ /fact/tools/rootmacros/README.txt	(revision 12389)
@@ -63,3 +63,20 @@
 
 
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
+gainfit.C ROOT macro for analysing the amplitude spektra of fpeak_cfd.C
+
+this is far from beeing any good, but have a look yourself.
+
+call it like this:
+gainfit("rootfilename.root", "textoutfilename.txt" , false);
+
+its short ... so I'd rather not explain it here.
+I guess one can try for many other fit functions, and play with Parameter
+bounds, but I had no time yet.
+Thomas Krähenbühl once send me a mail containing a lot of ideas, and I guess
+in gainanalysis.C there is a lot more ... 
+these scripts should maybe be joined soon ...somehow.
+D.Neise 20111104
+
+
