CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
24 // system include files
25 #include <memory>
26 #include <iostream>
27 #include <string>
28 #include <vector>
29 
30 // user include files
33 
39 
50 
53 
55 
56 //
57 // class declaration
58 //
59 
60 class L1Validator : public DQMEDAnalyzer {
61  public:
62  explicit L1Validator(const edm::ParameterSet&);
63  ~L1Validator();
64 
65  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
66  void analyze(const edm::Event&, const edm::EventSetup&) override;
67 
68  protected:
69  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
70 
71  private:
72  // ----------member data ---------------------------
75 
83  //edm::EDGetTokenT<l1extra::L1EtMissParticleCollection> _L1ExtraMETSource;
84 
86 
87  //---------------helper functions------------------
88  private:
89  const reco::LeafCandidate *FindBest(const reco::GenParticle *, const std::vector<l1extra::L1EmParticle> *, const std::vector<l1extra::L1EmParticle> *);
90  const reco::LeafCandidate *FindBest(const reco::GenParticle *, const std::vector<l1extra::L1JetParticle> *, const std::vector<l1extra::L1JetParticle> *);
91  const reco::LeafCandidate *FindBest(const reco::GenParticle *, const std::vector<l1extra::L1MuonParticle> *);
92 };
93 
94 //
95 // constants, enums and typedefs
96 //
97 
98 //
99 // static data member definitions
100 //
101 
102 //
103 // constructors and destructor
104 //
105 
106 #endif
std::string _fileName
Definition: L1Validator.h:74
edm::EDGetTokenT< reco::GenParticleCollection > _GenSource
Definition: L1Validator.h:76
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: L1Validator.cc:233
L1Validator(const edm::ParameterSet &)
Definition: L1Validator.cc:54
edm::EDGetTokenT< l1extra::L1JetParticleCollection > _L1ExtraForJetSource
Definition: L1Validator.h:80
std::string _dirName
Definition: L1Validator.h:73
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1Validator.cc:78
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: L1Validator.cc:73
edm::EDGetTokenT< l1extra::L1JetParticleCollection > _L1ExtraTauJetSource
Definition: L1Validator.h:81
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > _L1ExtraMuonSource
Definition: L1Validator.h:82
L1ValidatorHists _Hists
Definition: L1Validator.h:85
edm::EDGetTokenT< l1extra::L1EmParticleCollection > _L1ExtraIsoEGSource
Definition: L1Validator.h:77
const reco::LeafCandidate * FindBest(const reco::GenParticle *, const std::vector< l1extra::L1EmParticle > *, const std::vector< l1extra::L1EmParticle > *)
Definition: L1Validator.cc:161
edm::EDGetTokenT< l1extra::L1EmParticleCollection > _L1ExtraNonIsoEGSource
Definition: L1Validator.h:78
edm::EDGetTokenT< l1extra::L1JetParticleCollection > _L1ExtraCenJetSource
Definition: L1Validator.h:79
Definition: Run.h:43