ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/ElectronInfoPlotSet.h
Revision: 1.2
Committed: Wed Aug 15 22:37:46 2012 UTC (12 years, 8 months ago) by grimes
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -3 lines
Log Message:
Long overdue commit with several new files

File Contents

# Content
1 #ifndef trkupgradeanalysis_ElectronInfoPlotSet_h
2 #define trkupgradeanalysis_ElectronInfoPlotSet_h
3
4 #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
5 #include "TrkUpgradeAnalysis/VHbb/interface/LeptonInfoPlotSet.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 ElectronInfo objects.
14 *
15 * @author Mark Grimes (mark.grimes@bristol.ac.uk)
16 * @date 28/Nov/2011
17 */
18 class ElectronInfoPlotSet
19 {
20 public:
21 ElectronInfoPlotSet();
22 void book( TDirectory* pDirectory );
23 void fill( const VHbbEvent::ElectronInfo& electron, const VHbbEventAuxInfo* pAuxInfo=NULL );
24 private:
25 bool histogramHaveBeenBooked_;
26
27 trkupgradeanalysis::LeptonInfoPlotSet<VHbbEvent::ElectronInfo> leptonPlotSet_; ///< Common plots used by electron and muon plotsets
28
29 // Plots specific to electrons
30 TH1F* pID95_;
31 };
32
33 } // end of namespace trkupgradeanalysis
34
35
36 #endif // end of "#ifndef trkupgradeanalysis_ElectronInfoPlotSet_h"