1 |
mlethuil |
1.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/Event.h"
|
11 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
12 |
|
|
#include "FWCore/Framework/interface/ESHandle.h"
|
13 |
|
|
|
14 |
|
|
#include "DataFormats/EgammaReco/interface/BasicCluster.h"
|
15 |
lethuill |
1.2 |
#include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
|
16 |
|
|
#include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
|
17 |
mlethuil |
1.1 |
|
18 |
lethuill |
1.3 |
#include "../interface/TRootEvent.h"
|
19 |
|
|
#include "../interface/TRootCluster.h"
|
20 |
mlethuil |
1.1 |
|
21 |
|
|
#include "TClonesArray.h"
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
class ClusterAnalyzer{
|
25 |
|
|
|
26 |
|
|
public:
|
27 |
lethuill |
1.4 |
ClusterAnalyzer(const edm::ParameterSet& producersNames);
|
28 |
|
|
ClusterAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
|
29 |
mlethuil |
1.1 |
~ClusterAnalyzer();
|
30 |
lethuill |
1.4 |
void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
|
31 |
lethuill |
1.2 |
void Process(const edm::Event& iEvent, TRootEvent* rootEvent, EcalClusterLazyTools& lazyTools, TClonesArray* rootClusters, const string moduleLabel, const string instanceName, const int clusterType);
|
32 |
mlethuil |
1.1 |
|
33 |
|
|
private:
|
34 |
lethuill |
1.4 |
int verbosity_;
|
35 |
|
|
int iClus_;
|
36 |
|
|
std::string dataType_ ;
|
37 |
|
|
|
38 |
mlethuil |
1.1 |
};
|
39 |
|
|
|
40 |
|
|
#endif
|