1 |
grimes |
1.1 |
#ifndef trkupgradeanalysis_ElectronInfoPlotSet_h
|
2 |
|
|
#define trkupgradeanalysis_ElectronInfoPlotSet_h
|
3 |
|
|
|
4 |
|
|
#include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
|
5 |
grimes |
1.2 |
#include "TrkUpgradeAnalysis/VHbb/interface/LeptonInfoPlotSet.h"
|
6 |
grimes |
1.1 |
|
7 |
|
|
// Forward declarations
|
8 |
|
|
class TH1F;
|
9 |
|
|
class TDirectory;
|
10 |
|
|
|
11 |
|
|
namespace trkupgradeanalysis
|
12 |
|
|
{
|
13 |
|
|
/** @brief A class to take care of booking and filling histograms about ElectronInfo objects.
|
14 |
|
|
*
|
15 |
|
|
* @author Mark Grimes (mark.grimes@bristol.ac.uk)
|
16 |
|
|
* @date 28/Nov/2011
|
17 |
|
|
*/
|
18 |
|
|
class ElectronInfoPlotSet
|
19 |
|
|
{
|
20 |
|
|
public:
|
21 |
|
|
ElectronInfoPlotSet();
|
22 |
|
|
void book( TDirectory* pDirectory );
|
23 |
grimes |
1.2 |
void fill( const VHbbEvent::ElectronInfo& electron, const VHbbEventAuxInfo* pAuxInfo=NULL );
|
24 |
grimes |
1.1 |
private:
|
25 |
|
|
bool histogramHaveBeenBooked_;
|
26 |
|
|
|
27 |
grimes |
1.2 |
trkupgradeanalysis::LeptonInfoPlotSet<VHbbEvent::ElectronInfo> leptonPlotSet_; ///< Common plots used by electron and muon plotsets
|
28 |
|
|
|
29 |
|
|
// Plots specific to electrons
|
30 |
|
|
TH1F* pID95_;
|
31 |
grimes |
1.1 |
};
|
32 |
|
|
|
33 |
|
|
} // end of namespace trkupgradeanalysis
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
#endif // end of "#ifndef trkupgradeanalysis_ElectronInfoPlotSet_h"
|