HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
HttValidJetsProducer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Artus/KappaAnalysis/interface/Producers/ValidJetsProducer.h"
5 
6 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
7 
8 
13 class HttValidJetsProducer: public ValidJetsProducer
14 {
15 
16 public:
17 
18  typedef typename KappaTypes::event_type event_type;
19  typedef typename KappaTypes::product_type product_type;
20  typedef typename KappaTypes::setting_type setting_type;
21  typedef typename KappaTypes::metadata_type metadata_type;
26 
27  static bool AdditionalCriteriaStatic(KBasicJet* jet, event_type const& event, product_type& product,
28  setting_type const& settings, metadata_type const& metadata);
29 
30 protected:
31 
32  // Htautau specific additional definitions
33  virtual bool AdditionalCriteria(KBasicJet* jet, event_type const& event, product_type& product,
34  setting_type const& settings, metadata_type const& metadata) const override;
35 
36 };
37 
38 
39 
44 class HttValidTaggedJetsProducer: public ValidTaggedJetsProducer
45 {
46 
47 public:
48 
49  typedef typename KappaTypes::event_type event_type;
50  typedef typename KappaTypes::product_type product_type;
51  typedef typename KappaTypes::setting_type setting_type;
52  typedef typename KappaTypes::metadata_type metadata_type;
57 
58  static bool AdditionalCriteriaStatic(KJet* jet,
59  std::map<size_t, std::vector<std::string> > const& puJetIdsByIndex,
60  std::map<std::string, std::vector<std::string> > const& puJetIdsByHltName,
61  std::map<std::string, std::vector<float> > const& jetTaggerLowerCutsByTaggerName,
62  std::map<std::string, std::vector<float> > const& jetTaggerUpperCutsByTaggerName,
63  event_type const& event, product_type& product,
64  setting_type const& settings, metadata_type const& metadata);
65 
66 protected:
67 
68  // Htautau specific additional definitions
69  virtual bool AdditionalCriteria(KJet* jet, event_type const& event, product_type& product,
70  setting_type const& settings, metadata_type const& metadata) const override;
71 
72 };
KappaTypes::event_type event_type
Definition: HttValidJetsProducer.h:18
Reads settings for all parts of the KappaAnalysis code from a prepared json configuration file...
Definition: HttSettings.h:15
KappaTypes::metadata_type metadata_type
Definition: HttValidJetsProducer.h:52
HttTypes::event_type spec_event_type
Definition: HttValidJetsProducer.h:22
HttTypes::setting_type spec_setting_type
Definition: HttValidJetsProducer.h:24
Producer for valid jets (simple PF jets).
Definition: HttValidJetsProducer.h:13
Definition: HttMetadata.h:9
static bool AdditionalCriteriaStatic(KBasicJet *jet, event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata)
Definition: HttValidJetsProducer.cc:12
KappaTypes::product_type product_type
Definition: HttValidJetsProducer.h:19
HttTypes::metadata_type spec_metadata_type
Definition: HttValidJetsProducer.h:25
HttTypes::metadata_type spec_metadata_type
Definition: HttValidJetsProducer.h:56
static bool AdditionalCriteriaStatic(KJet *jet, std::map< size_t, std::vector< std::string > > const &puJetIdsByIndex, std::map< std::string, std::vector< std::string > > const &puJetIdsByHltName, std::map< std::string, std::vector< float > > const &jetTaggerLowerCutsByTaggerName, std::map< std::string, std::vector< float > > const &jetTaggerUpperCutsByTaggerName, event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata)
Definition: HttValidJetsProducer.cc:32
HttTypes::setting_type spec_setting_type
Definition: HttValidJetsProducer.h:55
virtual bool AdditionalCriteria(KBasicJet *jet, event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: HttValidJetsProducer.cc:5
Producer for valid jets (tagged PF jets).
Definition: HttValidJetsProducer.h:44
virtual bool AdditionalCriteria(KJet *jet, event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: HttValidJetsProducer.cc:22
Definition: HttEvent.h:14
KappaTypes::event_type event_type
Definition: HttValidJetsProducer.h:49
KappaTypes::setting_type setting_type
Definition: HttValidJetsProducer.h:20
KappaTypes::product_type product_type
Definition: HttValidJetsProducer.h:50
HttTypes::product_type spec_product_type
Definition: HttValidJetsProducer.h:54
Definition: HttProduct.h:17
KappaTypes::setting_type setting_type
Definition: HttValidJetsProducer.h:51
KappaTypes::metadata_type metadata_type
Definition: HttValidJetsProducer.h:21
HttTypes::event_type spec_event_type
Definition: HttValidJetsProducer.h:53
HttTypes::product_type spec_product_type
Definition: HttValidJetsProducer.h:23