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 ) |
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_ ) |