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 
20 // system include files
21 #include <memory>
22 #include <vector>
23 #include <map>
24 #include <set>
25 
26 // user include files
34 
40 
42 
44 
45 #include "TFile.h"
46 #include "TH1F.h"
47 #include "TGraph.h"
48 #include "TNtuple.h"
50 
51 //
52 // class declaration
53 //
54 
56  public:
57  explicit EcalURecHitHists(const edm::ParameterSet&);
58  ~EcalURecHitHists() override;
59 
60 
61  private:
62  void beginRun(edm::Run const &, edm::EventSetup const &) override ;
63  void analyze(edm::Event const &, edm::EventSetup const &) override;
64  void endJob() override ;
66  void initHists(int);
67 
68  // ----------member data ---------------------------
69 
72  int runNum_;
75 
76  std::vector<int> maskedChannels_;
77  std::vector<int> maskedFEDs_;
78  std::vector<std::string> maskedEBs_;
79  std::map<int,TH1F*> FEDsAndHists_;
80  std::map<int,TH1F*> FEDsAndTimingHists_;
81 
82  TH1F* allFedsHist_;
84 
85  TFile* file;
88 };
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_
EcalURecHitHists(const edm::ParameterSet &)
std::vector< int > maskedChannels_
std::map< int, TH1F * > FEDsAndTimingHists_
std::vector< std::string > maskedEBs_
std::vector< int > maskedFEDs_
EcalFedMap * fedMap_
~EcalURecHitHists() override
std::string intToString(int num)
Definition: Run.h:43