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 // $Id: EcalURecHitHists.h,v 1.5 2010/01/04 15:07:40 ferriff Exp $
17 //
18 //
19 
20 
21 // system include files
22 #include <memory>
23 #include <vector>
24 #include <map>
25 #include <set>
26 
27 // user include files
35 
41 
43 
45 
46 #include "TFile.h"
47 #include "TH1F.h"
48 #include "TGraph.h"
49 #include "TNtuple.h"
51 
52 //
53 // class declaration
54 //
55 
57  public:
58  explicit EcalURecHitHists(const edm::ParameterSet&);
60 
61 
62  private:
63  virtual void beginRun(edm::Run const &, edm::EventSetup const &) ;
64  virtual void analyze(edm::Event const &, edm::EventSetup const &);
65  virtual void endJob() ;
67  void initHists(int);
68 
69  // ----------member data ---------------------------
70 
73  int runNum_;
76 
77  std::vector<int> maskedChannels_;
78  std::vector<int> maskedFEDs_;
79  std::vector<std::string> maskedEBs_;
80  std::map<int,TH1F*> FEDsAndHists_;
81  std::map<int,TH1F*> FEDsAndTimingHists_;
82 
83  TH1F* allFedsHist_;
85 
86  TFile* file;
89 };
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 &)
long long int num
Definition: procUtils.cc:71
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:36