CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
24  public:
26  explicit TtFullHadKinFitProducer(const edm::ParameterSet& cfg);
29 
30  private:
32  virtual void produce(edm::Event& event, const edm::EventSetup& setup);
33 
34  private:
43  std::string bTagAlgo_;
51  unsigned int bTags_;
53  std::string jetCorrectionLevel_;
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::InputTag match_
input tag for matches (in case the fit should be performed on certain matches)
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
~TtFullHadKinFitProducer()
default destructor
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_
virtual void produce(edm::Event &event, const edm::EventSetup &setup)
produce fitted object collections and meta data describing fit quality
int maxNComb_
maximal number of combinations to be written to the event
std::string jetCorrectionLevel_
correction level for jets
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
double maxF_
maximal deviation for contstraints
double maxDeltaS_
maximal chi2 equivalent
edm::InputTag jets_
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
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
TtFullHadKinFitProducer(const edm::ParameterSet &cfg)
default constructor