ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ElectronAnalyzer.h
Revision: 1.4
Committed: Tue Apr 14 16:47:59 2009 UTC (16 years ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: JeSuisBeaucoupPlusGrosQunReco_2_2_7_01, RecoPhoton_2_2_7_02, pat_2_2_7_01, RecoPhoton_2_2_7_01, pat_2_2_5_03
Changes since 1.3: +4 -0 lines
Log Message:
Add number of pixel and strip layers with measurements

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 lethuill 1.4 #include "DataFormats/TrackReco/interface/Track.h"
13     #include "DataFormats/TrackReco/interface/TrackFwd.h"
14     #include "DataFormats/TrackReco/interface/HitPattern.h"
15    
16 lethuill 1.1 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
17     #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
18 lethuill 1.2 #include "DataFormats/PatCandidates/interface/Electron.h"
19     #include "DataFormats/EgammaReco/interface/BasicCluster.h"
20     #include "DataFormats/RecoCandidate/interface/IsoDeposit.h"
21     #include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
22 lethuill 1.1
23 lethuill 1.2 #include "../interface/TRootElectron.h"
24 lethuill 1.1
25     #include "TClonesArray.h"
26    
27    
28     class ElectronAnalyzer{
29    
30     public:
31     ElectronAnalyzer(const edm::ParameterSet& producersNames);
32 lethuill 1.3 ElectronAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
33 lethuill 1.1 ~ElectronAnalyzer();
34     void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
35 lethuill 1.2 void Process(const edm::Event& iEvent, TClonesArray* rootElectrons, EcalClusterLazyTools& lazyTools);
36 lethuill 1.1
37     private:
38     int verbosity_;
39 lethuill 1.2 std::string dataType_ ;
40 lethuill 1.1 edm::InputTag electronProducer_;
41 lethuill 1.3 bool useMC_;
42 lethuill 1.1
43     };
44    
45     #endif