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.10 by grimes, Sat Jun 29 16:14:45 2013 UTC vs.
Revision 1.12 by grimes, Thu Jul 4 13:02:22 2013 UTC

# Line 5 | Line 5
5   #include "l1menu/TriggerMenu.h"
6   #include "l1menu/TriggerRatePlot.h"
7   #include "l1menu/tools/tools.h"
8 #include "l1menu/ReducedMenuSample.h"
9 #include "l1menu/ReducedEvent.h"
8   #include <TH1F.h>
9  
10   l1menu::MenuRatePlots::MenuRatePlots( const l1menu::TriggerMenu& triggerMenu, TDirectory* pDirectory )
# Line 80 | Line 78 | l1menu::MenuRatePlots::MenuRatePlots( co
78          } // end of loop over the triggers in the menu
79   }
80  
81 < void l1menu::MenuRatePlots::addEvent( const l1menu::L1TriggerDPGEvent& event )
84 < {
85 <        // Loop over each of the TriggerRatePlots and add the event to each of them.
86 <        for( auto& ratePlot : triggerPlots_ )
87 <        {
88 <                ratePlot.addEvent( event );
89 <        }
90 < }
91 <
92 < void l1menu::MenuRatePlots::initiateForReducedSample( const l1menu::ReducedMenuSample& sample )
93 < {
94 <        // Loop over each of the TriggerRatePlots and delegate the call to them.
95 <        for( auto& ratePlot : triggerPlots_ )
96 <        {
97 <                ratePlot.initiateForReducedSample( sample );
98 <        }
99 < }
100 <
101 < void l1menu::MenuRatePlots::addEvent( const l1menu::ReducedEvent& event )
81 > void l1menu::MenuRatePlots::addEvent( const l1menu::IEvent& event )
82   {
83          // Loop over each of the TriggerRatePlots and add the event to each of them.
84          for( auto& ratePlot : triggerPlots_ )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines