CMS 3D CMS Logo

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 //
13 //
14 
15 
22 
25 
27 
28 class MagneticField;
29 class TFile;
30 class TH1F;
31 class TH1I;
32 class TTree;
33 
35 {
36  public:
37 
38  explicit ElectronSeedAnalyzer( const edm::ParameterSet & conf );
39  ~ElectronSeedAnalyzer() override;
40  void analyze( const edm::Event &, const edm::EventSetup &) override;
41  void beginJob() override;
42  void endJob() override;
43 
44  private:
45 
47 
48  TFile *histfile_;
49  TTree *tree_;
50  float mcEnergy[10], mcEta[10], mcPhi[10], mcPt[10], mcQ[10];
52  float seedMomentum[10], seedEta[10], seedPhi[10], seedPt[10], seedQ[10];
53  int seedSubdet1[10], seedSubdet2[10];
54  int seedLayer1[10], seedLayer2[10];
55  int seedSide1[10], seedSide2[10];
56  float seedDphi1[10], seedDrz1[10], seedDphi2[10], seedDrz2[10];
57  float seedPhi1[10], seedRz1[10], seedPhi2[10], seedRz2[10];
58  TH1F *histeMC_;
62  TH1F *histp_;
63  TH1F *histeclu_;
64  TH1F *histpt_;
65  TH1F *histptMC_;
69  TH1F *histetclu_;
70  TH1F *histeffpt_;
71  TH1F *histeta_;
72  TH1F *histetaMC_;
76  TH1F *histetaclu_;
77  TH1F *histeffeta_;
78  TH1F *histq_;
79  TH1F *histeoverp_;
80  TH1I *histnrseeds_;
81  TH1I *histnbseeds_;
82  TH1I *histnbclus_;
83 
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 
edm::InputTag inputCollection_
void analyze(const edm::Event &, const edm::EventSetup &) override
TrajectoryStateTransform transformer_
ElectronSeedAnalyzer(const edm::ParameterSet &conf)