ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/L1Menu/src/ReducedMenuSample.cpp
(Generate patch)

Comparing UserCode/grimes/L1Menu/src/ReducedMenuSample.cpp (file contents):
Revision 1.15 by grimes, Tue Jul 2 23:30:37 2013 UTC vs.
Revision 1.16 by grimes, Thu Jul 4 00:37:53 2013 UTC

# Line 328 | Line 328 | void l1menu::ReducedMenuSample::addSampl
328                          catch( std::exception& error )
329                          {
330                                  // setTriggerThresholdsAsTightAsPossible() couldn't find thresholds so record
331 <                                // a default for everything.
331 >                                // -1 for everything.
332                                  // Range based for loop gives me a warning because I don't use the thresholdName.
333 <                                for( size_t index=0; index<thresholdNames.size(); ++index ) pProtobufEvent->add_threshold(100000);
333 >                                for( size_t index=0; index<thresholdNames.size(); ++index ) pProtobufEvent->add_threshold(-1);
334                          } // end of try block that sets the trigger thresholds
335  
336                  } // end of loop over triggers

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines