CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronSeedAnalyzer.h
Go to the documentation of this file.
1 #ifndef ElectronSeedAnalyzer_h
2 #define ElectronSeedAnalyzer_h
3 
4 //
5 // Package: RecoEgamma/ElectronTrackSeed
6 // Class: ElectronSeedAnalyzer
7 //
8 
9 //
10 // Original Author: Ursula Berthon, Claude Charlot
11 // Created: Mon Mar 27 13:22:06 CEST 2006
12 // $Id: ElectronSeedAnalyzer.h,v 1.3 2009/10/07 23:34:44 charlot Exp $
13 //
14 //
15 
16 
22 
24 
27 
29 
30 class MagneticField;
31 class TFile;
32 class TH1F;
33 class TH1I;
34 class TTree;
35 
37 {
38  public:
39 
40  explicit ElectronSeedAnalyzer( const edm::ParameterSet & conf );
41  virtual ~ElectronSeedAnalyzer();
42  virtual void analyze( const edm::Event &, const edm::EventSetup &);
43  virtual void beginJob();
44  virtual void endJob();
45 
46  private:
47 
49 
50  TFile *histfile_;
51  TTree *tree_;
52  float mcEnergy[10], mcEta[10], mcPhi[10], mcPt[10], mcQ[10];
54  float seedMomentum[10], seedEta[10], seedPhi[10], seedPt[10], seedQ[10];
55  int seedSubdet1[10], seedSubdet2[10];
56  int seedLayer1[10], seedLayer2[10];
57  int seedSide1[10], seedSide2[10];
58  float seedDphi1[10], seedDrz1[10], seedDphi2[10], seedDrz2[10];
59  float seedPhi1[10], seedRz1[10], seedPhi2[10], seedRz2[10];
60  TH1F *histeMC_;
64  TH1F *histp_;
65  TH1F *histeclu_;
66  TH1F *histpt_;
67  TH1F *histptMC_;
71  TH1F *histetclu_;
72  TH1F *histeffpt_;
73  TH1F *histeta_;
74  TH1F *histetaMC_;
78  TH1F *histetaclu_;
79  TH1F *histeffeta_;
80  TH1F *histq_;
81  TH1F *histeoverp_;
82  TH1I *histnrseeds_;
83  TH1I *histnbseeds_;
84  TH1I *histnbclus_;
85 
87 // std::vector<std::pair<const GeomDet*, TrajectoryStateOnSurface> > mapTsos_;
88 // std::vector<std::pair<std::pair<const GeomDet*,GlobalPoint>, TrajectoryStateOnSurface> > mapTsos2_;
89 
90  };
91 
92 #endif
93 
94 
95 
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::InputTag inputCollection_
tuple conf
Definition: dbtoconf.py:185
TrajectoryStateTransform transformer_
ElectronSeedAnalyzer(const edm::ParameterSet &conf)