7 |
|
#include <iostream> |
8 |
|
|
9 |
|
// user include files |
10 |
– |
#include "FWCore/Framework/interface/Frameworkfwd.h" |
11 |
– |
#include "FWCore/Framework/interface/EDAnalyzer.h" |
10 |
|
#include "FWCore/Framework/interface/Event.h" |
13 |
– |
#include "FWCore/Framework/interface/MakerMacros.h" |
11 |
|
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
12 |
|
#include "FWCore/Framework/interface/ESHandle.h" |
13 |
|
|
22 |
|
#include "TClonesArray.h" |
23 |
|
|
24 |
|
|
25 |
< |
class SuperClusterAnalyzer{ |
26 |
< |
|
27 |
< |
public: |
28 |
< |
SuperClusterAnalyzer(); |
29 |
< |
~SuperClusterAnalyzer(); |
30 |
< |
void SetVerbosity(int idebug) {verbosity = idebug; }; |
31 |
< |
void Process(const edm::Event& iEvent, TRootEvent* rootEvent, TClonesArray* rootClusters, const string moduleLabel, const string instanceName, const int clusterType); |
32 |
< |
|
33 |
< |
private: |
34 |
< |
int verbosity; |
35 |
< |
int iClus; |
36 |
< |
|
25 |
> |
class SuperClusterAnalyzer |
26 |
> |
{ |
27 |
> |
|
28 |
> |
public: |
29 |
> |
SuperClusterAnalyzer(const edm::ParameterSet& producersNames, int verbosity); |
30 |
> |
~SuperClusterAnalyzer(); |
31 |
> |
void setVerbosity(int verbosity) {verbosity_ = verbosity; }; |
32 |
> |
bool process(const edm::Event& iEvent, TRootEvent* rootEvent, TClonesArray* rootSuperClusters, const string moduleLabel, const string instanceName, const int clusterType); |
33 |
> |
|
34 |
> |
private: |
35 |
> |
int verbosity_; |
36 |
> |
int iClus_; |
37 |
> |
std::string dataType_ ; |
38 |
> |
bool allowMissingCollection_; |
39 |
> |
bool patEncapsulation_; |
40 |
> |
|
41 |
|
}; |
42 |
|
|
43 |
|
#endif |