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

File Contents

# Content
1 #ifndef trkupgradeanalysis_SimpleJetCollectionPlotSet_h
2 #define trkupgradeanalysis_SimpleJetCollectionPlotSet_h
3
4 #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
5 #include "TrkUpgradeAnalysis/VHbb/interface/SimpleJetPlotSet.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 SimpleJet object collections.
14 *
15 * @author Mark Grimes (mark.grimes@bristol.ac.uk)
16 * @date 23/May/2012
17 */
18 class SimpleJetCollectionPlotSet
19 {
20 public:
21 SimpleJetCollectionPlotSet();
22 void book( TDirectory* pDirectory );
23 void fill( const std::vector<VHbbEvent::SimpleJet>& jetCollection, const VHbbEventAuxInfo* pAuxInfo=NULL );
24 private:
25 bool histogramHaveBeenBooked_;
26
27 TH1F* pNumberOfJets_;
28 trkupgradeanalysis::SimpleJetPlotSet simpleJetPlotSet_;
29 };
30
31 } // end of namespace trkupgradeanalysis
32
33
34 #endif // end of "#ifndef trkupgradeanalysis_SimpleJetCollectionPlotSet_h"