Index: fact/tools/rootmacros/fpeak_cfd.C
===================================================================
--- fact/tools/rootmacros/fpeak_cfd.C	(revision 12392)
+++ fact/tools/rootmacros/fpeak_cfd.C	(revision 12393)
@@ -132,5 +132,5 @@
 		RegionOfInterest, NumberOfPixels, PXLxROI, verbosityLevel);
 	if (NEvents == 0){
-		cout << "return code of FOpenDataFile:" << datafilename<< endl;
+		cout << "return code of OpenDataFile:" << datafilename<< endl;
 		cout << "is zero -> aborting." << endl;
 		return 1;
@@ -159,5 +159,7 @@
 
 	BookHistos( );
-
+//-----------------------------------------------------------------------------
+// Loops over Every Event and Pixel
+//-----------------------------------------------------------------------------
 	for ( int ev = firstevent; ev < firstevent + nevents; ev++) {
 		// Get an Event --> consists of 1440 Pixel ...erm....data
@@ -287,5 +289,5 @@
 if (ProduceGraphic){
 	TCanvas * cSpektrum;
-	cSpektrum = new TCanvas("cSpektrum","Amplitude Spektra of different discriminators",10,10,400,400);
+	cSpektrum = new TCanvas("cSpektrum","Amplitude Spektrum",10,10,400,400);
 	cSpektrum->Divide(1,1);
   cSpektrum->cd(1);
@@ -302,8 +304,4 @@
 	// histograms for baseline extraction
 
-	TString name,title;
-	title = "all events all slices of pixel ";
-	name = "base";
-
 	hAmplSpek_cfd = new TH2F("hAmplSpek_cfd","amplitude spektrum - CFD",1440,-0.5,1439.5, 256, -27.5, 100.5);
 	hAmplSpek_cfd->GetXaxis()->SetTitle( "pixel" );
