ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/ElectronInfoCollectionPlotSet.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

# Content
1 #ifndef trkupgradeanalysis_ElectronInfoCollectionPlotSet_h
2 #define trkupgradeanalysis_ElectronInfoCollectionPlotSet_h
3
4 #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
5 #include "TrkUpgradeAnalysis/VHbb/interface/ElectronInfoPlotSet.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 27/Nov/2011
17 */
18 class ElectronInfoCollectionPlotSet
19 {
20 public:
21 ElectronInfoCollectionPlotSet();
22 void book( TDirectory* pDirectory );
23 void fill( const std::vector<VHbbEvent::ElectronInfo>& electronCollection );
24 private:
25 bool histogramHaveBeenBooked_;
26
27 TH1F* pNumberOfElectrons_;
28 trkupgradeanalysis::ElectronInfoPlotSet electronInfoPlotSet_;
29 };
30
31 } // end of namespace trkupgradeanalysis
32
33
34 #endif // end of "#ifndef trkupgradeanalysis_ElectronInfoCollectionPlotSet_h"