ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/CutSetPlotSet.h
Revision: 1.2
Committed: Mon Feb 27 11:01:07 2012 UTC (13 years, 2 months ago) by grimes
Content type: text/plain
Branch: MAIN
Changes since 1.1: +1 -0 lines
Log Message:
Added a pass-through cut type
Added a number of primary vertices plot to MCInfoPlotSet (even though not MC)
Restructured the "name" method of VHbbCandidateCutSets
Added sliding dijet mass cut

File Contents

# User Rev Content
1 grimes 1.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 grimes 1.2 std::vector<TH1F*> passedCandidatesPlots_;
38 grimes 1.1 };
39    
40     } // end of namespace trkupgradeanalysis
41    
42    
43     #endif // end of "#ifndef trkupgradeanalysis_CutSetPlotSet_h"