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