ATLAS Offline Software
Chi2LJets.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef CHI2LJETS_H_
6 #define CHI2LJETS_H_
7 
9 
10 #include "TLorentzVector.h"
11 
12 class TMinuit;
13 
14 namespace top {
15  class Event;
16 
20  class FitInfo: public TObject {
21  public:
24 
27 
29  double neutrino_px;
30 
32  double neutrino_py;
33 
35  TLorentzVector lepton;
36 
38  TLorentzVector leptonic_b;
39  };
40 
44  class Chi2LJets: public EventSelectorBase {
45  public:
46  Chi2LJets();
47  virtual ~Chi2LJets();
48 
49  virtual bool apply(const top::Event&) const override;
50 
51  std::string name() const override {return "RECO:CHI2LJETS";}
52  private:
54  TMinuit* min;
55 
56  mutable FitInfo params;
57 
58 //so the fcn function can see them
59  public:
61  static const double input_topmass;
62 
64  static const double input_wmass;
65 
67  static const double input_topsigma;
68 
70  static const double input_wsigma;
71  };
72 }
73 
74 void fcn(int& npar, double* deriv, double& result, double par[], int flag);
75 
76 #endif
top::FitInfo::neutrino_py
double neutrino_py
Missing ET - py.
Definition: Chi2LJets.h:32
get_generator_info.result
result
Definition: get_generator_info.py:21
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
Event
Definition: trigbs_orderedMerge.cxx:42
top::Chi2LJets::apply
virtual bool apply(const top::Event &) const override
This does stuff based on the information in an event.
Definition: Chi2LJets.cxx:27
top::Chi2LJets::~Chi2LJets
virtual ~Chi2LJets()
Definition: Chi2LJets.cxx:23
top::Chi2LJets::params
FitInfo params
Definition: Chi2LJets.h:56
top::Chi2LJets::input_wmass
static const double input_wmass
The W mass that we're using as the baseline - used in chi2 function.
Definition: Chi2LJets.h:64
master.flag
bool flag
Definition: master.py:29
top::Chi2LJets::input_topmass
static const double input_topmass
The top mass that we're using as the baseline - used in chi2 function.
Definition: Chi2LJets.h:61
top::Chi2LJets::Chi2LJets
Chi2LJets()
Definition: Chi2LJets.cxx:16
top::FitInfo::hadronic_t_mass
double hadronic_t_mass
Mass of the hadronic top quark (j+j+j)
Definition: Chi2LJets.h:26
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
top::EventSelectorBase
This should apply event-level cuts and perform simple plotting on top::Event objects.
Definition: EventSelectorBase.h:20
top::Chi2LJets::input_wsigma
static const double input_wsigma
The W resolution that we're using as the baseline - used in chi2 function.
Definition: Chi2LJets.h:70
top::Chi2LJets::min
TMinuit * min
So we can do a minimisation.
Definition: Chi2LJets.h:54
top::FitInfo::hadronic_w_mass
double hadronic_w_mass
Mass of the hadronic W (j+j)
Definition: Chi2LJets.h:23
top::FitInfo::neutrino_px
double neutrino_px
Missing ET - px.
Definition: Chi2LJets.h:29
fcn
void fcn(int &npar, double *deriv, double &result, double par[], int flag)
this is where we write out chi2
Definition: Chi2LJets.cxx:183
EventSelectorBase.h
top::FitInfo
Hold the information that is required for the chi^2 minimisation.
Definition: Chi2LJets.h:20
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49
top::Chi2LJets
Not complete.
Definition: Chi2LJets.h:44
top::Chi2LJets::input_topsigma
static const double input_topsigma
The top resolution that we're using as the baseline - used in chi2 function.
Definition: Chi2LJets.h:67
top::FitInfo::leptonic_b
TLorentzVector leptonic_b
Four vector of the jet that we think is the leptonic b quark.
Definition: Chi2LJets.h:38
top::Chi2LJets::name
std::string name() const override
A human readable name.
Definition: Chi2LJets.h:51
top::FitInfo::lepton
TLorentzVector lepton
Four-vector of the lepton (electron or muon)
Definition: Chi2LJets.h:35