Ignore:
Timestamp:
11/14/00 17:15:40 (24 years ago)
Author:
harald
Message:
added a few for functionalities. Also some spectras for TDCs are implemented.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/MarsOctober/mocttest/MShowSpect.cc

    r447 r450  
    2424ClassImp(MShowSpect)
    2525
    26 MShowSpect::MShowSpect( )
     26MShowSpect::MShowSpect(char *nameHist )
    2727{
    2828  // default constructor
     29
     30  sprintf (fHistName, "%s", nameHist ) ;
    2931}
    3032
     
    3840  //
    3941
    40   fHists = (MHistosAdc*) pList->FindObject("MHistosAdc");
     42  fHists = (MHistosAdc*) pList->FindObject( fHistName );
    4143 
    4244  if (!fHists)
    4345    {
    44       cout << "ERROR: MShowSpect::PreProc(): MHistosAdc not found!" << endl;
     46      cout << "ERROR: MShowSpect::PreProc(): " << fHistName << " not found!" << endl;
    4547      exit(1);
    4648    }
Note: See TracChangeset for help on using the changeset viewer.