![]() |
ATLAS Offline Software
|
#include <FlavourUncertaintyComponent.h>
Public Member Functions | |
| FlavourUncertaintyComponent (const ComponentHelper &component, const TString &jetType, const TString &analysisRootFileName, const TString &defaultAnalysisRootFileName, const TString &path, const TString &calibArea, const bool absEtaGluonFraction, const TString &analysisHistPattern="", const TString &NjetAccessorName="Njet") | |
| FlavourUncertaintyComponent (const FlavourUncertaintyComponent &toCopy) | |
| virtual FlavourUncertaintyComponent * | clone () const |
| virtual | ~FlavourUncertaintyComponent () |
| virtual StatusCode | initialize (TFile *histFile) |
| virtual FlavourComp::TypeEnum | getFlavourType () const |
| virtual TString | getName () const |
| virtual TString | getValidName () const |
| virtual CompScaleVar::TypeEnum | getScaleVar () const |
| virtual JetTopology::TypeEnum | getTopology () const |
| virtual bool | isAlwaysZero () const |
| virtual bool | getValidity (const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| virtual double | getUncertainty (const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| virtual bool | getValidUncertainty (double &unc, const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Functions providing the same interface as AthMessaging | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
Protected Member Functions | |
| virtual bool | getValidityImpl (const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| virtual double | getUncertaintyImpl (const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| virtual bool | getValidBool (const double validity) const |
| virtual double | getSplitFactor (const xAOD::Jet &jet) const |
| virtual double | getAbsMass (const xAOD::Jet &jet, const CompMassDef::TypeEnum massDef) const |
| virtual double | getMassOverPt (const xAOD::Jet &jet, const CompMassDef::TypeEnum massDef) const |
| virtual double | getMassOverE (const xAOD::Jet &jet, const CompMassDef::TypeEnum massDef) const |
Protected Attributes | |
| bool | m_isInit {} |
| const TString | m_uncHistName |
| const TString | m_validHistName |
| const CompScaleVar::TypeEnum | m_scaleVar |
| const JetTopology::TypeEnum | m_topology |
| const float | m_energyScale {} |
| const Interpolate::TypeEnum | m_interpolate |
| const int | m_splitNumber {} |
| int | m_numExpectedHist {} |
| UncertaintyHistogram * | m_uncHist {} |
| UncertaintyHistogram * | m_validHist {} |
Private Types | |
| enum | FlavourRespType { FlavourResp_UNKNOWN , FlavourResp_GLUON , FlavourResp_QUARK } |
Private Member Functions | |
| FlavourUncertaintyComponent (const std::string &name="") | |
| double | getFlavourResponseUncertainty (const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| double | getFlavourCompositionUncertainty (const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| double | getBJESUncertainty (const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const |
| double | getGluonFraction (const double pT, const double eta, const int nJets) const |
| double | getGluonFractionError (const double pT, const double eta, const int nJets) const |
| double | getGluonResponseDifference (const double pT, const double eta) const |
| double | getGluonResponseBaseline (const double pT, const double eta) const |
| double | getQuarkResponseBaseline (const double pT, const double eta) const |
| StatusCode | readNjetsHistograms (std::vector< UncertaintyHistogram * > &hists, const std::vector< TString > &histKeys) |
| StatusCode | getNjetFromKey (const TString &key, int &nJets) const |
| StatusCode | checkNjetsInput (int &nJets) const |
| bool | isBjet (const xAOD::Jet &jet) const |
| void | getGluonKeys (TFile *analysisFile, std::vector< TString > &gluonFractionKeys, std::vector< TString > &gluonFractionErrorKeys) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| const FlavourComp::TypeEnum | m_flavourType |
| const TString | m_jetType |
| const TString | m_analysisFileName |
| const TString | m_analysisHistPattern |
| const TString | m_defAnaFileName |
| const TString | m_path |
| const TString | m_calibArea |
| const bool | m_absEta |
| const bool | m_absEtaGluonFraction |
| const TString | m_secondUncName |
| std::string | m_largeRJetTruthLabelName |
| std::vector< LargeRJetTruthLabel::TypeEnum > | m_largeRJetTruthLabels |
| UncertaintyHistogram * | m_secondUncHist |
| FlavourRespType | m_respType |
| FlavourRespType | m_secondRespType |
| SG::AuxElement::Accessor< char > | m_BjetAccessor |
| SG::AuxElement::Accessor< int > | m_NjetAccessor |
| SG::AuxElement::Accessor< int > | m_largeRJetTruthLabelAccessor |
| std::vector< UncertaintyHistogram * > | m_gluonFractionHists |
| std::vector< UncertaintyHistogram * > | m_gluonFractionErrorHists |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Definition at line 13 of file FlavourUncertaintyComponent.h.
|
private |
| Enumerator | |
|---|---|
| FlavourResp_UNKNOWN | |
| FlavourResp_GLUON | |
| FlavourResp_QUARK | |
Definition at line 45 of file FlavourUncertaintyComponent.h.
| jet::FlavourUncertaintyComponent::FlavourUncertaintyComponent | ( | const ComponentHelper & | component, |
| const TString & | jetType, | ||
| const TString & | analysisRootFileName, | ||
| const TString & | defaultAnalysisRootFileName, | ||
| const TString & | path, | ||
| const TString & | calibArea, | ||
| const bool | absEtaGluonFraction, | ||
| const TString & | analysisHistPattern = "", | ||
| const TString & | NjetAccessorName = "Njet" ) |
Definition at line 45 of file FlavourUncertaintyComponent.cxx.
| jet::FlavourUncertaintyComponent::FlavourUncertaintyComponent | ( | const FlavourUncertaintyComponent & | toCopy | ) |
Definition at line 84 of file FlavourUncertaintyComponent.cxx.
|
virtual |
Definition at line 126 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 21 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 632 of file FlavourUncertaintyComponent.cxx.
|
virtual |
Implements jet::UncertaintyComponent.
Definition at line 121 of file FlavourUncertaintyComponent.cxx.
|
protectedvirtualinherited |
Definition at line 309 of file UncertaintyComponent.cxx.
|
private |
Definition at line 517 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 457 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 421 of file FlavourUncertaintyComponent.cxx.
|
inlinevirtual |
Definition at line 33 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 532 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 538 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 671 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 554 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 544 of file FlavourUncertaintyComponent.cxx.
|
protectedvirtualinherited |
Definition at line 360 of file UncertaintyComponent.cxx.
|
protectedvirtualinherited |
Definition at line 334 of file UncertaintyComponent.cxx.
|
inlinevirtualinherited |
Definition at line 35 of file UncertaintyComponent.h.
|
private |
Definition at line 615 of file FlavourUncertaintyComponent.cxx.
|
private |
Definition at line 570 of file FlavourUncertaintyComponent.cxx.
|
inlinevirtualinherited |
Definition at line 37 of file UncertaintyComponent.h.
|
protectedvirtualinherited |
Definition at line 196 of file UncertaintyComponent.cxx.
|
inlinevirtualinherited |
Definition at line 38 of file UncertaintyComponent.h.
|
virtualinherited |
Definition at line 169 of file UncertaintyComponent.cxx.
|
protectedvirtual |
Implements jet::UncertaintyComponent.
Definition at line 368 of file FlavourUncertaintyComponent.cxx.
|
protectedvirtualinherited |
Definition at line 301 of file UncertaintyComponent.cxx.
|
virtualinherited |
Definition at line 159 of file UncertaintyComponent.cxx.
|
protectedvirtual |
Implements jet::UncertaintyComponent.
Definition at line 345 of file FlavourUncertaintyComponent.cxx.
|
inlinevirtualinherited |
Definition at line 36 of file UncertaintyComponent.h.
|
virtualinherited |
Definition at line 179 of file UncertaintyComponent.cxx.
|
virtual |
Reimplemented from jet::UncertaintyComponent.
Definition at line 141 of file FlavourUncertaintyComponent.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
virtualinherited |
Reimplemented in jet::CombinedMassUncertaintyComponent.
Definition at line 140 of file UncertaintyComponent.cxx.
|
private |
Definition at line 661 of file FlavourUncertaintyComponent.cxx.
|
inherited |
The standard message stream.
Definition at line 49 of file AsgMessaging.cxx.
|
inherited |
The standard message stream.
| lvl | The message level to set the stream to |
Definition at line 57 of file AsgMessaging.cxx.
|
inherited |
Test the output level of the object.
| lvl | The message level to test against |
true If messages at level "lvl" will be printed Definition at line 41 of file AsgMessaging.cxx.
|
private |
Definition at line 592 of file FlavourUncertaintyComponent.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 55 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 56 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 50 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 51 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 67 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 54 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 52 of file FlavourUncertaintyComponent.h.
|
protectedinherited |
Definition at line 55 of file UncertaintyComponent.h.
|
private |
Definition at line 48 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 73 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 72 of file FlavourUncertaintyComponent.h.
|
mutableprivateinherited |
|
protectedinherited |
Definition at line 56 of file UncertaintyComponent.h.
|
protectedinherited |
Definition at line 50 of file UncertaintyComponent.h.
|
private |
Definition at line 49 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 69 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 59 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 62 of file FlavourUncertaintyComponent.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
private |
Definition at line 68 of file FlavourUncertaintyComponent.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
protectedinherited |
Definition at line 59 of file UncertaintyComponent.h.
|
private |
Definition at line 53 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 65 of file FlavourUncertaintyComponent.h.
|
protectedinherited |
Definition at line 53 of file UncertaintyComponent.h.
|
private |
Definition at line 66 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 64 of file FlavourUncertaintyComponent.h.
|
private |
Definition at line 57 of file FlavourUncertaintyComponent.h.
|
protectedinherited |
Definition at line 57 of file UncertaintyComponent.h.
|
protectedinherited |
Definition at line 54 of file UncertaintyComponent.h.
|
protectedinherited |
Definition at line 60 of file UncertaintyComponent.h.
|
protectedinherited |
Definition at line 51 of file UncertaintyComponent.h.
|
protectedinherited |
Definition at line 61 of file UncertaintyComponent.h.
|
protectedinherited |
Definition at line 52 of file UncertaintyComponent.h.