Changeset 13660


Ignore:
Timestamp:
05/11/12 23:16:30 (13 years ago)
Author:
Jens Buss
Message:
changed OpenRootFile to OpenRootFile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/PulseTemplates/rootfilehandler.C

    r13626 r13660  
    3030
    3131TFile*
    32 OpenRootFile(
     32ChooseRootFileToWrite(
    3333        TString    loc_fname,
    3434        int             verbosityLevel
     
    5252    return output_rootfile;
    5353}
    54 //end of OpenRootFile
     54//end of WriteInRootFile
    5555//----------------------------------------------------------------------------
    5656
     
    8989
    9090    TFile* output_rootfile = NULL;
    91     output_rootfile = OpenRootFile( loc_fname, verbosityLevel);
     91    output_rootfile = ChooseRootFileToWrite( loc_fname, verbosityLevel);
    9292
    9393    if (verbosityLevel > 2) cout << endl
     
    121121TString
    122122CreateSubDirName(
    123         TString title
     123        TString         title
    124124        )
    125125{
     
    131131//----------------------------------------------------------------------------
    132132
     133TFile*
     134OpenRootFile(
     135        TString         path,
     136        TString         filename,
     137        int             verbosityLevel
     138        )
     139{
     140    if (verbosityLevel > 1)
     141    {
     142        cout << "...opening root-file: ";
     143    }
     144
     145    path += filename;
     146    TFile* file = TFile::Open( path );
     147
     148    if (verbosityLevel > 1)
     149    {
     150        cout << path ;
     151        cout << " ...successfull" << endl;
     152    }
     153    return file;
     154}
Note: See TracChangeset for help on using the changeset viewer.