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" |
14 |
> |
#include "DataFormats/CaloRecHit/interface/CaloCluster.h" |
15 |
> |
#include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h" |
16 |
|
#include "DataFormats/EgammaReco/interface/ClusterShape.h" |
17 |
|
#include "DataFormats/EgammaReco/interface/SuperCluster.h" |
18 |
+ |
#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h" |
19 |
|
|
20 |
|
#include "../interface/TRootEvent.h" |
21 |
|
#include "../interface/TRootSuperCluster.h" |
23 |
|
#include "TClonesArray.h" |
24 |
|
|
25 |
|
|
26 |
< |
class SuperClusterAnalyzer{ |
27 |
< |
|
28 |
< |
public: |
29 |
< |
SuperClusterAnalyzer(const edm::ParameterSet& producersNames); |
30 |
< |
SuperClusterAnalyzer(const edm::ParameterSet& producersNames, int verbosity); |
31 |
< |
~SuperClusterAnalyzer(); |
32 |
< |
void SetVerbosity(int verbosity) {verbosity_ = verbosity; }; |
33 |
< |
void Process(const edm::Event& iEvent, TRootEvent* rootEvent, TClonesArray* rootSuperClusters, const string moduleLabel, const string instanceName, const int clusterType); |
34 |
< |
|
35 |
< |
private: |
36 |
< |
int verbosity_; |
37 |
< |
int iClus_; |
38 |
< |
std::string dataType_ ; |
39 |
< |
bool patEncapsulation_; |
40 |
< |
|
26 |
> |
class SuperClusterAnalyzer |
27 |
> |
{ |
28 |
> |
|
29 |
> |
public: |
30 |
> |
SuperClusterAnalyzer(const edm::ParameterSet& producersNames, int verbosity); |
31 |
> |
~SuperClusterAnalyzer(); |
32 |
> |
void setVerbosity(int verbosity) {verbosity_ = verbosity; }; |
33 |
> |
bool process(const edm::Event& iEvent, TRootEvent* rootEvent, TClonesArray* rootSuperClusters, const string moduleLabel, const string instanceName, const int clusterType); |
34 |
> |
|
35 |
> |
private: |
36 |
> |
int verbosity_; |
37 |
> |
int iClus_; |
38 |
> |
std::string dataType_ ; |
39 |
> |
bool allowMissingCollection_; |
40 |
> |
bool patEncapsulation_; |
41 |
> |
|
42 |
|
}; |
43 |
|
|
44 |
|
#endif |