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

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