ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ElectronAnalyzer.h
Revision: 1.2
Committed: Mon Dec 1 15:58:04 2008 UTC (16 years, 5 months ago) by lethuill
Content type: text/plain
Branch: MAIN
Changes since 1.1: +7 -2 lines
Log Message:
Proto-version for use with different data formats (RECO/AOD/PAT/PAT+AOD)
Replace the absolute path /UserCode/Morgan with a relative one

File Contents

# User Rev Content
1 lethuill 1.1 #ifndef ElectronAnalyzer_h
2     #define ElectronAnalyzer_h
3    
4     // system include files
5     #include <iostream>
6    
7     // user include files
8     #include "FWCore/Framework/interface/Event.h"
9     #include "FWCore/ParameterSet/interface/ParameterSet.h"
10     #include "FWCore/Framework/interface/ESHandle.h"
11    
12     #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
13     #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
14 lethuill 1.2 #include "DataFormats/PatCandidates/interface/Electron.h"
15     #include "DataFormats/EgammaReco/interface/BasicCluster.h"
16     #include "DataFormats/RecoCandidate/interface/IsoDeposit.h"
17     #include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
18 lethuill 1.1
19 lethuill 1.2 #include "../interface/TRootElectron.h"
20 lethuill 1.1
21     #include "TClonesArray.h"
22    
23    
24     class ElectronAnalyzer{
25    
26     public:
27     ElectronAnalyzer(const edm::ParameterSet& producersNames);
28     ElectronAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
29     ~ElectronAnalyzer();
30     void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
31 lethuill 1.2 void Process(const edm::Event& iEvent, TClonesArray* rootElectrons, EcalClusterLazyTools& lazyTools);
32 lethuill 1.1
33     private:
34     int verbosity_;
35 lethuill 1.2 std::string dataType_ ;
36 lethuill 1.1 edm::InputTag electronProducer_;
37    
38     };
39    
40     #endif