1 |
#ifndef ClusterAnalyzer_h
|
2 |
#define ClusterAnalyzer_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/BasicCluster.h"
|
18 |
#include "DataFormats/EgammaReco/interface/ClusterShape.h"
|
19 |
#include "DataFormats/EgammaReco/interface/BasicClusterShapeAssociation.h"
|
20 |
|
21 |
#include "UserCode/Morgan/interface/TRootEvent.h"
|
22 |
#include "UserCode/Morgan/interface/TRootCluster.h"
|
23 |
|
24 |
#include "TClonesArray.h"
|
25 |
|
26 |
|
27 |
class ClusterAnalyzer{
|
28 |
|
29 |
public:
|
30 |
ClusterAnalyzer();
|
31 |
~ClusterAnalyzer();
|
32 |
void SetVerbosity(int idebug) {verbosity = idebug; };
|
33 |
void Process(const edm::Event& iEvent, TRootEvent* rootEvent, TClonesArray* rootClusters, const string moduleLabel, const string instanceName, const string shapesName, const int clusterType);
|
34 |
|
35 |
private:
|
36 |
int verbosity;
|
37 |
int iClus;
|
38 |
|
39 |
};
|
40 |
|
41 |
#endif
|