Ignore:
Timestamp:
01/17/01 15:51:42 (24 years ago)
Author:
harald
Message:
Now also the PedEvents can fill ADC spectra.
Location:
trunk/MagicSoft/Mars/mdatacheck
Files:
2 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
  • trunk/MagicSoft/Mars/mdatacheck/MViewAdcSpectra.h

    r462 r544  
    1616  ~MViewAdcSpectra() ;
    1717 
    18   Bool_t PedAdcSpectra( Char_t *inputFile ) ;
     18  Bool_t AdcSpectra( Char_t *inputFile , Char_t *treeName ) ;
    1919
    2020  //  Bool_t CrAdcSpectra ( Char_t *inputFile ) ;
Note: See TracChangeset for help on using the changeset viewer.