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"
|