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.5 by grimes, Tue Jun 4 10:21:10 2013 UTC vs.
Revision 1.7 by grimes, Tue Jun 18 10:18:23 2013 UTC

# Line 11 | Line 11
11  
12   l1menu::MenuRatePlots::MenuRatePlots( const l1menu::TriggerMenu& triggerMenu, TDirectory* pDirectory )
13   {
14 +        // Before making any histograms make sure errors are done properly
15 +        TH1::SetDefaultSumw2();
16  
17          // Loop over each of the triggers in the menu, book a histogram for it and then create
18          // a l1menu::TriggerRate plot for it.
# Line 40 | Line 42 | l1menu::MenuRatePlots::MenuRatePlots( co
42                                  numberOfBins=triggerTable.getSuggestedNumberOfBins( pTrigger->name(), *iThresholdName );
43                                  lowerEdge=triggerTable.getSuggestedLowerEdge( pTrigger->name(), *iThresholdName );
44                                  upperEdge=triggerTable.getSuggestedUpperEdge( pTrigger->name(), *iThresholdName );
43                                upperEdge*=5; // I'm getting incomplete ReducedSamples, I think because there is the odd overflow event.
45                          }
46                          catch( std::exception& error) { /* Do nothing. If no binning suggestions have been set for this trigger use the defaults I set above. */ }
47  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines