1 |
mlethuil |
1.1 |
#ifndef SuperClusterAnalyzer_h
|
2 |
|
|
#define SuperClusterAnalyzer_h
|
3 |
|
|
|
4 |
|
|
// system include files
|
5 |
|
|
#include <memory>
|
6 |
|
|
#include <string>
|
7 |
|
|
#include <iostream>
|
8 |
|
|
|
9 |
|
|
// user include files
|
10 |
|
|
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
11 |
|
|
#include "FWCore/Framework/interface/EDAnalyzer.h"
|
12 |
|
|
#include "FWCore/Framework/interface/Event.h"
|
13 |
|
|
#include "FWCore/Framework/interface/MakerMacros.h"
|
14 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
15 |
|
|
#include "FWCore/Framework/interface/ESHandle.h"
|
16 |
|
|
|
17 |
|
|
#include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
|
18 |
|
|
#include "DataFormats/EgammaReco/interface/BasicCluster.h"
|
19 |
|
|
#include "DataFormats/EgammaReco/interface/ClusterShape.h"
|
20 |
|
|
#include "DataFormats/EgammaReco/interface/SuperCluster.h"
|
21 |
|
|
|
22 |
|
|
#include "UserCode/Morgan/interface/TRootEvent.h"
|
23 |
|
|
#include "UserCode/Morgan/interface/TRootSuperCluster.h"
|
24 |
|
|
|
25 |
|
|
#include "TClonesArray.h"
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
class SuperClusterAnalyzer{
|
29 |
|
|
|
30 |
|
|
public:
|
31 |
|
|
SuperClusterAnalyzer();
|
32 |
|
|
~SuperClusterAnalyzer();
|
33 |
|
|
void SetVerbosity(int idebug) {verbosity = idebug; };
|
34 |
|
|
void Process(const edm::Event& iEvent, TRootEvent* rootEvent, TClonesArray* rootClusters, const string moduleLabel, const string instanceName, const int clusterType);
|
35 |
|
|
|
36 |
|
|
private:
|
37 |
|
|
int verbosity;
|
38 |
|
|
int iClus;
|
39 |
|
|
|
40 |
|
|
};
|
41 |
|
|
|
42 |
|
|
#endif
|