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 };
EcalURecHitHists::EcalURecHitHists
EcalURecHitHists(const edm::ParameterSet &)
Definition: EcalURecHitHists.cc:36
EcalElectronicsMapping
Definition: EcalElectronicsMapping.h:28
EcalURecHitHists
Definition: EcalURecHitHists.h:54
EcalURecHitHists::analyze
void analyze(edm::Event const &, edm::EventSetup const &) override
Definition: EcalURecHitHists.cc:81
ESHandle.h
EcalURecHitHists::FEDsAndTimingHists_
std::map< int, TH1F * > FEDsAndTimingHists_
Definition: EcalURecHitHists.h:78
edm::Run
Definition: Run.h:45
EcalURecHitHists::intToString
std::string intToString(int num)
Definition: EcalURecHitHists.cc:242
EcalUncalibratedRecHit.h
EcalURecHitHists::allFedsHist_
TH1F * allFedsHist_
Definition: EcalURecHitHists.h:80
EDAnalyzer.h
EcalURecHitHists::maskedEBs_
std::vector< std::string > maskedEBs_
Definition: EcalURecHitHists.h:76
EcalURecHitHists::maskedFEDs_
std::vector< int > maskedFEDs_
Definition: EcalURecHitHists.h:75
EcalURecHitHists::maskedChannels_
std::vector< int > maskedChannels_
Definition: EcalURecHitHists.h:74
EcalRecHitCollections.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
EcalRawDataCollections.h
MakerMacros.h
EcalURecHitHists::allFedsTimingHist_
TH1F * allFedsTimingHist_
Definition: EcalURecHitHists.h:81
EcalURecHitHists::~EcalURecHitHists
~EcalURecHitHists() override
Definition: EcalURecHitHists.cc:74
EcalMappingRcd.h
EcalDigiCollections.h
EcalURecHitHists::histRangeMin_
double histRangeMin_
Definition: EcalURecHitHists.h:71
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalURecHitHists::fedMap_
EcalFedMap * fedMap_
Definition: EcalURecHitHists.h:84
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
EcalFedMap.h
EcalURecHitHists::ecalElectronicsMap_
const EcalElectronicsMapping * ecalElectronicsMap_
Definition: EcalURecHitHists.h:85
EcalURecHitHists::runNum_
int runNum_
Definition: EcalURecHitHists.h:70
EcalElectronicsMapping.h
EcalURecHitHists::fileName_
std::string fileName_
Definition: EcalURecHitHists.h:72
edm::EventSetup
Definition: EventSetup.h:57
EcalURecHitHists::initHists
void initHists(int)
Definition: EcalURecHitHists.cc:173
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
EcalURecHitHists::EEUncalibratedRecHitCollection_
edm::InputTag EEUncalibratedRecHitCollection_
Definition: EcalURecHitHists.h:69
EcalFedMap
Definition: EcalFedMap.h:7
EcalURecHitHists::EBUncalibratedRecHitCollection_
edm::InputTag EBUncalibratedRecHitCollection_
Definition: EcalURecHitHists.h:68
DetId.h
Frameworkfwd.h
EcalURecHitHists::file
TFile * file
Definition: EcalURecHitHists.h:83
EcalURecHitHists::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalURecHitHists.cc:196
EventSetup.h
EcalURecHitHists::endJob
void endJob() override
Definition: EcalURecHitHists.cc:203
ParameterSet.h
edm::Event
Definition: Event.h:73
EcalURecHitHists::histRangeMax_
double histRangeMax_
Definition: EcalURecHitHists.h:71
edm::InputTag
Definition: InputTag.h:15
EcalURecHitHists::FEDsAndHists_
std::map< int, TH1F * > FEDsAndHists_
Definition: EcalURecHitHists.h:77