CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 // $Id: EcalPulseShapeGrapher.h,v 1.2 2010/01/04 15:07:40 ferriff Exp $
17 //
18 //
19 
20 // system include files
21 #include <memory>
22 
23 // user include files
26 
29 
31 #include "TFile.h"
32 #include "TGraph.h"
33 #include "TH2F.h"
34 #include "TProfile.h"
35 #include "TH1F.h"
36 #include <vector>
42 
43 //
44 // class decleration
45 //
46 
48  public:
51 
52 
53  private:
54  virtual void analyze(const edm::Event&, const edm::EventSetup&);
55  virtual void endJob() ;
56 
57  std::string intToString(int);
58 
63 
64  int abscissa[10];
65  int ordinate[10];
66  std::vector<int> listChannels_;
67  std::map<int,TH1F*> ampHistMap_;
68  std::map<int,TH2F*> pulseShapeHistMap_;
69  std::map<int,TH1F*> firstSampleHistMap_;
70  std::map<int,TH2F*> rawPulseShapeHistMap_;
71  std::map<int,TH1F*> cutAmpHistMap_;
72 
73  int ampCut_;
74  std::string rootFilename_;
75 
76  TFile* file_;
77 
79  // ----------member data ---------------------------
80 };
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_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::map< int, TH2F * > pulseShapeHistMap_