CMS 3D CMS Logo

EcalURecHitHists.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: EcalURecHitHists
4 // Class: EcalURecHitHists
5 //
13 //
14 // Original Author: Seth COOPER
15 // Created: Th Nov 22 5:46:22 CEST 2007
16 //
17 //
18 
19 // system include files
20 #include <memory>
21 #include <vector>
22 #include <map>
23 #include <set>
24 
25 // user include files
33 
39 
41 
43 
44 #include "TFile.h"
45 #include "TH1F.h"
46 #include "TGraph.h"
47 #include "TNtuple.h"
49 
50 //
51 // class declaration
52 //
53 
55 public:
56  explicit EcalURecHitHists(const edm::ParameterSet&);
57  ~EcalURecHitHists() override;
58 
59 private:
60  void beginRun(edm::Run const&, edm::EventSetup const&) override;
61  void analyze(edm::Event const&, edm::EventSetup const&) override;
62  void endJob() override;
64  void initHists(int);
65 
66  // ----------member data ---------------------------
67 
70  int runNum_;
73 
74  std::vector<int> maskedChannels_;
75  std::vector<int> maskedFEDs_;
76  std::vector<std::string> maskedEBs_;
77  std::map<int, TH1F*> FEDsAndHists_;
78  std::map<int, TH1F*> FEDsAndTimingHists_;
79 
80  TH1F* allFedsHist_;
82 
83  TFile* file;
86 };
const EcalElectronicsMapping * ecalElectronicsMap_
std::string fileName_
edm::InputTag EBUncalibratedRecHitCollection_
void beginRun(edm::Run const &, edm::EventSetup const &) override
edm::InputTag EEUncalibratedRecHitCollection_
void endJob() override
void analyze(edm::Event const &, edm::EventSetup const &) override
std::map< int, TH1F * > FEDsAndHists_
std::map< int, TH1F * > FEDsAndTimingHists_
EcalURecHitHists(const edm::ParameterSet &)
std::vector< int > maskedChannels_
std::vector< std::string > maskedEBs_
std::vector< int > maskedFEDs_
EcalFedMap * fedMap_
~EcalURecHitHists() override
std::string intToString(int num)
Definition: Run.h:45