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
edm::EDGetTokenT< reco::GenJetCollection > _L1GenJetSource
Definition: L1Validator.h:89
std::string _fileName
Definition: L1Validator.h:81
edm::EDGetTokenT< reco::GenParticleCollection > _GenSource
Definition: L1Validator.h:83
edm::EDGetTokenT< GenEventInfoProduct > _srcToken
Definition: L1Validator.h:88
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:86
edm::EDGetTokenT< l1t::JetBxCollection > _L1JetBXSource
Definition: L1Validator.h:87
std::string _dirName
Definition: L1Validator.h:80
edm::EDGetTokenT< l1t::MuonBxCollection > _L1MuonBXSource
Definition: L1Validator.h:84
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:91
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:85
Definition: Run.h:45