Changeset 11900 for trunk/FACT++/gui/RawEventsViewer
- Timestamp:
- 08/12/11 13:51:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r11897 r11900 904 904 entriesToCheck.push_back("CAMERA"); 905 905 entriesToCheck.push_back("DAQ"); 906 entriesToCheck.push_back("ADCRANGE");907 906 entriesToCheck.push_back("TSTART"); 908 907 entriesToCheck.push_back("TSTOP"); 909 entriesToCheck.push_back("NBEVTOK"); 910 entriesToCheck.push_back("NBEVTREJ"); 911 entriesToCheck.push_back("NBEVTBAD"); 908 //entriesToCheck.push_back("ADCRANGE"); 909 //entriesToCheck.push_back("NBEVTOK"); 910 //entriesToCheck.push_back("NBEVTREJ"); 911 //entriesToCheck.push_back("NBEVTBAD"); 912 912 913 913 for (vector<string>::const_iterator it=entriesToCheck.begin(); it != entriesToCheck.end(); it++) … … 934 934 camera = inputFile->GetStr("CAMERA"); 935 935 daq = inputFile->GetStr("DAQ"); 936 adcCount = inputFile-> GetFloat("ADCRANGE");937 nbOk = inputFile->GetInt("NBEVTOK");938 nbRej = inputFile->GetInt("NBEVTREJ");939 nbBad = inputFile->GetInt("NBEVTBAD");936 adcCount = inputFile->HasKey("ADCRANGE") ? inputFile->GetFloat("ADCRANGE") : 2000; 937 nbOk = 0;//inputFile->GetInt("NBEVTOK"); 938 nbRej = 0;//inputFile->GetInt("NBEVTREJ"); 939 nbBad = 0;//inputFile->GetInt("NBEVTBAD"); 940 940 941 941 eventNum = 0;
Note:
See TracChangeset
for help on using the changeset viewer.