CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TtFullHadKinFitProducer.h
Go to the documentation of this file.
1 #ifndef TtFullHadKinFitProducer_h
2 #define TtFullHadKinFitProducer_h
3 
7 
10 
11 /*
12  \class TtFullHadKinFitProducer TtFullHadKinFitProducer.h "TopQuarkAnalysis/TopKinFitter/plugins/TtFullHadKinFitProducer.h"
13 
14  \brief Retrieve kinFit result from TtFullHadKinFitter and put it into the event
15 
16  Get jet collection and if wanted match from the event content and do the kinematic fit
17  of the event with this objects using the kinFit class from TtFullHadKinFitter and put
18  the result into the event content
19 
20 **/
21 
23 public:
27  ~TtFullHadKinFitProducer() override;
28 
29 private:
31  void produce(edm::Event& event, const edm::EventSetup& setup) override;
32 
33 private:
50  unsigned int bTags_;
54  int maxNJets_;
56  int maxNComb_;
58  unsigned int maxNrIter_;
60  double maxDeltaS_;
62  double maxF_;
64  unsigned int jetParam_;
66  std::vector<unsigned> constraints_;
68  double mW_;
70  double mTop_;
72  std::vector<edm::ParameterSet> udscResolutions_, bResolutions_;
74  std::vector<double> jetEnergyResolutionScaleFactors_;
75  std::vector<double> jetEnergyResolutionEtaBinning_;
76 
77 public:
80 };
81 
82 #endif
tuple cfg
Definition: looper.py:296
TtFullHadKinFitter::KinFit * kinFitter
kinematic fit interface
edm::EDGetTokenT< std::vector< std::vector< int > > > matchToken_
input tag for matches (in case the fit should be performed on certain matches)
void produce(edm::Event &event, const edm::EventSetup &setup) override
produce fitted object collections and meta data describing fit quality
unsigned int jetParam_
numbering of different possible jet parametrizations
double mTop_
top mass value used for constraints
std::vector< unsigned > constraints_
numbering of different possible kinematic constraints
double mW_
W mass value used for constraints.
std::vector< edm::ParameterSet > udscResolutions_
store the resolutions for the jets
class that does the fitting
bool useBTagging_
switch to tell whether to use b-tagging or not
std::vector< edm::ParameterSet > bResolutions_
~TtFullHadKinFitProducer() override
default destructor
int maxNComb_
maximal number of combinations to be written to the event
std::string jetCorrectionLevel_
correction level for jets
double maxF_
maximal deviation for contstraints
double maxDeltaS_
maximal chi2 equivalent
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
input tag for jets
unsigned int maxNrIter_
maximal number of iterations to be performed for the fit
std::string bTagAlgo_
input tag for b-tagging algorithm
std::vector< double > jetEnergyResolutionScaleFactors_
scale factors for jet energy resolution
int maxNJets_
maximal number of jets (-1 possible to indicate &#39;all&#39;)
double maxBTagValueNonBJet_
max value of bTag for a non-b-jet
unsigned int bTags_
minimal number of b-jets
std::vector< double > jetEnergyResolutionEtaBinning_
double minBTagValueBJet_
min value of bTag for a b-jet
TtFullHadKinFitProducer(const edm::ParameterSet &cfg)
default constructor