#include <BTagSF.h>
Public Types | |
enum | { kNo, kDown, kUp } |
Public Member Functions | |
BTagSF (int seed=0) | |
Double_t | getMistag (Float_t pt, Float_t eta) |
Double_t | getSFb (Float_t pt, UInt_t btagsys, Bool_t is2012) |
Double_t | getSFc (Float_t pt, UInt_t btagsys, Bool_t is2012) |
Double_t | getSFl (Float_t pt, Float_t eta, UInt_t mistagsys, Bool_t is2012) |
Bool_t | isbtagged (Float_t pt, Float_t eta, Float_t csv, Int_t jetflavor, Bool_t isdata, UInt_t btagsys, UInt_t mistagsys, Bool_t is2012) |
~BTagSF () | |
Private Attributes | |
TRandom3 * | randm |
anonymous enum |
Enumerator | |
---|---|
kNo | |
kDown | |
kUp |
Double_t heppy::BTagSF::getMistag | ( | Float_t | pt, |
Float_t | eta | ||
) |
Definition at line 252 of file BTagSF.cc.
Referenced by isbtagged().
Double_t heppy::BTagSF::getSFb | ( | Float_t | pt, |
UInt_t | btagsys, | ||
Bool_t | is2012 | ||
) |
Definition at line 96 of file BTagSF.cc.
References kDown, kNo, kUp, pileupCalc::nbins, EnergyCorrector::pt, and x().
Referenced by isbtagged().
Double_t heppy::BTagSF::getSFc | ( | Float_t | pt, |
UInt_t | btagsys, | ||
Bool_t | is2012 | ||
) |
Definition at line 156 of file BTagSF.cc.
References kDown, kNo, kUp, pileupCalc::nbins, EnergyCorrector::pt, and x().
Referenced by isbtagged().
Double_t heppy::BTagSF::getSFl | ( | Float_t | pt, |
Float_t | eta, | ||
UInt_t | mistagsys, | ||
Bool_t | is2012 | ||
) |
Definition at line 211 of file BTagSF.cc.
References alignCSCRings::e, kDown, kNo, kUp, min(), and x().
Referenced by isbtagged().
Bool_t heppy::BTagSF::isbtagged | ( | Float_t | pt, |
Float_t | eta, | ||
Float_t | csv, | ||
Int_t | jetflavor, | ||
Bool_t | isdata, | ||
UInt_t | btagsys, | ||
UInt_t | mistagsys, | ||
Bool_t | is2012 | ||
) |
Definition at line 19 of file BTagSF.cc.
References getMistag(), getSFb(), getSFc(), getSFl(), and randm.
|
private |
Definition at line 27 of file BTagSF.h.
Referenced by BTagSF(), isbtagged(), and ~BTagSF().