Changeset 450 for trunk/MagicSoft/MarsOctober/mocttest/MShowSpect.cc
- Timestamp:
- 11/14/00 17:15:40 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/MarsOctober/mocttest/MShowSpect.cc
r447 r450 24 24 ClassImp(MShowSpect) 25 25 26 MShowSpect::MShowSpect( )26 MShowSpect::MShowSpect(char *nameHist ) 27 27 { 28 28 // default constructor 29 30 sprintf (fHistName, "%s", nameHist ) ; 29 31 } 30 32 … … 38 40 // 39 41 40 fHists = (MHistosAdc*) pList->FindObject( "MHistosAdc");42 fHists = (MHistosAdc*) pList->FindObject( fHistName ); 41 43 42 44 if (!fHists) 43 45 { 44 cout << "ERROR: MShowSpect::PreProc(): MHistosAdcnot found!" << endl;46 cout << "ERROR: MShowSpect::PreProc(): " << fHistName << " not found!" << endl; 45 47 exit(1); 46 48 }
Note:
See TracChangeset
for help on using the changeset viewer.