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.8 by grimes, Mon Jun 24 14:47:38 2013 UTC vs.
Revision 1.9 by grimes, Fri Jun 28 14:30:08 2013 UTC

# Line 6 | Line 6
6   #include "l1menu/TriggerRatePlot.h"
7   #include "l1menu/tools/tools.h"
8   #include "l1menu/ReducedMenuSample.h"
9 < #include "l1menu/IReducedEvent.h"
9 > #include "l1menu/ReducedEvent.h"
10   #include <TH1F.h>
11  
12   l1menu::MenuRatePlots::MenuRatePlots( const l1menu::TriggerMenu& triggerMenu, TDirectory* pDirectory )
# Line 53 | Line 53 | l1menu::MenuRatePlots::MenuRatePlots( co
53          } // end of loop over the triggers in the menu
54   }
55  
56 < void l1menu::MenuRatePlots::addEvent( const l1menu::IEvent& event )
56 > void l1menu::MenuRatePlots::addEvent( const l1menu::L1TriggerDPGEvent& event )
57   {
58          // Loop over each of the TriggerRatePlots and add the event to each of them.
59          for( auto& ratePlot : triggerPlots_ )
# Line 71 | Line 71 | void l1menu::MenuRatePlots::initiateForR
71          }
72   }
73  
74 < void l1menu::MenuRatePlots::addEvent( const l1menu::IReducedEvent& event )
74 > void l1menu::MenuRatePlots::addEvent( const l1menu::ReducedEvent& event )
75   {
76          // Loop over each of the TriggerRatePlots and add the event to each of them.
77          for( auto& ratePlot : triggerPlots_ )
# Line 80 | Line 80 | void l1menu::MenuRatePlots::addEvent( co
80          }
81   }
82  
83 + void l1menu::MenuRatePlots::addSample( const l1menu::ISample& sample )
84 + {
85 +        // Loop over each of the TriggerRatePlots and add the sample to each of them.
86 +        for( auto& ratePlot : triggerPlots_ )
87 +        {
88 +                ratePlot.addSample( sample );
89 +        }
90 + }
91 +
92   void l1menu::MenuRatePlots::setDirectory( TDirectory* pDirectory )
93   {
94          // Loop over each of the TriggerRatePlots and individually set the directory.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines