Changeset 544 for trunk/MagicSoft/Mars


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
Files:
3 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 ) ;
  • trunk/MagicSoft/Mars/mgui/MGDataCheckMain.cc

    r466 r544  
    293293              }     
    294294             
    295               fViewAdc.PedAdcSpectra(fInputFile) ;
     295              fViewAdc.AdcSpectra(fInputFile, "PedEvents" ) ;
    296296
    297297              break ;
     
    307307              }
    308308             
    309               //              fOctober.CrAdcSpectra(fInputFile) ;
    310 
     309              fViewAdc.AdcSpectra(fInputFile, "Events" ) ;
     310             
    311311              break ;
    312312     
     
    333333              }
    334334             
    335               //              fOctober.CrTdcSpectra(fInputFile) ;
     335             
    336336
    337337              break ;
Note: See TracChangeset for help on using the changeset viewer.