CMS 3D CMS Logo

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 
24  public:
28  ~TtFullHadKinFitProducer() override;
29 
30  private:
32  void produce(edm::Event& event, const edm::EventSetup& setup) override;
33 
34  private:
51  unsigned int bTags_;
55  int maxNJets_;
57  int maxNComb_;
59  unsigned int maxNrIter_;
61  double maxDeltaS_;
63  double maxF_;
65  unsigned int jetParam_;
67  std::vector<unsigned> constraints_;
69  double mW_;
71  double mTop_;
73  std::vector<edm::ParameterSet> udscResolutions_, bResolutions_;
75  std::vector<double> jetEnergyResolutionScaleFactors_;
76  std::vector<double> jetEnergyResolutionEtaBinning_;
77 
78  public:
79 
82 
83 };
84 
85 #endif
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
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
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
Definition: event.py:1
TtFullHadKinFitProducer(const edm::ParameterSet &cfg)
default constructor