CMS 3D CMS Logo

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 
52  private:
53  void analyze(const edm::Event&, const edm::EventSetup&) override;
54  void endJob() override ;
55 
57 
62 
63  int abscissa[10];
64  int ordinate[10];
65  std::vector<int> listChannels_;
66  std::map<int,TH1F*> ampHistMap_;
67  std::map<int,TH2F*> pulseShapeHistMap_;
68  std::map<int,TH1F*> firstSampleHistMap_;
69  std::map<int,TH2F*> rawPulseShapeHistMap_;
70  std::map<int,TH1F*> cutAmpHistMap_;
71 
72  int ampCut_;
74 
75  TFile* file_;
76 
78  // ----------member data ---------------------------
79 };
edm::InputTag EBUncalibratedRecHitCollection_
edm::InputTag EEUncalibratedRecHitCollection_
EcalPulseShapeGrapher(const edm::ParameterSet &)
std::vector< int > listChannels_
std::map< int, TH1F * > ampHistMap_
std::map< int, TH2F * > rawPulseShapeHistMap_
std::map< int, TH1F * > firstSampleHistMap_
std::map< int, TH1F * > cutAmpHistMap_
std::map< int, TH2F * > pulseShapeHistMap_
void analyze(const edm::Event &, const edm::EventSetup &) override