Changeset 12393


Ignore:
Timestamp:
11/05/11 13:36:45 (13 years ago)
Author:
neise
Message:
 removed typos and unused varaibles
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/fpeak_cfd.C

    r12385 r12393  
    132132                RegionOfInterest, NumberOfPixels, PXLxROI, verbosityLevel);
    133133        if (NEvents == 0){
    134                 cout << "return code of FOpenDataFile:" << datafilename<< endl;
     134                cout << "return code of OpenDataFile:" << datafilename<< endl;
    135135                cout << "is zero -> aborting." << endl;
    136136                return 1;
     
    159159
    160160        BookHistos( );
    161 
     161//-----------------------------------------------------------------------------
     162// Loops over Every Event and Pixel
     163//-----------------------------------------------------------------------------
    162164        for ( int ev = firstevent; ev < firstevent + nevents; ev++) {
    163165                // Get an Event --> consists of 1440 Pixel ...erm....data
     
    287289if (ProduceGraphic){
    288290        TCanvas * cSpektrum;
    289         cSpektrum = new TCanvas("cSpektrum","Amplitude Spektra of different discriminators",10,10,400,400);
     291        cSpektrum = new TCanvas("cSpektrum","Amplitude Spektrum",10,10,400,400);
    290292        cSpektrum->Divide(1,1);
    291293  cSpektrum->cd(1);
     
    302304        // histograms for baseline extraction
    303305
    304         TString name,title;
    305         title = "all events all slices of pixel ";
    306         name = "base";
    307 
    308306        hAmplSpek_cfd = new TH2F("hAmplSpek_cfd","amplitude spektrum - CFD",1440,-0.5,1439.5, 256, -27.5, 100.5);
    309307        hAmplSpek_cfd->GetXaxis()->SetTitle( "pixel" );
Note: See TracChangeset for help on using the changeset viewer.