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