ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ElectronAnalyzer.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_2_2_9_02, all_2_2_9_01
Changes since 1.4: +12 -26 lines
Log Message:
Better protection against missing collection / Cleaning data format selection / Last iteration for migration to PAT of Photons

File Contents

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