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
31 
38 
56 
59 
61 
62 //
63 // class declaration
64 //
65 
66 class L1Validator : public DQMEDAnalyzer {
67 public:
68  explicit L1Validator(const edm::ParameterSet &);
69  ~L1Validator() override;
70 
71  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
72  void analyze(const edm::Event &, const edm::EventSetup &) override;
73 
74 protected:
75  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
76 
77 private:
78  // ----------member data ---------------------------
81 
89 
91 
92  //---------------helper functions------------------
93 private:
95  const std::vector<l1extra::L1EmParticle> *,
96  const std::vector<l1extra::L1EmParticle> *);
98  const std::vector<l1extra::L1JetParticle> *,
99  const std::vector<l1extra::L1JetParticle> *);
100  const reco::LeafCandidate *FindBest(const reco::GenParticle *, const std::vector<l1extra::L1MuonParticle> *);
101 };
102 
103 //
104 // constants, enums and typedefs
105 //
106 
107 //
108 // static data member definitions
109 //
110 
111 //
112 // constructors and destructor
113 //
114 
115 #endif
edm::EDGetTokenT< reco::GenJetCollection > _L1GenJetSource
Definition: L1Validator.h:88
std::string _fileName
Definition: L1Validator.h:80
edm::EDGetTokenT< reco::GenParticleCollection > _GenSource
Definition: L1Validator.h:82
edm::EDGetTokenT< GenEventInfoProduct > _srcToken
Definition: L1Validator.h:87
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: L1Validator.cc:332
L1Validator(const edm::ParameterSet &)
Definition: L1Validator.cc:54
~L1Validator() override
Definition: L1Validator.cc:68
edm::EDGetTokenT< l1t::TauBxCollection > _L1TauBXSource
Definition: L1Validator.h:85
edm::EDGetTokenT< l1t::JetBxCollection > _L1JetBXSource
Definition: L1Validator.h:86
std::string _dirName
Definition: L1Validator.h:79
edm::EDGetTokenT< l1t::MuonBxCollection > _L1MuonBXSource
Definition: L1Validator.h:83
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1Validator.cc:75
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: L1Validator.cc:70
L1ValidatorHists _Hists
Definition: L1Validator.h:90
const reco::LeafCandidate * FindBest(const reco::GenParticle *, const std::vector< l1extra::L1EmParticle > *, const std::vector< l1extra::L1EmParticle > *)
Definition: L1Validator.cc:253
edm::EDGetTokenT< l1t::EGammaBxCollection > _L1EGammaBXSource
Definition: L1Validator.h:84
Definition: Run.h:45