ATLAS Offline Software
|
Not complete. More...
#include <NeutrinoWeighting.h>
Public Member Functions | |
NeutrinoWeighting () | |
virtual | ~NeutrinoWeighting () |
bool | apply (const top::Event &) const override |
This does stuff based on the information in an event. More... | |
std::string | name () const override |
A human readable name. More... | |
virtual bool | applyParticleLevel (const top::ParticleLevelEvent &) const |
This does stuff based on the information in a particle level event. More... | |
Private Member Functions | |
NWSolution | solveForNeutrinoEta (const TLorentzVector &lepton, const TLorentzVector &bJet, double topMass, int index) const |
double | neutrino_weight (const TLorentzVector &, const TLorentzVector &, double, double) const |
Calculate the weight for this combination of particles by comparing with Met. More... | |
Private Attributes | |
double | neutrinos [2000][3] |
Sampling points. More... | |
int | etaSize |
Delta eta sampling size. For the mass we don't need to sample so many points. More... | |
double | m_bmass |
B jet mass constraint. More... | |
double | m_wmass |
W jet mass constraint. More... | |
double | sigmax |
double | sigmay |
top::NeutrinoWeighting::NeutrinoWeighting | ( | ) |
Definition at line 12 of file NeutrinoWeighting.cxx.
|
virtual |
Definition at line 33 of file NeutrinoWeighting.cxx.
|
overridevirtual |
This does stuff based on the information in an event.
The idea is that you implement this to return either true or false based on the information held within top::Event. If this returns true then the event is kept. If it returns false then the event is removed.
top::Event | The current event. |
Implements top::EventSelectorBase.
Definition at line 36 of file NeutrinoWeighting.cxx.
|
inlinevirtualinherited |
This does stuff based on the information in a particle level event.
The idea is that you implement this to return either true or false, based on the information held within the top::ParticleLevelEvent. If this function returns true, then the event is kept, otherwise it is removed. The function has a default implementation (which returns true) because it is expected that many EventSelector objects do not operate on ParticleLevelEvent objects.
top::ParticleLevelEvent | the current particle level event. |
true | if the event should be kept (i.e. it passed the selector criteria), false otherwise. |
Reimplemented in top::JetNGhostSelector, top::PrintEventSelector, top::PseudoTopRecoRun, top::NElectronNMuonTightSelector, top::NElectronNMuonSelector, top::NFwdElectronSelector, top::HTSelector, top::OSLeptonTightSelector, top::MLLSelector, top::MWTSelector, top::NElectronTightSelector, top::NFwdElectronTightSelector, top::NMuonTightSelector, top::OSLeptonSelector, top::METMWTSelector, top::METSelector, top::MLLWindow, top::NElectronSelector, top::NJetSelector, top::NMuonSelector, top::NPhotonSelector, top::NSoftMuonSelector, top::NTauSelector, top::SSLeptonTightSelector, top::SSLeptonSelector, top::ParticleLevelSelector, top::RecoLevelSelector, top::NVarRCJetSelector, top::NLargeJetSelector, and top::NRCJetSelector.
Definition at line 73 of file EventSelectorBase.h.
|
inlineoverridevirtual |
A human readable name.
Mostly used for printing the cut and value to the screen. Must be implemented for each tool.
Implements top::EventSelectorBase.
Definition at line 64 of file NeutrinoWeighting.h.
|
private |
Calculate the weight for this combination of particles by comparing with Met.
Weight a solution based on the agreement with missing Et.
neutrino1 | The first neutrino (actually the order doesn't matter). |
neutrino2 | The second neutrino. |
met_ex | The x component of missing Et. |
met_ey | The y component of missing Et. |
Definition at line 124 of file NeutrinoWeighting.cxx.
|
private |
lepton | The lepton 4 vector. |
bJet | The b jet 4 vector. |
topMass | The top mass is a constraint in the spin correlation calculation. |
index | Gives the position in the neutrino eta array of this neutrino. |
Definition at line 81 of file NeutrinoWeighting.cxx.
|
private |
Delta eta sampling size. For the mass we don't need to sample so many points.
Definition at line 93 of file NeutrinoWeighting.h.
|
private |
B jet mass constraint.
Definition at line 100 of file NeutrinoWeighting.h.
|
private |
W jet mass constraint.
Definition at line 103 of file NeutrinoWeighting.h.
|
private |
Sampling points.
Definition at line 90 of file NeutrinoWeighting.h.
|
private |
Definition at line 106 of file NeutrinoWeighting.h.
|
private |
Definition at line 109 of file NeutrinoWeighting.h.