ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/MuonInfoCollectionPlotSet.h
Revision: 1.2
Committed: Fri Apr 27 13:52:13 2012 UTC (13 years ago) by grimes
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +7 -2 lines
Log Message:
Added code to analyse muon isolation.

File Contents

# User Rev Content
1 grimes 1.1 #ifndef trkupgradeanalysis_MuonInfoCollectionPlotSet_h
2     #define trkupgradeanalysis_MuonInfoCollectionPlotSet_h
3    
4     #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
5     #include "TrkUpgradeAnalysis/VHbb/interface/MuonInfoPlotSet.h"
6    
7     // Forward declarations
8     class TH1F;
9     class TDirectory;
10    
11     namespace trkupgradeanalysis
12     {
13     /** @brief A class to take care of booking and filling histograms about MuonInfo objects.
14     *
15     * @author Mark Grimes (mark.grimes@bristol.ac.uk)
16     * @date 27/Nov/2011
17     */
18     class MuonInfoCollectionPlotSet
19     {
20     public:
21 grimes 1.2 /** @brief Only constructor
22     *
23     * createIsolationTree - set whether to record the isolation values in a TTree or not. Default
24     * is off to save space.
25     */
26     MuonInfoCollectionPlotSet( bool createIsolationTree=false );
27 grimes 1.1 void book( TDirectory* pDirectory );
28 grimes 1.2 void fill( const std::vector<VHbbEvent::MuonInfo>& muonCollection, const VHbbEventAuxInfo* pAuxInfo=NULL );
29 grimes 1.1 private:
30     bool histogramHaveBeenBooked_;
31    
32     TH1F* pNumberOfMuons_;
33     trkupgradeanalysis::MuonInfoPlotSet muonInfoPlotSet_;
34     };
35    
36     } // end of namespace trkupgradeanalysis
37    
38    
39     #endif // end of "#ifndef trkupgradeanalysis_MuonInfoCollectionPlotSet_h"