ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ElectronAnalyzer.h
Revision: 1.6
Committed: Tue Jun 30 15:37:17 2009 UTC (15 years, 10 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: all_2_2_9_03
Branch point for: CMSSW_2_2_X_br
Changes since 1.5: +1 -0 lines
Log Message:
Add ElectronID for RECO format

File Contents

# User Rev Content
1 lethuill 1.1 #ifndef ElectronAnalyzer_h
2     #define ElectronAnalyzer_h
3    
4 lethuill 1.6 #include "DataFormats/Common/interface/ValueMap.h"
5 lethuill 1.1 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
6     #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
7 lethuill 1.2 #include "DataFormats/PatCandidates/interface/Electron.h"
8     #include "DataFormats/EgammaReco/interface/BasicCluster.h"
9     #include "DataFormats/RecoCandidate/interface/IsoDeposit.h"
10     #include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
11 lethuill 1.1
12 lethuill 1.5 #include "../interface/LeptonAnalyzer.h"
13 lethuill 1.2 #include "../interface/TRootElectron.h"
14 lethuill 1.1
15     #include "TClonesArray.h"
16    
17    
18 lethuill 1.5 class ElectronAnalyzer : public LeptonAnalyzer
19     {
20    
21     public:
22     ElectronAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
23     ~ElectronAnalyzer();
24     bool process(const edm::Event& iEvent, TRootBeamSpot* rootBeamSpot, TClonesArray* rootElectrons, EcalClusterLazyTools* lazyTools);
25    
26     private:
27     bool useMC_;
28     edm::InputTag electronProducer_;
29 lethuill 1.1
30     };
31    
32     #endif