ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/ElectronInfoPlotSet.h
Revision: 1.1
Committed: Tue Feb 14 01:43:14 2012 UTC (13 years, 2 months ago) by grimes
Content type: text/plain
Branch: MAIN
Log Message:
Only added the directory structure in the last commit, this is now the files.

File Contents

# User Rev Content
1 grimes 1.1 #ifndef trkupgradeanalysis_ElectronInfoPlotSet_h
2     #define trkupgradeanalysis_ElectronInfoPlotSet_h
3    
4     #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
5    
6     // Forward declarations
7     class TH1F;
8     class TDirectory;
9    
10     namespace trkupgradeanalysis
11     {
12     /** @brief A class to take care of booking and filling histograms about ElectronInfo objects.
13     *
14     * @author Mark Grimes (mark.grimes@bristol.ac.uk)
15     * @date 28/Nov/2011
16     */
17     class ElectronInfoPlotSet
18     {
19     public:
20     ElectronInfoPlotSet();
21     void book( TDirectory* pDirectory );
22     void fill( const VHbbEvent::ElectronInfo& electron );
23     private:
24     bool histogramHaveBeenBooked_;
25    
26     TH1F* pEta_;
27     TH1F* pPt_;
28     };
29    
30     } // end of namespace trkupgradeanalysis
31    
32    
33     #endif // end of "#ifndef trkupgradeanalysis_ElectronInfoPlotSet_h"