ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/MCInfoPlotSet.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
CVS Tags: HEAD
Changes since 1.1: +6 -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

# Content
1 #ifndef trkupgradeanalysis_MCInfoPlotSet_h
2 #define trkupgradeanalysis_MCInfoPlotSet_h
3
4 #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEventAuxInfo.h"
5
6 #include <map>
7 #include <string>
8
9 // Forward declarations
10 class TH1F;
11 class TDirectory;
12
13 namespace trkupgradeanalysis
14 {
15 /** @brief A class to take care of booking and filling histograms about Monte Carlo information in the event.
16 *
17 * @author Mark Grimes (mark.grimes@bristol.ac.uk)
18 * @date 15/Jan/2012
19 */
20 class MCInfoPlotSet
21 {
22 public:
23 MCInfoPlotSet();
24 void book( TDirectory* pDirectory );
25 void fill( const VHbbEventAuxInfo& eventAuxInfo );
26 private:
27 bool histogramHaveBeenBooked_;
28
29 TH1F* pEventString_;
30 std::map<std::string,int> stringToBinMap_;
31
32 TH1F* pNumberOfBunchCrossings_;
33 TH1F* pNumberOfInteractionsPerBunchCrossing_;
34 TH1F* pTotalInteractionsPerEvent_;
35
36 TH1F* pNumberOfPrimaryVertices_; ///< @brief Not MC related, but it's in the AuxInfo object so easier to plot it here.
37 };
38
39 } // end of namespace trkupgradeanalysis
40
41
42 #endif // end of "#ifndef trkupgradeanalysis_MCInfoPlotSet_h"