CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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&);
59 
60 
61  private:
62  virtual void beginRun(edm::Run const &, edm::EventSetup const &) ;
63  virtual void analyze(edm::Event const &, edm::EventSetup const &);
64  virtual void endJob() ;
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 };
virtual void endJob()
const EcalElectronicsMapping * ecalElectronicsMap_
std::string fileName_
virtual void analyze(edm::Event const &, edm::EventSetup const &)
edm::InputTag EBUncalibratedRecHitCollection_
edm::InputTag EEUncalibratedRecHitCollection_
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_
std::string intToString(int num)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: Run.h:43