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 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 };
EcalPulseShapeGrapher::~EcalPulseShapeGrapher
~EcalPulseShapeGrapher() override
Definition: EcalPulseShapeGrapher.cc:78
EcalPulseShapeGrapher::firstSampleHistMap_
std::map< int, TH1F * > firstSampleHistMap_
Definition: EcalPulseShapeGrapher.h:67
EcalPulseShapeGrapher::ampHistMap_
std::map< int, TH1F * > ampHistMap_
Definition: EcalPulseShapeGrapher.h:65
EcalPulseShapeGrapher
Definition: EcalPulseShapeGrapher.h:46
EBDetId.h
EDAnalyzer.h
EcalPulseShapeGrapher::cutAmpHistMap_
std::map< int, TH1F * > cutAmpHistMap_
Definition: EcalPulseShapeGrapher.h:69
EcalRecHitCollections.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
MakerMacros.h
EcalPulseShapeGrapher::rootFilename_
std::string rootFilename_
Definition: EcalPulseShapeGrapher.h:72
EcalDigiCollections.h
EcalPulseShapeGrapher::endJob
void endJob() override
Definition: EcalPulseShapeGrapher.cc:246
EcalPulseShapeGrapher::EBUncalibratedRecHitCollection_
edm::InputTag EBUncalibratedRecHitCollection_
Definition: EcalPulseShapeGrapher.h:57
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalPulseShapeGrapher::fedMap_
EcalFedMap * fedMap_
Definition: EcalPulseShapeGrapher.h:76
EcalPulseShapeGrapher::ampCut_
int ampCut_
Definition: EcalPulseShapeGrapher.h:71
EcalPulseShapeGrapher::pulseShapeHistMap_
std::map< int, TH2F * > pulseShapeHistMap_
Definition: EcalPulseShapeGrapher.h:66
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
EcalFedMap.h
EcalPulseShapeGrapher::abscissa
int abscissa[10]
Definition: EcalPulseShapeGrapher.h:62
EcalElectronicsMapping.h
EcalPulseShapeGrapher::listChannels_
std::vector< int > listChannels_
Definition: EcalPulseShapeGrapher.h:64
edm::EventSetup
Definition: EventSetup.h:57
EcalPulseShapeGrapher::rawPulseShapeHistMap_
std::map< int, TH2F * > rawPulseShapeHistMap_
Definition: EcalPulseShapeGrapher.h:68
EcalPulseShapeGrapher::intToString
std::string intToString(int)
Definition: EcalPulseShapeGrapher.cc:269
EcalPulseShapeGrapher::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EcalPulseShapeGrapher.cc:88
EcalPulseShapeGrapher::EEUncalibratedRecHitCollection_
edm::InputTag EEUncalibratedRecHitCollection_
Definition: EcalPulseShapeGrapher.h:59
EcalPulseShapeGrapher::file_
TFile * file_
Definition: EcalPulseShapeGrapher.h:74
EcalPulseShapeGrapher::EEDigis_
edm::InputTag EEDigis_
Definition: EcalPulseShapeGrapher.h:60
EcalFedMap
Definition: EcalFedMap.h:7
Frameworkfwd.h
EcalPulseShapeGrapher::EBDigis_
edm::InputTag EBDigis_
Definition: EcalPulseShapeGrapher.h:58
EcalPulseShapeGrapher::EcalPulseShapeGrapher
EcalPulseShapeGrapher(const edm::ParameterSet &)
Definition: EcalPulseShapeGrapher.cc:32
ParameterSet.h
EcalPulseShapeGrapher::ordinate
int ordinate[10]
Definition: EcalPulseShapeGrapher.h:63
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15