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 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
TtFullHadKinFitProducer::matchToken_
edm::EDGetTokenT< std::vector< std::vector< int > > > matchToken_
input tag for matches (in case the fit should be performed on certain matches)
Definition: TtFullHadKinFitProducer.h:37
TtFullHadKinFitProducer::jetEnergyResolutionEtaBinning_
std::vector< double > jetEnergyResolutionEtaBinning_
Definition: TtFullHadKinFitProducer.h:75
TtFullHadKinFitProducer::jetParam_
unsigned int jetParam_
numbering of different possible jet parametrizations
Definition: TtFullHadKinFitProducer.h:64
TtFullHadKinFitProducer::kinFitter
TtFullHadKinFitter::KinFit * kinFitter
kinematic fit interface
Definition: TtFullHadKinFitProducer.h:79
EDProducer.h
TtFullHadKinFitter.h
TtFullHadKinFitProducer::constraints_
std::vector< unsigned > constraints_
numbering of different possible kinematic constraints
Definition: TtFullHadKinFitProducer.h:66
edm::EDGetTokenT
Definition: EDGetToken.h:33
TtFullHadKinFitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
produce fitted object collections and meta data describing fit quality
Definition: TtFullHadKinFitProducer.cc:78
TtFullHadKinFitProducer::useBTagging_
bool useBTagging_
switch to tell whether to use b-tagging or not
Definition: TtFullHadKinFitProducer.h:48
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
TtFullHadKinFitProducer::~TtFullHadKinFitProducer
~TtFullHadKinFitProducer() override
default destructor
Definition: TtFullHadKinFitProducer.cc:75
TtFullHadKinFitProducer::udscResolutions_
std::vector< edm::ParameterSet > udscResolutions_
store the resolutions for the jets
Definition: TtFullHadKinFitProducer.h:72
TtFullHadKinFitProducer::mW_
double mW_
W mass value used for constraints.
Definition: TtFullHadKinFitProducer.h:68
TtFullHadKinFitProducer::mTop_
double mTop_
top mass value used for constraints
Definition: TtFullHadKinFitProducer.h:70
TtFullHadKinFitProducer::maxNComb_
int maxNComb_
maximal number of combinations to be written to the event
Definition: TtFullHadKinFitProducer.h:56
TtFullHadKinFitProducer::maxDeltaS_
double maxDeltaS_
maximal chi2 equivalent
Definition: TtFullHadKinFitProducer.h:60
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TtFullHadKinFitProducer::bResolutions_
std::vector< edm::ParameterSet > bResolutions_
Definition: TtFullHadKinFitProducer.h:72
TtFullHadKinFitProducer::jetCorrectionLevel_
std::string jetCorrectionLevel_
correction level for jets
Definition: TtFullHadKinFitProducer.h:52
edm::EventSetup
Definition: EventSetup.h:58
TtFullHadKinFitProducer::maxF_
double maxF_
maximal deviation for contstraints
Definition: TtFullHadKinFitProducer.h:62
looper.cfg
cfg
Definition: looper.py:297
TtFullHadKinFitProducer::maxNrIter_
unsigned int maxNrIter_
maximal number of iterations to be performed for the fit
Definition: TtFullHadKinFitProducer.h:58
TtFullHadKinFitProducer
Definition: TtFullHadKinFitProducer.h:22
TtFullHadKinFitProducer::useOnlyMatch_
bool useOnlyMatch_
Definition: TtFullHadKinFitProducer.h:40
TtFullHadKinFitter::KinFit
class that does the fitting
Definition: TtFullHadKinFitter.h:145
edm::EDProducer
Definition: EDProducer.h:35
TtFullHadKinFitProducer::maxBTagValueNonBJet_
double maxBTagValueNonBJet_
max value of bTag for a non-b-jet
Definition: TtFullHadKinFitProducer.h:46
TtFullHadEvtPartons.h
TtFullHadKinFitProducer::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
input tag for jets
Definition: TtFullHadKinFitProducer.h:35
TtFullHadKinFitProducer::TtFullHadKinFitProducer
TtFullHadKinFitProducer(const edm::ParameterSet &cfg)
default constructor
Definition: TtFullHadKinFitProducer.cc:6
TtFullHadKinFitProducer::bTags_
unsigned int bTags_
minimal number of b-jets
Definition: TtFullHadKinFitProducer.h:50
ParameterSet.h
TtFullHadKinFitProducer::bTagAlgo_
std::string bTagAlgo_
input tag for b-tagging algorithm
Definition: TtFullHadKinFitProducer.h:42
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
TtFullHadKinFitProducer::maxNJets_
int maxNJets_
maximal number of jets (-1 possible to indicate 'all')
Definition: TtFullHadKinFitProducer.h:54
TtFullHadKinFitProducer::minBTagValueBJet_
double minBTagValueBJet_
min value of bTag for a b-jet
Definition: TtFullHadKinFitProducer.h:44
TtFullHadKinFitProducer::jetEnergyResolutionScaleFactors_
std::vector< double > jetEnergyResolutionScaleFactors_
scale factors for jet energy resolution
Definition: TtFullHadKinFitProducer.h:74