ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/CutSetPlotSet.h
Revision: 1.1
Committed: Tue Feb 14 01:43:13 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_CutSetPlotSet_h
2 #define trkupgradeanalysis_CutSetPlotSet_h
3
4 #include <vector>
5 #include <boost/shared_ptr.hpp>
6 #include "TrkUpgradeAnalysis/VHbb/interface/VHbbCandidatePlotSet.h"
7 #include "TrkUpgradeAnalysis/VHbb/interface/VHbbCandidateCutSets.h"
8
9 // Forward declarations
10 class TH1F;
11 class TDirectory;
12 class VHbbCandidate;
13
14 namespace trkupgradeanalysis
15 {
16 /** @brief A class to take care of booking and filling histograms about cuts on VHbbCandidates.
17 *
18 * @author Mark Grimes (mark.grimes@bristol.ac.uk)
19 * @date 26/Nov/2011
20 */
21 class CutSetPlotSet
22 {
23 public:
24 CutSetPlotSet( boost::shared_ptr<trkupgradeanalysis::VHbbCandidateCutSet> pCutSet );
25 void book( TDirectory* pDirectory );
26 void fill( const VHbbCandidate& vhbbCandidate );
27 private:
28 bool histogramHaveBeenBooked_;
29
30 boost::shared_ptr<trkupgradeanalysis::VHbbCandidateCutSet> pCutSet_;
31
32 VHbbCandidatePlotSet passedCandidateHistograms_;
33 TH1F* pCutsPassed_;
34 TH1F* pCutFlow_;
35 std::vector<TH1F*> nMinus1Plots_;
36 std::vector<TH1F*> allCandidatesPlots_;
37 };
38
39 } // end of namespace trkupgradeanalysis
40
41
42 #endif // end of "#ifndef trkupgradeanalysis_CutSetPlotSet_h"