CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalPulseShapeGrapher.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: EcalPulseShapeGrapher
4 // Class: EcalPulseShapeGrapher
5 //
13 //
14 // Original Author: Seth Cooper
15 // Created: Tue Feb 5 11:35:45 CST 2008
16 //
17 //
18 
19 // system include files
20 #include <memory>
21 
22 // user include files
25 
28 
30 #include "TFile.h"
31 #include "TGraph.h"
32 #include "TH2F.h"
33 #include "TProfile.h"
34 #include "TH1F.h"
35 #include <vector>
41 
42 //
43 // class decleration
44 //
45 
47 public:
49  ~EcalPulseShapeGrapher() override;
50 
51 private:
52  void analyze(const edm::Event&, const edm::EventSetup&) override;
53  void endJob() override;
54 
56 
61 
62  int abscissa[10];
63  int ordinate[10];
64  std::vector<int> listChannels_;
65  std::map<int, TH1F*> ampHistMap_;
66  std::map<int, TH2F*> pulseShapeHistMap_;
67  std::map<int, TH1F*> firstSampleHistMap_;
68  std::map<int, TH2F*> rawPulseShapeHistMap_;
69  std::map<int, TH1F*> cutAmpHistMap_;
70 
71  int ampCut_;
73 
74  TFile* file_;
75 
77  // ----------member data ---------------------------
78 };
std::map< int, TH1F * > ampHistMap_
edm::InputTag EBUncalibratedRecHitCollection_
std::map< int, TH1F * > cutAmpHistMap_
edm::InputTag EEUncalibratedRecHitCollection_
EcalPulseShapeGrapher(const edm::ParameterSet &)
std::vector< int > listChannels_
std::map< int, TH1F * > firstSampleHistMap_
std::map< int, TH2F * > pulseShapeHistMap_
std::map< int, TH2F * > rawPulseShapeHistMap_
void analyze(const edm::Event &, const edm::EventSetup &) override