1 |
#ifndef trkupgradeanalysis_ElectronInfoPlotSet_h
|
2 |
#define trkupgradeanalysis_ElectronInfoPlotSet_h
|
3 |
|
4 |
#include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
|
5 |
|
6 |
// Forward declarations
|
7 |
class TH1F;
|
8 |
class TDirectory;
|
9 |
|
10 |
namespace trkupgradeanalysis
|
11 |
{
|
12 |
/** @brief A class to take care of booking and filling histograms about ElectronInfo objects.
|
13 |
*
|
14 |
* @author Mark Grimes (mark.grimes@bristol.ac.uk)
|
15 |
* @date 28/Nov/2011
|
16 |
*/
|
17 |
class ElectronInfoPlotSet
|
18 |
{
|
19 |
public:
|
20 |
ElectronInfoPlotSet();
|
21 |
void book( TDirectory* pDirectory );
|
22 |
void fill( const VHbbEvent::ElectronInfo& electron );
|
23 |
private:
|
24 |
bool histogramHaveBeenBooked_;
|
25 |
|
26 |
TH1F* pEta_;
|
27 |
TH1F* pPt_;
|
28 |
};
|
29 |
|
30 |
} // end of namespace trkupgradeanalysis
|
31 |
|
32 |
|
33 |
#endif // end of "#ifndef trkupgradeanalysis_ElectronInfoPlotSet_h"
|