ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/src/MuonInfoCollectionPlotSet.cpp
(Generate patch)

Comparing UserCode/grimes/VHbbAnalysisCode/src/MuonInfoCollectionPlotSet.cpp (file contents):
Revision 1.1 by grimes, Tue Feb 14 01:43:16 2012 UTC vs.
Revision 1.2 by grimes, Fri Apr 27 13:52:14 2012 UTC

# Line 6 | Line 6
6   #include <TH1F.h>
7  
8  
9 < trkupgradeanalysis::MuonInfoCollectionPlotSet::MuonInfoCollectionPlotSet()
10 <        : histogramHaveBeenBooked_(false)
9 > trkupgradeanalysis::MuonInfoCollectionPlotSet::MuonInfoCollectionPlotSet( bool createIsolationTree )
10 >        : histogramHaveBeenBooked_(false), muonInfoPlotSet_(createIsolationTree)
11   {
12          // No operation besides the initialiser list.
13   }
# Line 30 | Line 30 | void trkupgradeanalysis::MuonInfoCollect
30          histogramHaveBeenBooked_=true;
31   }
32  
33 < void trkupgradeanalysis::MuonInfoCollectionPlotSet::fill( const std::vector<VHbbEvent::MuonInfo>& muonCollection )
33 > void trkupgradeanalysis::MuonInfoCollectionPlotSet::fill( const std::vector<VHbbEvent::MuonInfo>& muonCollection, const VHbbEventAuxInfo* pAuxInfo )
34   {
35          if( !histogramHaveBeenBooked_ ) throw std::runtime_error( "trkupgradeanalysis::MuonInfoCollectionPlotSet::book() - histograms have not been booked" );
36  
# Line 38 | Line 38 | void trkupgradeanalysis::MuonInfoCollect
38  
39          for( std::vector<VHbbEvent::MuonInfo>::const_iterator iMuon=muonCollection.begin(); iMuon!=muonCollection.end(); ++iMuon )
40          {
41 <                muonInfoPlotSet_.fill( *iMuon );
41 >                muonInfoPlotSet_.fill( *iMuon, pAuxInfo );
42          }
43  
44   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines