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.5 2011/05/20 17:17:28 wmtan Exp $
13 //
14 //
15 
16 
22 
23 
26 
28 
29 class MagneticField;
30 class TFile;
31 class TH1F;
32 class TH1I;
33 class TTree;
34 
36 {
37  public:
38 
39  explicit ElectronSeedAnalyzer( const edm::ParameterSet & conf );
40  virtual ~ElectronSeedAnalyzer();
41  virtual void analyze( const edm::Event &, const edm::EventSetup &);
42  virtual void beginJob();
43  virtual void endJob();
44 
45  private:
46 
48 
49  TFile *histfile_;
50  TTree *tree_;
51  float mcEnergy[10], mcEta[10], mcPhi[10], mcPt[10], mcQ[10];
53  float seedMomentum[10], seedEta[10], seedPhi[10], seedPt[10], seedQ[10];
54  int seedSubdet1[10], seedSubdet2[10];
55  int seedLayer1[10], seedLayer2[10];
56  int seedSide1[10], seedSide2[10];
57  float seedDphi1[10], seedDrz1[10], seedDphi2[10], seedDrz2[10];
58  float seedPhi1[10], seedRz1[10], seedPhi2[10], seedRz2[10];
59  TH1F *histeMC_;
63  TH1F *histp_;
64  TH1F *histeclu_;
65  TH1F *histpt_;
66  TH1F *histptMC_;
70  TH1F *histetclu_;
71  TH1F *histeffpt_;
72  TH1F *histeta_;
73  TH1F *histetaMC_;
77  TH1F *histetaclu_;
78  TH1F *histeffeta_;
79  TH1F *histq_;
80  TH1F *histeoverp_;
81  TH1I *histnrseeds_;
82  TH1I *histnbseeds_;
83  TH1I *histnbclus_;
84 
86 // std::vector<std::pair<const GeomDet*, TrajectoryStateOnSurface> > mapTsos_;
87 // std::vector<std::pair<std::pair<const GeomDet*,GlobalPoint>, TrajectoryStateOnSurface> > mapTsos2_;
88 
89  };
90 
91 #endif
92 
93 
94 
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)