ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ClusterAnalyzer.h
Revision: 1.5
Committed: Wed Jun 10 11:17:05 2009 UTC (15 years, 10 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: all_3_3_2_01, all_3_2_5_02, all_3_2_5_01, all_2_2_9_03, all_2_2_9_02, all_2_2_9_01, HEAD
Branch point for: CMSSW_2_2_X_br
Changes since 1.4: +15 -14 lines
Log Message:
Better protection against missing collection / Cleaning data format selection / Last iteration for migration to PAT of Photons

File Contents

# Content
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 #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
16 #include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
17
18 #include "../interface/TRootEvent.h"
19 #include "../interface/TRootCluster.h"
20
21 #include "TClonesArray.h"
22
23
24 class ClusterAnalyzer
25 {
26
27 public:
28 ClusterAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
29 ~ClusterAnalyzer();
30 void setVerbosity(int verbosity) {verbosity_ = verbosity; };
31 bool process(const edm::Event& iEvent, TRootEvent* rootEvent, EcalClusterLazyTools* lazyTools, TClonesArray* rootClusters, const string moduleLabel, const string instanceName, const int clusterType);
32
33 private:
34 int verbosity_;
35 int iClus_;
36 std::string dataType_ ;
37 bool allowMissingCollection_;
38
39 };
40
41 #endif