ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/CutSetPlotSet.h
(Generate patch)

Comparing UserCode/grimes/VHbbAnalysisCode/interface/CutSetPlotSet.h (file contents):
Revision 1.2 by grimes, Mon Feb 27 11:01:07 2012 UTC vs.
Revision 1.3 by grimes, Wed Aug 15 22:37:46 2012 UTC

# Line 10 | Line 10
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   {
# Line 21 | Line 30 | namespace trkupgradeanalysis
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  
# Line 35 | Line 45 | namespace trkupgradeanalysis
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines