Ignore:
Timestamp:
01/17/01 15:51:42 (24 years ago)
Author:
harald
Message:
Now also the PedEvents can fill ADC spectra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mdatacheck/MViewAdcSpectra.cc

    r462 r544  
    3131
    3232// ================================================================================
    33 Bool_t MViewAdcSpectra::PedAdcSpectra ( Char_t *inputfile )
     33Bool_t MViewAdcSpectra::AdcSpectra ( Char_t *inputfile, Char_t *treeName )
    3434{
    3535  //   This job reads in the FADC data from all events and fills
     
    3737  //
    3838
    39   cout << "PedAdcSpectra:: Analyse the file " << inputfile << endl ;
     39  cout << "PedAdcSpectra:: Analyse the tree " << treeName
     40       << "in the file  " << inputfile << endl ;
    4041 
    4142  // create a (empty) list of parameters which can be used by the tasks
     
    6970  //    set up the tasks for this job
    7071
    71   MReadTree *readin  =  new MReadTree ( inputfile, "Data") ;
     72  MReadTree *readin  =  new MReadTree ( inputfile, treeName ) ;
    7273  tasks->AddToList( readin ) ;
    7374
Note: See TracChangeset for help on using the changeset viewer.