DESY Hbb Analysis Framework
|
#include <Jet.h>
Public Member Functions | |
void | addFSR (Jet *) |
add a final state radiation jet, will modify the 4-momentum More... | |
void | addMuon (std::shared_ptr< Muon >) |
associate a muon to the jet More... | |
void | addMuon (std::vector< std::shared_ptr< Muon > > muons, const float &dr=0.4) |
associate a muon to the jet from a collection of muons More... | |
void | addParton (const std::shared_ptr< GenParticle > &) |
add parton that gave rise to jet More... | |
void | applyBjetRegression () |
void | applyJER (const JetResolutionInfo &, const float &drmin=0.2) |
void | associatePartons (const std::vector< std::shared_ptr< GenParticle > > &, const float &dRmax=0.5, const float &ptMin=1., const bool &pythi8=true) |
associate partons to the jet More... | |
float | bRegCorr () const |
b-jet regression More... | |
void | bRegCorr (const float &) |
b-jet regression More... | |
float | bRegRes () const |
void | bRegRes (const float &) |
float | btag (const std::string &) const |
returns the btag value of btag_csvivf More... | |
void | btag (const float &) |
sets the btag value More... | |
void | btag (const std::string &, const float &) |
sets the btag value for difference algorithms More... | |
void | btagAlgo (const std::string &) |
sets the default btag algo More... | |
double | btagSF (std::shared_ptr< BTagCalibrationReader > reader, const std::string &flavalgo="Hadron") const |
btag SF More... | |
double | btagSFdown (std::shared_ptr< BTagCalibrationReader > reader, const float &nsig=1, const std::string &flavalgo="Hadron") const |
double | btagSFsys (std::shared_ptr< BTagCalibrationReader > reader, const std::string &systype="central", const std::string &flavalgo="Hadron") const |
double | btagSFup (std::shared_ptr< BTagCalibrationReader > reader, const float &nsig=1, const std::string &flavalgo="Hadron") const |
float | chargedEmFraction () const |
void | chargedEmFraction (const float &cEmFrac) |
float | chargedHadronFraction () const |
void | chargedHadronFraction (const float &cHadFrac) |
float | chargedMultiplicity () const |
void | chargedMultiplicity (const float &cMult) |
float | constituents () const |
std::string | extendedFlavour () const |
returns the extended flavour definition More... | |
int | flavour () const |
returns the flavour with the Hadron definition (=0 for data) More... | |
int | flavour (const std::string &) const |
returns the flavour given a definition (=0 for data) More... | |
void | flavour (const int &) |
sets flavour More... | |
void | flavour (const std::string &definition, const int &value) |
sets flavour for a given definition More... | |
std::vector< int > | flavours () const |
returns the vector containing flavours inside the jet More... | |
Jet * | fsrJet () |
pointer to the FSR jet More... | |
std::shared_ptr< GenJet > | generatedJet () const |
Pointer to GenJet. More... | |
void | generatedJet (std::shared_ptr< GenJet >) |
GenJet matching. More... | |
void | genJets (const std::vector< std::shared_ptr< GenJet > > &) |
gen jets More... | |
bool | id (const std::string &wp="tight") const |
returns if jet has a given working point More... | |
void | id (const float &nHadFrac, const float &nEmFrac, const float &nMult, const float &cHadFrac, const float &cEmFrac, const float &cMult, const float &muFrac, const float &puppi) |
calculates the jet id More... | |
bool | idLoose () const |
returns if jet has id loose working point More... | |
void | idLoose (const bool &) |
sets if jet id is loose or not More... | |
bool | idTight () const |
returns if jet has id tight working point More... | |
void | idTight (const bool &) |
sets if jet id is tight or not More... | |
bool | isPuppi () const |
returns if jet is Puppi More... | |
void | isPuppi (const bool &) |
sets the isPuppi value More... | |
float | jecUncert () const |
returns the jet energy correction uncertainty More... | |
void | jecUncert (const float &) |
sets the jet energy correction uncertainty More... | |
float | jerCorrection (const std::string &var="nominal", const float &nsig=1) const |
void | jerCorrections () |
void | jerInfo (const JetResolutionInfo &, const std::string &) |
void | jerInfo (const JetResolutionInfo &, const float &drmin=0.2) |
bool | jerMatch (const std::string &) |
JER matching. More... | |
bool | jerMatch (const float &drmin=0.2) |
bool | jerMatch () const |
float | jerPtResolution () const |
returns jet pt resolution More... | |
float | jerPtResolution (const JetResolution &) const |
returns jet pt resolution from text file More... | |
void | jerPtResolution (const float &) |
sets jet energy resolution More... | |
float | jerSF () const |
returns jet energy resolution SF More... | |
float | jerSF (const JetResolutionScaleFactor &) const |
returns jet energy resolution SF More... | |
void | jerSF (const float &) |
sets jet energy resolution SF More... | |
float | jerSFdown () const |
returns jet energy resolution SF Down variation More... | |
float | jerSFdown (const JetResolutionScaleFactor &) const |
returns jet energy resolution SF Down variation More... | |
void | jerSFdown (const float &) |
sets jet energy resolution SF Down variation More... | |
float | jerSFup () const |
returns jet energy resolution SF Up variation More... | |
float | jerSFup (const JetResolutionScaleFactor &) const |
returns jet energy resolution SF Up variation More... | |
void | jerSFup (const float &) |
sets jet energy resolution SF Up variation More... | |
Jet () | |
default constructor More... | |
Jet (const float &pt, const float &eta, const float &phi, const float &e) | |
constructor from 4-momentum information More... | |
Jet (const TLorentzVector &p4) | |
constructor from TLorentzVector More... | |
std::shared_ptr< Muon > | muon () const |
pointer to the muon More... | |
float | muonFraction () const |
void | muonFraction (const float &muFrac) |
float | neutralEmFraction () const |
void | neutralEmFraction (const float &nEmFrac) |
float | neutralHadronFraction () const |
void | neutralHadronFraction (const float &nHadFrac) |
float | neutralMultiplicity () const |
void | neutralMultiplicity (const float &nMult) |
std::vector< std::shared_ptr< GenParticle > > | partons () const |
returns the vector of pointers to the generated partons More... | |
float | pileupJetIdFullDiscriminant () const |
pile up jet id More... | |
void | pileupJetIdFullDiscriminant (const float &discr) |
pile up jet id More... | |
int | pileupJetIdFullId () const |
bool | pileupJetIdFullId (const std::string &wp) const |
void | pileupJetIdFullId (const int &id) |
float | qgLikelihood () const |
quark-gluon separation More... | |
void | qgLikelihood (const float &discr) |
quark-gluon separation More... | |
int | removeParton (const int &) |
remove parton from jet parton list More... | |
double | rho () const |
Rho. More... | |
void | rho (const double &) |
Rho. More... | |
void | rmFSR () |
remove the final state radiation jet, will change back the original 4-momentum More... | |
void | rmMuon () |
remove muon association to the jet More... | |
~Jet () | |
destructor More... | |
![]() | |
Candidate () | |
default constructor More... | |
Candidate (const float &pt, const float &eta, const float &phi, const float &e, const float &q) | |
constructor from 4-momentum information More... | |
Candidate (const float &px, const float &py, const float &pz) | |
constructor from 3-momentum information More... | |
Candidate (const float &px, const float &py, const float &pz, const float &q) | |
constructor from 3-momentum and charge information More... | |
float | deltaPhi (const Candidate &) const |
returns the deltaPhi between this and another candidate More... | |
float | deltaR (const Candidate &) const |
returns the deltaR between this and another candidate More... | |
float | e () const |
returns the energy More... | |
void | e (const float &) |
sets the energy More... | |
float | eta () const |
returns the pseudorapidity More... | |
float | m () const |
returns the mass More... | |
float | mass () const |
returns the mass More... | |
const Candidate * | matched (const std::string &name) |
returns the pointer to the matched candidate object More... | |
const Candidate * | matched (const std::string &name) const |
returns the pointer to the matched candidate object More... | |
virtual bool | matchTo (const std::vector< Candidate > *cands, const std::string &name, const float &deltaR=0.5) |
function to match this candidate to another object from a list of pointers with a name More... | |
virtual bool | matchTo (const std::vector< Candidate > *cands, const std::string &name, const float &delta_pT, const float &deltaR) |
TVector3 | p3 () const |
returns the 4-momentum (TVector3) More... | |
TLorentzVector | p4 () const |
returns the 4-momentum (TLorentzVector) More... | |
void | p4 (const TLorentzVector &) |
sets the 4-momentum (TLorentzVector) More... | |
float | phi () const |
returns the azimuthal angle More... | |
float | pt () const |
returns the transverse momentum More... | |
float | px () const |
returns the x component of the momentum More... | |
void | px (const float &) |
sets the x component of the momentum More... | |
float | py () const |
returns the y component of the momentum More... | |
void | py (const float &) |
sets the y component of the momentum More... | |
float | pz () const |
returns the z component of the momentum More... | |
void | pz (const float &) |
sets the z component of the momentum More... | |
int | q () const |
returns the charge More... | |
void | q (const float &) |
sets the charge More... | |
void | unmatch (const std::string &) |
unmatch a matched candidate object, i.e. set it to nullptr, useful to remove possible duplicated matching More... | |
virtual | ~Candidate () |
destructor More... | |
Protected Attributes | |
float | bRegCorr_ |
b-jet regression More... | |
float | bRegRes_ |
float | btag_ |
btag value More... | |
std::string | btagAlgo_ |
default btag algo More... | |
std::map< std::string, float > | btags_ |
btag value for each algo More... | |
float | cEmFrac_ |
float | cHadFrac_ |
float | cMult_ |
std::string | extendedFlavour_ |
extended flavour identification for merged jets More... | |
std::map< std::string, int > | flavour_ |
map of flavour to a given definition More... | |
std::vector< int > | flavours_ |
flavours inside the jet More... | |
Jet * | fsr_ |
final state radiation More... | |
std::shared_ptr< GenJet > | genjet_ |
generated jet More... | |
std::vector< std::shared_ptr< GenJet > > | genjets_ |
collection of GenJets More... | |
bool | idloose_ |
jet id loose working point More... | |
bool | idtight_ |
jet id tight working point More... | |
bool | isPuppi_ |
float | jecUnc_ |
jet energy correction uncertainty More... | |
JERCorrections | jercorr_ |
JER correction factor. More... | |
JetResolutionInfo | jerinfo_ |
JER info. More... | |
bool | jermatch_ |
JER matching. More... | |
float | jerptres_ |
jet energy resolution More... | |
float | jersf_ |
jet energy resolution SF More... | |
float | jersfdown_ |
jet energy resolution SF Down variation More... | |
float | jersfup_ |
jet energy resolution SF Up variation More... | |
float | muFrac_ |
std::shared_ptr< Muon > | muon_ |
muon in jet More... | |
float | nConst_ |
float | nEmFrac_ |
float | nHadFrac_ |
jet id More... | |
float | nMult_ |
std::vector< std::shared_ptr< GenParticle > > | partons_ |
vector of pointers to Genparticles from merged jets More... | |
float | puJetIdFullDisc_ |
pileup jet id More... | |
int | puJetIdFullId_ |
float | qgLikelihood_ |
quark-gluon separation More... | |
double | rho_ |
Fixedgridrho (for JER) More... | |
TLorentzVector | uncorrJetp4_ |
4-momentum before FSR correction More... | |
![]() | |
std::map< std::string, const Candidate * > | matched_ |
map of matched candidates More... | |
TLorentzVector | p4_ |
the 4-momentum More... | |
float | q_ |
the charge More... | |
Jet::Jet | ( | ) |
default constructor
Definition at line 21 of file Jet.cc.
References btagAlgo_, extendedFlavour_, fsr_, genjet_, jermatch_, muon_, analysis::tools::Candidate::p4_, and uncorrJetp4_.
Jet::Jet | ( | const float & | pt, |
const float & | eta, | ||
const float & | phi, | ||
const float & | e | ||
) |
constructor from 4-momentum information
Definition at line 32 of file Jet.cc.
References btagAlgo_, extendedFlavour_, fsr_, genjet_, jermatch_, muon_, analysis::tools::Candidate::p4_, and uncorrJetp4_.
analysis::tools::Jet::Jet | ( | const TLorentzVector & | p4 | ) |
constructor from TLorentzVector
Jet::~Jet | ( | ) |
void Jet::addFSR | ( | Jet * | j | ) |
add a final state radiation jet, will modify the 4-momentum
Definition at line 414 of file Jet.cc.
References fsr_, analysis::tools::Candidate::p4(), and analysis::tools::Candidate::p4_.
void Jet::addMuon | ( | std::shared_ptr< Muon > | m | ) |
associate a muon to the jet
Definition at line 437 of file Jet.cc.
References analysis::tools::Candidate::m(), and muon_.
Referenced by addMuon().
void Jet::addMuon | ( | std::vector< std::shared_ptr< Muon > > | muons, |
const float & | dr = 0.4 |
||
) |
associate a muon to the jet from a collection of muons
Definition at line 448 of file Jet.cc.
References addMuon(), analysis::tools::Candidate::deltaR(), and analysis::tools::Candidate::m().
void Jet::addParton | ( | const std::shared_ptr< GenParticle > & | parton | ) |
add parton that gave rise to jet
Definition at line 359 of file Jet.cc.
References flavours_, and partons_.
Referenced by associatePartons().
void Jet::applyBjetRegression | ( | ) |
Definition at line 238 of file Jet.cc.
References bRegCorr(), analysis::tools::Candidate::e(), analysis::tools::Candidate::eta(), analysis::tools::Candidate::p4_, analysis::tools::Candidate::phi(), and analysis::tools::Candidate::pt().
void Jet::applyJER | ( | const JetResolutionInfo & | jerinfo, |
const float & | drmin = 0.2 |
||
) |
Definition at line 213 of file Jet.cc.
References jerCorrection(), jerInfo(), and analysis::tools::Candidate::p4_.
void Jet::associatePartons | ( | const std::vector< std::shared_ptr< GenParticle > > & | particles, |
const float & | dRmax = 0.5 , |
||
const float & | ptMin = 1. , |
||
const bool & | pythi8 = true |
||
) |
associate partons to the jet
Definition at line 477 of file Jet.cc.
References addParton(), extendedFlavour_, flavour(), analysis::tools::Candidate::p4(), analysis::tools::Candidate::pt(), and naf_submit::status().
float Jet::bRegCorr | ( | ) | const |
b-jet regression
Definition at line 235 of file Jet.cc.
References bRegCorr_.
Referenced by applyBjetRegression(), bRegCorr(), and analysis::tools::PhysicsObjectTree< Object >::collection().
void Jet::bRegCorr | ( | const float & | bRegCorr | ) |
float Jet::bRegRes | ( | ) | const |
Definition at line 236 of file Jet.cc.
References bRegRes_.
Referenced by bRegRes(), and analysis::tools::PhysicsObjectTree< Object >::collection().
void Jet::bRegRes | ( | const float & | bRegRes | ) |
float Jet::btag | ( | const std::string & | algo | ) | const |
returns the btag value of btag_csvivf
returns the btag value of algorithm
Definition at line 57 of file Jet.cc.
References btags_.
Referenced by analysis::tools::JetAnalyser::btag(), btag(), analysis::tools::PhysicsObjectTree< Object >::collection(), and main().
void Jet::btag | ( | const float & | btag | ) |
void Jet::btag | ( | const std::string & | algo, |
const float & | btag | ||
) |
void Jet::btagAlgo | ( | const std::string & | algo | ) |
double Jet::btagSF | ( | std::shared_ptr< BTagCalibrationReader > | reader, |
const std::string & | flavalgo = "Hadron" |
||
) | const |
btag SF
Definition at line 307 of file Jet.cc.
References btagSFsys().
Referenced by main().
double Jet::btagSFdown | ( | std::shared_ptr< BTagCalibrationReader > | reader, |
const float & | nsig = 1 , |
||
const std::string & | flavalgo = "Hadron" |
||
) | const |
Definition at line 320 of file Jet.cc.
References btagSFsys().
Referenced by main().
double Jet::btagSFsys | ( | std::shared_ptr< BTagCalibrationReader > | reader, |
const std::string & | systype = "central" , |
||
const std::string & | flavalgo = "Hadron" |
||
) | const |
Definition at line 289 of file Jet.cc.
References BTagEntry::FLAV_B, BTagEntry::FLAV_C, BTagEntry::FLAV_UDSG, flavour(), and uncorrJetp4_.
Referenced by btagSF(), btagSFdown(), and btagSFup().
double Jet::btagSFup | ( | std::shared_ptr< BTagCalibrationReader > | reader, |
const float & | nsig = 1 , |
||
const std::string & | flavalgo = "Hadron" |
||
) | const |
Definition at line 311 of file Jet.cc.
References btagSFsys().
Referenced by main().
float Jet::chargedEmFraction | ( | ) | const |
void analysis::tools::Jet::chargedEmFraction | ( | const float & | cEmFrac | ) |
float Jet::chargedHadronFraction | ( | ) | const |
void analysis::tools::Jet::chargedHadronFraction | ( | const float & | cHadFrac | ) |
float Jet::chargedMultiplicity | ( | ) | const |
void analysis::tools::Jet::chargedMultiplicity | ( | const float & | cMult | ) |
float Jet::constituents | ( | ) | const |
std::string Jet::extendedFlavour | ( | ) | const |
returns the extended flavour definition
Definition at line 66 of file Jet.cc.
References extendedFlavour_.
Referenced by analysis::tools::Analysis::btagEfficiency(), and main().
int Jet::flavour | ( | ) | const |
returns the flavour with the Hadron definition (=0 for data)
Definition at line 58 of file Jet.cc.
References flavour_.
Referenced by associatePartons(), analysis::tools::Analysis::btagEfficiency(), btagSFsys(), analysis::tools::PhysicsObjectTree< Object >::collection(), main(), and removeParton().
int Jet::flavour | ( | const std::string & | definition | ) | const |
void Jet::flavour | ( | const int & | flav | ) |
void Jet::flavour | ( | const std::string & | definition, |
const int & | value | ||
) |
std::vector< int > Jet::flavours | ( | ) | const |
Jet * Jet::fsrJet | ( | ) |
std::shared_ptr< GenJet > Jet::generatedJet | ( | ) | const |
void Jet::generatedJet | ( | std::shared_ptr< GenJet > | genjet | ) |
void Jet::genJets | ( | const std::vector< std::shared_ptr< GenJet > > & | genjets | ) |
bool Jet::id | ( | const std::string & | wp = "tight" | ) | const |
returns if jet has a given working point
Definition at line 253 of file Jet.cc.
References idloose_, and idtight_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and pileupJetIdFullId().
void Jet::id | ( | const float & | nHadFrac, |
const float & | nEmFrac, | ||
const float & | nMult, | ||
const float & | cHadFrac, | ||
const float & | cEmFrac, | ||
const float & | cMult, | ||
const float & | muFrac, | ||
const float & | puppi | ||
) |
calculates the jet id
Definition at line 518 of file Jet.cc.
References cEmFrac_, cHadFrac_, cMult_, idloose_, idtight_, isPuppi(), isPuppi_, muFrac_, nConst_, nEmFrac_, nHadFrac_, nMult_, and analysis::tools::Candidate::p4_.
bool Jet::idLoose | ( | ) | const |
void Jet::idLoose | ( | const bool & | loos | ) |
bool Jet::idTight | ( | ) | const |
void Jet::idTight | ( | const bool & | tigh | ) |
bool Jet::isPuppi | ( | ) | const |
void Jet::isPuppi | ( | const bool & | ispuppi | ) |
float Jet::jecUncert | ( | ) | const |
returns the jet energy correction uncertainty
Definition at line 62 of file Jet.cc.
References jecUnc_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void Jet::jecUncert | ( | const float & | ju | ) |
float Jet::jerCorrection | ( | const std::string & | var = "nominal" , |
const float & | nsig = 1 |
||
) | const |
Definition at line 179 of file Jet.cc.
References analysis::tools::JERCorrections::down, jercorr_, analysis::tools::JERCorrections::nominal, and analysis::tools::JERCorrections::up.
Referenced by applyJER(), and main().
void Jet::jerCorrections | ( | ) |
Definition at line 144 of file Jet.cc.
References analysis::tools::JERCorrections::down, genjet_, jercorr_, jermatch_, jerPtResolution(), jerSF(), jerSFdown(), jerSFup(), analysis::tools::JERCorrections::nominal, analysis::tools::Candidate::pt(), uncorrJetp4_, and analysis::tools::JERCorrections::up.
Referenced by jerInfo().
void Jet::jerInfo | ( | const JetResolutionInfo & | jerinfo, |
const std::string & | collection | ||
) |
Definition at line 199 of file Jet.cc.
References jerCorrections(), jerinfo_, and jerMatch().
Referenced by applyJER(), and main().
void Jet::jerInfo | ( | const JetResolutionInfo & | jerinfo, |
const float & | drmin = 0.2 |
||
) |
bool Jet::jerMatch | ( | const std::string & | collection | ) |
JER matching.
Definition at line 101 of file Jet.cc.
References jermatch_, jerPtResolution(), analysis::tools::Candidate::matched(), and analysis::tools::Candidate::pt().
Referenced by main().
bool Jet::jerMatch | ( | const float & | drmin = 0.2 | ) |
Definition at line 111 of file Jet.cc.
References analysis::tools::Candidate::deltaR(), genjet_, genjets_, jermatch_, jerPtResolution(), and analysis::tools::Candidate::pt().
bool Jet::jerMatch | ( | ) | const |
float Jet::jerPtResolution | ( | ) | const |
returns jet pt resolution
Definition at line 71 of file Jet.cc.
References jerinfo_, and analysis::tools::JetResolutionInfo::resolution.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), jerCorrections(), and jerMatch().
float Jet::jerPtResolution | ( | const JetResolution & | jer | ) | const |
returns jet pt resolution from text file
Definition at line 76 of file Jet.cc.
References analysis::tools::Candidate::eta(), JME::JetResolution::getResolution(), JME::JetEta, JME::JetPt, analysis::tools::Candidate::pt(), JME::Rho, and rho().
void Jet::jerPtResolution | ( | const float & | res | ) |
float Jet::jerSF | ( | ) | const |
returns jet energy resolution SF
Definition at line 72 of file Jet.cc.
References jerinfo_, and analysis::tools::JetResolutionInfo::scalefactor.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), jerCorrections(), and main().
float Jet::jerSF | ( | const JetResolutionScaleFactor & | jersf | ) | const |
returns jet energy resolution SF
Definition at line 82 of file Jet.cc.
References analysis::tools::Candidate::eta(), JME::JetResolutionScaleFactor::getScaleFactor(), JME::JetEta, JME::JetPt, and analysis::tools::Candidate::pt().
void Jet::jerSF | ( | const float & | sf | ) |
float Jet::jerSFdown | ( | ) | const |
returns jet energy resolution SF Down variation
Definition at line 73 of file Jet.cc.
References jerinfo_, and analysis::tools::JetResolutionInfo::scalefactor.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and jerCorrections().
float Jet::jerSFdown | ( | const JetResolutionScaleFactor & | jersf | ) | const |
returns jet energy resolution SF Down variation
Definition at line 88 of file Jet.cc.
References DOWN, analysis::tools::Candidate::eta(), JME::JetResolutionScaleFactor::getScaleFactor(), JME::JetEta, JME::JetPt, and analysis::tools::Candidate::pt().
void Jet::jerSFdown | ( | const float & | sfd | ) |
sets jet energy resolution SF Down variation
Definition at line 365 of file Jet.cc.
References jersfdown_.
float Jet::jerSFup | ( | ) | const |
returns jet energy resolution SF Up variation
Definition at line 74 of file Jet.cc.
References jerinfo_, and analysis::tools::JetResolutionInfo::scalefactor.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and jerCorrections().
float Jet::jerSFup | ( | const JetResolutionScaleFactor & | jersf | ) | const |
returns jet energy resolution SF Up variation
Definition at line 94 of file Jet.cc.
References analysis::tools::Candidate::eta(), JME::JetResolutionScaleFactor::getScaleFactor(), JME::JetEta, JME::JetPt, analysis::tools::Candidate::pt(), and UP.
void Jet::jerSFup | ( | const float & | sfu | ) |
std::shared_ptr< Muon > Jet::muon | ( | ) | const |
float Jet::muonFraction | ( | ) | const |
void analysis::tools::Jet::muonFraction | ( | const float & | muFrac | ) |
float Jet::neutralEmFraction | ( | ) | const |
void analysis::tools::Jet::neutralEmFraction | ( | const float & | nEmFrac | ) |
float Jet::neutralHadronFraction | ( | ) | const |
void analysis::tools::Jet::neutralHadronFraction | ( | const float & | nHadFrac | ) |
float Jet::neutralMultiplicity | ( | ) | const |
void analysis::tools::Jet::neutralMultiplicity | ( | const float & | nMult | ) |
std::vector< std::shared_ptr< GenParticle > > Jet::partons | ( | ) | const |
returns the vector of pointers to the generated partons
Definition at line 65 of file Jet.cc.
References partons_.
Referenced by analysis::tools::Collection< Object >::associatePartons().
float Jet::pileupJetIdFullDiscriminant | ( | ) | const |
pile up jet id
Definition at line 232 of file Jet.cc.
References puJetIdFullDisc_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and main().
void Jet::pileupJetIdFullDiscriminant | ( | const float & | discr | ) |
int Jet::pileupJetIdFullId | ( | ) | const |
Definition at line 233 of file Jet.cc.
References puJetIdFullId_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and main().
bool Jet::pileupJetIdFullId | ( | const std::string & | wp | ) | const |
Definition at line 331 of file Jet.cc.
References puJetIdFullId_.
void Jet::pileupJetIdFullId | ( | const int & | id | ) |
Definition at line 370 of file Jet.cc.
References id(), and puJetIdFullId_.
float Jet::qgLikelihood | ( | ) | const |
quark-gluon separation
Definition at line 231 of file Jet.cc.
References qgLikelihood_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and main().
void Jet::qgLikelihood | ( | const float & | discr | ) |
int Jet::removeParton | ( | const int & | i | ) |
remove parton from jet parton list
Definition at line 380 of file Jet.cc.
References extendedFlavour_, flavour(), flavours_, and partons_.
double Jet::rho | ( | ) | const |
Rho.
Definition at line 250 of file Jet.cc.
References rho_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), jerPtResolution(), and rho().
void Jet::rmFSR | ( | ) |
remove the final state radiation jet, will change back the original 4-momentum
Definition at line 426 of file Jet.cc.
References fsr_, analysis::tools::Candidate::p4_, and uncorrJetp4_.
void Jet::rmMuon | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 306 of file Jet.h.
Referenced by chargedEmFraction(), and id().
|
protected |
Definition at line 305 of file Jet.h.
Referenced by chargedHadronFraction(), and id().
|
protected |
Definition at line 307 of file Jet.h.
Referenced by chargedMultiplicity(), and id().
|
protected |
extended flavour identification for merged jets
Definition at line 277 of file Jet.h.
Referenced by associatePartons(), extendedFlavour(), Jet(), and removeParton().
|
protected |
|
protected |
flavours inside the jet
Definition at line 275 of file Jet.h.
Referenced by addParton(), flavours(), and removeParton().
|
protected |
|
protected |
generated jet
Definition at line 329 of file Jet.h.
Referenced by generatedJet(), jerCorrections(), jerMatch(), and Jet().
|
protected |
collection of GenJets
Definition at line 332 of file Jet.h.
Referenced by genJets(), and jerMatch().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
JER correction factor.
Definition at line 297 of file Jet.h.
Referenced by jerCorrection(), and jerCorrections().
|
protected |
JER info.
Definition at line 299 of file Jet.h.
Referenced by jerInfo(), jerPtResolution(), jerSF(), jerSFdown(), and jerSFup().
|
protected |
JER matching.
Definition at line 295 of file Jet.h.
Referenced by jerCorrections(), jerMatch(), and Jet().
|
protected |
|
protected |
|
protected |
jet energy resolution SF Down variation
Definition at line 291 of file Jet.h.
Referenced by jerSFdown().
|
protected |
|
protected |
Definition at line 308 of file Jet.h.
Referenced by id(), and muonFraction().
|
protected |
|
protected |
Definition at line 309 of file Jet.h.
Referenced by constituents(), and id().
|
protected |
Definition at line 303 of file Jet.h.
Referenced by id(), and neutralEmFraction().
|
protected |
|
protected |
Definition at line 304 of file Jet.h.
Referenced by id(), and neutralMultiplicity().
|
protected |
vector of pointers to Genparticles from merged jets
Definition at line 279 of file Jet.h.
Referenced by addParton(), partons(), and removeParton().
|
protected |
|
protected |
Definition at line 314 of file Jet.h.
Referenced by pileupJetIdFullId().
|
protected |
|
protected |
|
protected |
4-momentum before FSR correction
Definition at line 326 of file Jet.h.
Referenced by btagSFsys(), jerCorrections(), Jet(), and rmFSR().