CMS 3D CMS Logo

L1Validator.h
Go to the documentation of this file.
1 #ifndef L1Validator_h
2 #define L1Validator_h
3 
4 // -*- C++ -*-
5 //
6 // Package: L1T
7 // Class: L1Validator
8 //
16 //
17 // Original Author: Scott Wilbur
18 // Created: Wed, 28 Aug 2013 09:42:55 GMT
19 // $Id$
20 //
21 //
22 
23 // system include files
24 #include <iostream>
25 #include <memory>
26 #include <string>
27 #include <vector>
28 
29 // user include files
32 
39 
57 
60 
62 
63 //
64 // class declaration
65 //
66 
67 class L1Validator : public DQMEDAnalyzer {
68 public:
69  explicit L1Validator(const edm::ParameterSet &);
70  ~L1Validator() override;
71 
72  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
73  void analyze(const edm::Event &, const edm::EventSetup &) override;
74 
75 protected:
76  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
77 
78 private:
79  // ----------member data ---------------------------
82 
90 
92 
93  //---------------helper functions------------------
94 private:
96  const std::vector<l1extra::L1EmParticle> *,
97  const std::vector<l1extra::L1EmParticle> *);
99  const std::vector<l1extra::L1JetParticle> *,
100  const std::vector<l1extra::L1JetParticle> *);
101  const reco::LeafCandidate *FindBest(const reco::GenParticle *, const std::vector<l1extra::L1MuonParticle> *);
102 };
103 
104 //
105 // constants, enums and typedefs
106 //
107 
108 //
109 // static data member definitions
110 //
111 
112 //
113 // constructors and destructor
114 //
115 
116 #endif
GenJetCollection.h
L1Validator::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: L1Validator.cc:332
L1Validator::_L1GenJetSource
edm::EDGetTokenT< reco::GenJetCollection > _L1GenJetSource
Definition: L1Validator.h:89
L1MuonParticleFwd.h
ESHandle.h
L1Validator::_GenSource
edm::EDGetTokenT< reco::GenParticleCollection > _GenSource
Definition: L1Validator.h:83
reco::GenParticle
Definition: GenParticle.h:21
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< reco::GenParticleCollection >
Muon.h
L1Validator::~L1Validator
~L1Validator() override
Definition: L1Validator.cc:68
Jet.h
DQMStore.h
L1ValidatorHists.h
EDAnalyzer.h
L1Validator::L1Validator
L1Validator(const edm::ParameterSet &)
Definition: L1Validator.cc:54
GenParticle.h
L1Validator::_srcToken
edm::EDGetTokenT< GenEventInfoProduct > _srcToken
Definition: L1Validator.h:88
MakerMacros.h
L1Validator::_dirName
std::string _dirName
Definition: L1Validator.h:80
EGamma.h
Service.h
L1Validator::_L1JetBXSource
edm::EDGetTokenT< l1t::JetBxCollection > _L1JetBXSource
Definition: L1Validator.h:87
GenParticleFwd.h
L1Validator::_L1TauBXSource
edm::EDGetTokenT< l1t::TauBxCollection > _L1TauBXSource
Definition: L1Validator.h:86
DQMEDAnalyzer.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
L1EmParticleFwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
L1JetParticleFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
L1EtMissParticleFwd.h
GenEventInfoProduct.h
Event.h
L1Validator
Definition: L1Validator.h:67
L1Validator::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: L1Validator.cc:70
L1Validator::_L1MuonBXSource
edm::EDGetTokenT< l1t::MuonBxCollection > _L1MuonBXSource
Definition: L1Validator.h:84
edm::EventSetup
Definition: EventSetup.h:57
L1EmParticle.h
L1MuonParticle.h
Frameworkfwd.h
L1Validator::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1Validator.cc:75
L1Validator::_L1EGammaBXSource
edm::EDGetTokenT< l1t::EGammaBxCollection > _L1EGammaBXSource
Definition: L1Validator.h:85
Provenance.h
L1Validator::FindBest
const reco::LeafCandidate * FindBest(const reco::GenParticle *, const std::vector< l1extra::L1EmParticle > *, const std::vector< l1extra::L1EmParticle > *)
Definition: L1Validator.cc:253
dqm::implementation::IBooker
Definition: DQMStore.h:43
reco::LeafCandidate
Definition: LeafCandidate.h:16
GenJet.h
L1EtMissParticle.h
ParameterSet.h
L1Validator::_Hists
L1ValidatorHists _Hists
Definition: L1Validator.h:91
L1ValidatorHists
Definition: L1ValidatorHists.h:23
edm::Event
Definition: Event.h:73
L1JetParticle.h
Tau.h
L1Validator::_fileName
std::string _fileName
Definition: L1Validator.h:81