10 |
|
class TH1F; |
11 |
|
class TDirectory; |
12 |
|
class VHbbCandidate; |
13 |
+ |
class TTree; |
14 |
+ |
class TBranch; |
15 |
+ |
namespace trkupgradeanalysis |
16 |
+ |
{ |
17 |
+ |
namespace tools |
18 |
+ |
{ |
19 |
+ |
class NTupleRow; |
20 |
+ |
} |
21 |
+ |
} |
22 |
|
|
23 |
|
namespace trkupgradeanalysis |
24 |
|
{ |
30 |
|
class CutSetPlotSet |
31 |
|
{ |
32 |
|
public: |
33 |
< |
CutSetPlotSet( boost::shared_ptr<trkupgradeanalysis::VHbbCandidateCutSet> pCutSet ); |
33 |
> |
CutSetPlotSet( boost::shared_ptr<trkupgradeanalysis::VHbbCandidateCutSet> pCutSet, bool createNTupleOfAdditionalVariables=true ); |
34 |
|
void book( TDirectory* pDirectory ); |
35 |
|
void fill( const VHbbCandidate& vhbbCandidate ); |
36 |
+ |
void fill( const trkupgradeanalysis::tools::NTupleRow& ntupleRow ); |
37 |
|
private: |
38 |
|
bool histogramHaveBeenBooked_; |
39 |
|
|
45 |
|
std::vector<TH1F*> nMinus1Plots_; |
46 |
|
std::vector<TH1F*> allCandidatesPlots_; |
47 |
|
std::vector<TH1F*> passedCandidatesPlots_; |
48 |
+ |
std::vector<TH1F*> additionalVariablePlots_; |
49 |
+ |
bool createNTupleOfAdditionalVariables_; |
50 |
+ |
std::vector<TBranch*> additionalVariableBranches_; ///< If ntuplising, a branch for each variable |
51 |
+ |
TTree* pAdditionalVariableTree_; |
52 |
|
}; |
53 |
|
|
54 |
|
} // end of namespace trkupgradeanalysis |