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

Comparing UserCode/grimes/L1Menu/src/MenuRatePlots.cpp (file contents):
Revision 1.3 by grimes, Sun Jun 2 22:40:57 2013 UTC vs.
Revision 1.5 by grimes, Tue Jun 4 10:21:10 2013 UTC

# Line 40 | Line 40 | l1menu::MenuRatePlots::MenuRatePlots( co
40                                  numberOfBins=triggerTable.getSuggestedNumberOfBins( pTrigger->name(), *iThresholdName );
41                                  lowerEdge=triggerTable.getSuggestedLowerEdge( pTrigger->name(), *iThresholdName );
42                                  upperEdge=triggerTable.getSuggestedUpperEdge( pTrigger->name(), *iThresholdName );
43 +                                upperEdge*=5; // I'm getting incomplete ReducedSamples, I think because there is the odd overflow event.
44                          }
45                          catch( std::exception& error) { /* Do nothing. If no binning suggestions have been set for this trigger use the defaults I set above. */ }
46  
# Line 69 | Line 70 | void l1menu::MenuRatePlots::initiateForR
70          }
71   }
72  
72 #include <iostream>
73   void l1menu::MenuRatePlots::addEvent( const l1menu::IReducedEvent& event )
74   {
75        std::cout << "New event" << std::endl;
75          // Loop over each of the TriggerRatePlots and add the event to each of them.
76          for( auto& ratePlot : triggerPlots_ )
77          {
79                std::cout << "Trigger " << ratePlot.getTrigger().name() << std::endl;
78                  ratePlot.addEvent( event );
79          }
80   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines