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 |
|
|
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 |
|
} |