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 
21 
24 
26 
27 class MagneticField;
28 class TFile;
29 class TH1F;
30 class TH1I;
31 class TTree;
32 
34 public:
35  explicit ElectronSeedAnalyzer(const edm::ParameterSet &conf);
36  ~ElectronSeedAnalyzer() override;
37  void analyze(const edm::Event &, const edm::EventSetup &) override;
38  void beginJob() override;
39  void endJob() override;
40 
41 private:
43 
44  TFile *histfile_;
45  TTree *tree_;
46  float mcEnergy[10], mcEta[10], mcPhi[10], mcPt[10], mcQ[10];
48  float seedMomentum[10], seedEta[10], seedPhi[10], seedPt[10], seedQ[10];
49  int seedSubdet1[10], seedSubdet2[10];
50  int seedLayer1[10], seedLayer2[10];
51  int seedSide1[10], seedSide2[10];
52  float seedDphi1[10], seedDrz1[10], seedDphi2[10], seedDrz2[10];
53  float seedPhi1[10], seedRz1[10], seedPhi2[10], seedRz2[10];
54  TH1F *histeMC_;
58  TH1F *histp_;
59  TH1F *histeclu_;
60  TH1F *histpt_;
61  TH1F *histptMC_;
65  TH1F *histetclu_;
66  TH1F *histeffpt_;
67  TH1F *histeta_;
68  TH1F *histetaMC_;
72  TH1F *histetaclu_;
73  TH1F *histeffeta_;
74  TH1F *histq_;
75  TH1F *histeoverp_;
76  TH1I *histnrseeds_;
77  TH1I *histnbseeds_;
78  TH1I *histnbclus_;
79 
82  // std::vector<std::pair<const GeomDet*, TrajectoryStateOnSurface> > mapTsos_;
83  // std::vector<std::pair<std::pair<const GeomDet*,GlobalPoint>, TrajectoryStateOnSurface> > mapTsos2_;
84 };
85 
86 #endif
edm::InputTag inputCollection_
void analyze(const edm::Event &, const edm::EventSetup &) override
TrajectoryStateTransform transformer_
ElectronSeedAnalyzer(const edm::ParameterSet &conf)