![]() |
ATLAS Offline Software
|
Tool to apply flavour-tagging requirements on jets @modified by Ilaria Luise, Nilotpal Kakati in March 2022. More...
#include <BTaggingTruthTaggingTool.h>
Classes | |
| struct | jetVariable |
| struct | TagBin |
| Create a proper constructor for Athena. More... | |
| struct | TRFinfo |
Public Member Functions | |
| BTaggingTruthTaggingTool (const std::string &name) | |
| Create a constructor for standalone usage. | |
| StatusCode | CalculateResults (std::vector< float > &pt, std::vector< float > &eta, std::vector< int > &flav, std::vector< float > &tagw, Analysis::TruthTagResults &results, int rand_seed=-1) |
| StatusCode | CalculateResults (const xAOD::JetContainer &jets, Analysis::TruthTagResults &results, int rand_seed=-1) |
| StatusCode | CalculateResultsONNX (const std::vector< std::vector< float > > &node_feat, std::vector< float > &tagw, Analysis::TruthTagResults &results, int rand_seed=-1) |
| StatusCode | CalculateResultsONNX (const xAOD::JetContainer &jets, const std::vector< std::vector< float > > &node_feat, Analysis::TruthTagResults &results, int rand_seed=-1) |
| StatusCode | setEffMapIndex (const std::string &flavour, unsigned int index) |
| Declare the interface that the class provides. | |
| void | setUseSystematics (bool useSystematics) |
| virtual | ~BTaggingTruthTaggingTool () |
| StatusCode | initialize () |
| Dummy implementation of the initialisation function. | |
| CP::SystematicSet | affectingSystematics () const |
| the list of all systematics this tool can be affected by | |
| StatusCode | applySystematicVariation (const CP::SystematicSet &systConfig) |
| effects: configure this tool for the given list of systematic variations. | |
| CP::SystematicSet | recommendedSystematics () const |
| the list of all systematics this tool recommends to use | |
| bool | isAffectedBySystematic (const CP::SystematicVariation &systematic) const |
| Declare the interface that this class provides. | |
| virtual void | print () const |
| Print the state of the tool. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Additional helper functions, not directly mimicking Athena | |
| template<class T> | |
| const T * | getProperty (const std::string &name) const |
| Get one of the tool's properties. | |
| const std::string & | msg_level_name () const __attribute__((deprecated)) |
| A deprecated function for getting the message level's name. | |
| const std::string & | getName (const void *ptr) const |
| Get the name of an object that is / should be in the event store. | |
| SG::sgkey_t | getKey (const void *ptr) const |
| Get the (hashed) key of an object that is in the event store. | |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| enum | NjetsTagStrategy { AllJets =-1 , Leading2SignalJets =2 , Leading3SignalJets =3 } |
| will be set according to m_taggingStrategy More... | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | CalculateResults (TRFinfo &trfinf, Analysis::TruthTagResults &results, int rand_seed=-1) |
| StatusCode | setJets (TRFinfo &trfinf, std::vector< float > &pt, std::vector< float > &eta, std::vector< int > &flav, std::vector< float > &tagw) |
| StatusCode | setJets (TRFinfo &trfinf, const xAOD::JetContainer &jets) |
| StatusCode | setJets (TRFinfo &trfinf, std::vector< int > &flav, std::vector< Analysis::CalibrationDataVariables > *vars) |
| StatusCode | setJets (TRFinfo &trfinf, const std::vector< std::vector< float > > &node_feat, std::vector< float > &tagw) |
| StatusCode | setJets (TRFinfo &trfinf, const xAOD::JetContainer &jets, const std::vector< std::vector< float > > &node_feat) |
| StatusCode | setJets (TRFinfo &trfinf, std::vector< int > &flav, const std::vector< Analysis::CalibrationDataVariables > *vars, const std::vector< std::vector< float > > &node_feat) |
| StatusCode | GetTruthTagWeights (TRFinfo &trfinf, std::vector< float > &trf_weight_ex, std::vector< float > &trf_weight_in) |
| StatusCode | getTagPermutation (TRFinfo &trfinf, std::vector< std::vector< bool > > &trf_chosen_perm_ex, std::vector< std::vector< bool > > &trf_chosen_perm_in) |
| StatusCode | getQuantiles (TRFinfo &trfinf, std::vector< std::vector< int > > &trf_bin_ex, std::vector< std::vector< int > > &trf_bin_in) |
| float | getEvtSF (TRFinfo &trfinf, std::vector< int > &quantiles) |
| StatusCode | getDirectTaggedJets (TRFinfo &trfinf, std::vector< bool > &is_tagged) |
| StatusCode | getTRFweight (TRFinfo &trfinf, unsigned int nbtag, bool isInclusive) |
| StatusCode | getAllEffMC (TRFinfo &trfinf) |
| StatusCode | getAllEffMCCDI (TRFinfo &trfinf) |
| StatusCode | getAllEffMCGNN (TRFinfo &trfinf) |
| StatusCode | getAllEffSF (TRFinfo &trfinf, int=0) |
| int | jetFlavourLabel (const xAOD::Jet &jet) |
| int | GAFinalHadronFlavourLabel (const xAOD::Jet &jet) |
| int | ExclusiveConeHadronFlavourLabel (const xAOD::Jet &jet) |
| std::vector< std::string > | split (const std::string &str, char token) |
| StatusCode | check_syst_range (unsigned int sys) |
| std::vector< std::vector< bool > > | generatePermutations (int njets, int tags, int start=0) |
| float | trfWeight (TRFinfo &trfinf, const std::vector< bool > &tags) |
| StatusCode | chooseAllTagPermutation (TRFinfo &trfinf, unsigned int nbtag) |
| StatusCode | chooseTagPermutation (TRFinfo &trfinf, unsigned int nbtag, bool isIncl) |
| StatusCode | chooseAllTagBins (TRFinfo &trfinf) |
| StatusCode | chooseTagBins_cum (TRFinfo &trfinf, std::vector< bool > &tagconf, bool isIncl, unsigned int nbtag) |
| StatusCode | generateRandomTaggerScores (std::vector< std::vector< int > > &quantiles, std::vector< std::vector< float > > &btag_scores, std::vector< std::vector< float > > &ctag_scores) |
| float | getTagBinsConfProb (TRFinfo &trfinf, std::vector< int > &tagws) |
| StatusCode | fillVariables (const xAOD::Jet &jet, Analysis::CalibrationDataVariables &x) |
| StatusCode | fillVariables (const float jetPt, const float jetEta, const float jetTagWeight, Analysis::CalibrationDataVariables &x) |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| std::vector< std::string > | m_availableOP_fixCut = {"FixedCutBEff_85", "FixedCutBEff_77","FixedCutBEff_70","FixedCutBEff_60"} |
| TFile * | m_inf {} |
| std::vector< TagBin > | m_cuts |
| bool | m_initialised {} |
| std::vector< CP::SystematicSet > | m_eff_syst |
| std::vector< std::string > | m_sys_name |
| Gaudi::Property< std::string > | m_SFFile {this, "ScaleFactorFileName", "xAODBTaggingEfficiency/13TeV/2016-20_7-13TeV-MC15-CDI-July12_v1.root", "name of the official scale factor calibration CDI file (uses PathResolver)"} |
name of the data/MC efficiency scale factor calibration file (may be changed by the PathResolver) | |
| Gaudi::Property< std::string > | m_EffFile {this, "EfficiencyFileName", "", "name of optional user-provided MC efficiency CDI file"} |
name of the optional MC efficiency file (may be changed by the PathResolver) | |
| Gaudi::Property< std::string > | m_SFBName {this, "ScaleFactorBCalibration", "default", "name of b-jet scale factor calibration object"} |
| name of the data/MC scale factor calibration for b jets | |
| Gaudi::Property< std::string > | m_SFCName {this, "ScaleFactorCCalibration", "default", "name of c-jet scale factor calibration object"} |
| name of the data/MC scale factor calibration for charm jets | |
| Gaudi::Property< std::string > | m_SFTName {this, "ScaleFactorTCalibration", "default", "name of tau-jet scale factor calibration object"} |
| name of the data/MC scale factor calibration for tau jets | |
| Gaudi::Property< std::string > | m_SFLightName {this, "ScaleFactorLightCalibration", "default", "name of light-flavour jet scale factor calibration object"} |
| name of the data/MC scale factor calibration for light-flavour jets | |
| Gaudi::Property< std::string > | m_EVReductionB {this, "EigenvectorReductionB", "Loose", "b-jet scale factor Eigenvector reduction strategy; choose between 'Loose', 'Medium', 'Tight'"} |
| specification of the eigenvector reduction strategy for b jets (if eigenvectors are used) | |
| Gaudi::Property< std::string > | m_EVReductionC {this, "EigenvectorReductionC", "Loose", "c-jet scale factor Eigenvector reduction strategy; choose between 'Loose', 'Medium', 'Tight'"} |
| specification of the eigenvector reduction strategy for c jets (if eigenvectors are used) | |
| Gaudi::Property< std::string > | m_EVReductionLight {this, "EigenvectorReductionLight", "Loose","light-flavour jet scale factor Eigenvector reduction strategy; choose between 'Loose', 'Medium', 'Tight'"} |
| specification of the eigenvector reduction strategy for light-flavour jets (if eigenvectors are used) | |
| Gaudi::Property< std::string > | m_EffBName {this, "EfficiencyBCalibrations", "default", "(semicolon-separated) name(s) of b-jet efficiency object(s)"} |
| semicolon-separated list of MC efficiency parametrisation names for b jets | |
| Gaudi::Property< std::string > | m_EffCName {this, "EfficiencyCCalibrations", "default", "(semicolon-separated) name(s) of c-jet efficiency object(s)"} |
| semicolon-separated list of MC efficiency parametrisation names for charm jets | |
| Gaudi::Property< std::string > | m_EffTName {this, "EfficiencyTCalibrations", "default", "(semicolon-separated) name(s) of tau-jet efficiency object(s)"} |
| semicolon-separated list of MC efficiency parametrisation names for tau jets | |
| Gaudi::Property< std::string > | m_EffLightName {this, "EfficiencyLightCalibrations", "default", "(semicolon-separated) name(s) of light-flavour-jet efficiency object(s)"} |
| semicolon-separated list of MC efficiency parametrisation names for light-flavour jets | |
| Gaudi::Property< std::string > | m_excludeFromEV {this, "ExcludeFromEigenVectorTreatment", "", "(semicolon-separated) names of uncertainties to be excluded from eigenvector decomposition (if used)"} |
| semicolon-separated list of uncertainties to be excluded from the eigenvector variation procedure | |
| Gaudi::Property< std::string > | m_taggerName {this, "TaggerName", "MV2c10", "tagging algorithm name as specified in CDI file"} |
| tagger name | |
| Gaudi::Property< std::string > | m_OP {this, "OperatingPoint", "FixedCutBEff_77", "operating point as specified in CDI file"} |
| operating point | |
| Gaudi::Property< std::string > | m_cutBenchmark {this, "CutBenchmark", "1,2", "if you want to run in continuous you need to fix a benchmark - it does something only if running in Continuous OP"} |
| operating point when running in Continuous | |
| Gaudi::Property< std::string > | m_jetAuthor {this, "JetAuthor", "AntiKt4EMTopoJets", "jet collection & JVF/JVT specification in CDI file"} |
| jet collection name | |
| Gaudi::Property< std::string > | m_systStrategy {this, "SystematicsStrategy", "SFEigen", "name of systematics model; presently choose between 'SFEigen' and 'Envelope'"} |
| systematics model to be used (current choices are "SFEigen" and "Envelope") | |
| Gaudi::Property< bool > | m_useDevFile {this, "UseDevelopmentFile", false, "specify whether or not to use the (PathResolver) area for temporary scale factor calibration CDI files"} |
| if true, attempt to retrieve the data/MC efficiency scale factor calibration files from the @PathResolver development area | |
| Gaudi::Property< bool > | m_coneFlavourLabel {this, "ConeFlavourLabel", true, "specify whether or not to use the cone-based flavour labelling instead of the default ghost association based labelling"} |
| if true, use cone-based labelling (as opposed to ghost association) | |
| Gaudi::Property< std::string > | m_excludeEV {this, "ExcludeSpecificEigens", "" , "(semicolon-separated) names of Eigens you want to exclude. in case of continuous some eigenvectors can be ignored to make the computation faster"} |
| in case of continuous WP you can choose to ignore some of the eigenvectors | |
| Gaudi::Property< bool > | m_doDirectTag {this, "doDirectTagging", false , "If set to true it also computes and stores the direct tagging choice and the related SFs for each jet"} |
| possibility to compute the direct tagging SFs map directly from the TruthTaggingTool | |
| Gaudi::Property< std::string > | m_pathToONNX {this, "pathToONNX", "", "path to the onnx file that will be used for inference"} |
| if this string is empty, the onnx tool won't be used | |
| Gaudi::Property< std::string > | m_taggingStrategy {this, "TaggingStrategy", "AllJets", "tagging strategy in the Analysis (eg. 'leading2SignalJets' in boosted VHbb). Required to do TT with GNN"} |
| tagging strategy is required to do TT with GNN, when we don't want to truth tag all the jets (eg. 'leading2SignalJets') | |
| NjetsTagStrategy | m_njetsTagStrategy {AllJets} |
| Gaudi::Property< float > | m_minPt {this, "MinPt", 20000 , "Minimum jet pT cut (in MeV)"} |
| Gaudi::Property< float > | m_maxEta {this, "MaxEta", 2.5, "Maximum jet eta cut"} |
| Gaudi::Property< float > | m_maxRangePt {this, "MaxRangePt", 1000000 , "Max pT range (in MeV)"} |
| Gaudi::Property< bool > | m_doOnlyUpVariations {this, "StoreOnlyUpVariations", false , "If set to true it processes only the __1up b-tagging variations. It speeds up the computation in case of symmetric variations."} |
| bool | m_continuous {} |
| bool | m_continuous2D {} |
| Gaudi::Property< bool > | m_ignoreSF {this, "IgnoreScaleFactors", true, "ignore scale factors in computation of TRF weight"} |
| Gaudi::Property< bool > | m_usePerm {this, "UsePermutations", true, "if the chosen permutation is used, a reweighting is applied to the TRF weight for systematics"} |
| Gaudi::Property< bool > | m_useQuantile {this, "UseQuantile", true, "if the chosen quantile is used, a reweighting is applied to the TRF weight for systematics"} |
| Gaudi::Property< bool > | m_useSys {this, "UseSystematics", false, "will the results contain all systematic variations, or just the nominal"} |
| Gaudi::Property< int > | m_nbtag {this, "MaxNtagged", 2, "what is the maximal possible number of tagged jets"} |
| int | m_nbins {} |
| std::vector< int > | m_OperatingBins |
| unsigned int | m_OP_index_for_GNN {} |
| std::map< int, asg::AnaToolHandle< IBTaggingEfficiencyTool > > | m_effTool_allBins |
| asg::AnaToolHandle< IBTaggingEfficiencyTool > | m_effTool |
| asg::AnaToolHandle< IBTaggingSelectionTool > | m_selTool |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Tool to apply flavour-tagging requirements on jets @modified by Ilaria Luise, Nilotpal Kakati in March 2022.
Definition at line 48 of file BTaggingTruthTaggingTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
private |
will be set according to m_taggingStrategy
| Enumerator | |
|---|---|
| AllJets | |
| Leading2SignalJets | |
| Leading3SignalJets | |
Definition at line 262 of file BTaggingTruthTaggingTool.h.
| BTaggingTruthTaggingTool::BTaggingTruthTaggingTool | ( | const std::string & | name | ) |
Create a constructor for standalone usage.
Definition at line 39 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
Definition at line 1060 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
the list of all systematics this tool can be affected by
Implements CP::IReentrantSystematicsTool.
Definition at line 59 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
effects: configure this tool for the given list of systematic variations.
any requested systematics that are not affecting this tool will be silently ignored (unless they cause other errors). failures: systematic unknown failures: requesting multiple variations on the same systematic (e.g. up & down) failures: requesting an unsupported variation on an otherwise supported systematic (e.g. a 2 sigma variation and the tool only supports 1 sigma variations) failures: unsupported combination of supported systematic failures: other tool specific errors
Implements CP::ISystematicsTool.
Definition at line 63 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
Implements IBTaggingTruthTaggingTool.
Definition at line 528 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
Implements IBTaggingTruthTaggingTool.
Definition at line 517 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 436 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
Implements IBTaggingTruthTaggingTool.
Definition at line 540 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
Implements IBTaggingTruthTaggingTool.
Definition at line 552 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 1052 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 879 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 784 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 901 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 810 of file BTaggingTruthTaggingTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
private |
Definition at line 1091 of file BTaggingTruthTaggingTool.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
private |
Definition at line 409 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 392 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 1074 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 639 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 1128 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 563 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 607 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 572 of file BTaggingTruthTaggingTool.cxx.
|
private |
|
private |
Definition at line 994 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 1011 of file BTaggingTruthTaggingTool.cxx.
|
inherited |
Get the (hashed) key of an object that is in the event store.
This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
| ptr | The bare pointer to the object that the event store should know about |
Definition at line 119 of file AsgTool.cxx.
|
inherited |
Get the name of an object that is / should be in the event store.
This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
| ptr | The bare pointer to the object that the event store should know about |
Definition at line 106 of file AsgTool.cxx.
|
inherited |
Get one of the tool's properties.
|
private |
Definition at line 859 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 973 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 767 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 687 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 417 of file BTaggingTruthTaggingTool.cxx.
|
virtual |
Dummy implementation of the initialisation function.
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.
Definition at line 83 of file BTaggingTruthTaggingTool.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
virtual |
Declare the interface that this class provides.
returns: whether this tool is affected by the given systematics
Implements CP::ISystematicsTool.
Definition at line 73 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 1067 of file BTaggingTruthTaggingTool.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inherited |
A deprecated function for getting the message level's name.
Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:
This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.
Definition at line 101 of file AsgTool.cxx.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in AsgHelloTool, HI::HIPileupTool, JetBottomUpSoftDrop, JetConstituentsRetriever, JetDumper, JetFinder, JetFromPseudojet, JetModifiedMassDrop, JetPileupLabelingTool, JetPruner, JetPseudojetRetriever, JetReclusterer, JetReclusteringTool, JetRecTool, JetRecursiveSoftDrop, JetSoftDrop, JetSplitter, JetSubStructureMomentToolsBase, JetToolRunner, JetTrimmer, JetTruthLabelingTool, KtDeltaRTool, and LundVariablesTool.
Definition at line 131 of file AsgTool.cxx.
|
virtual |
the list of all systematics this tool recommends to use
Implements CP::IReentrantSystematicsTool.
Definition at line 79 of file BTaggingTruthTaggingTool.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
virtual |
Declare the interface that the class provides.
Implements IBTaggingTruthTaggingTool.
Definition at line 48 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 323 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 288 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 349 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 269 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 368 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 305 of file BTaggingTruthTaggingTool.cxx.
| void BTaggingTruthTaggingTool::setUseSystematics | ( | bool | useSystematics | ) |
Definition at line 53 of file BTaggingTruthTaggingTool.cxx.
|
private |
Definition at line 1113 of file BTaggingTruthTaggingTool.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
private |
Definition at line 663 of file BTaggingTruthTaggingTool.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 181 of file BTaggingTruthTaggingTool.h.
|
private |
if true, use cone-based labelling (as opposed to ghost association)
Definition at line 251 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 275 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 276 of file BTaggingTruthTaggingTool.h.
|
private |
operating point when running in Continuous
Definition at line 243 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 186 of file BTaggingTruthTaggingTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
possibility to compute the direct tagging SFs map directly from the TruthTaggingTool
Definition at line 256 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 273 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 197 of file BTaggingTruthTaggingTool.h.
|
private |
semicolon-separated list of MC efficiency parametrisation names for b jets
Definition at line 229 of file BTaggingTruthTaggingTool.h.
|
private |
semicolon-separated list of MC efficiency parametrisation names for charm jets
Definition at line 231 of file BTaggingTruthTaggingTool.h.
|
private |
name of the optional MC efficiency file (may be changed by the PathResolver)
Definition at line 213 of file BTaggingTruthTaggingTool.h.
|
private |
semicolon-separated list of MC efficiency parametrisation names for light-flavour jets
Definition at line 235 of file BTaggingTruthTaggingTool.h.
|
private |
semicolon-separated list of MC efficiency parametrisation names for tau jets
Definition at line 233 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 294 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 291 of file BTaggingTruthTaggingTool.h.
|
private |
specification of the eigenvector reduction strategy for b jets (if eigenvectors are used)
Definition at line 223 of file BTaggingTruthTaggingTool.h.
|
private |
specification of the eigenvector reduction strategy for c jets (if eigenvectors are used)
Definition at line 225 of file BTaggingTruthTaggingTool.h.
|
private |
specification of the eigenvector reduction strategy for light-flavour jets (if eigenvectors are used)
Definition at line 227 of file BTaggingTruthTaggingTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
in case of continuous WP you can choose to ignore some of the eigenvectors
Definition at line 254 of file BTaggingTruthTaggingTool.h.
|
private |
semicolon-separated list of uncertainties to be excluded from the eigenvector variation procedure
Definition at line 237 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 279 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 183 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 188 of file BTaggingTruthTaggingTool.h.
|
private |
jet collection name
Definition at line 245 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 269 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 270 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 268 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 287 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 285 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 263 of file BTaggingTruthTaggingTool.h.
|
private |
operating point
Definition at line 241 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 289 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 288 of file BTaggingTruthTaggingTool.h.
|
private |
if this string is empty, the onnx tool won't be used
Definition at line 258 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 295 of file BTaggingTruthTaggingTool.h.
|
private |
name of the data/MC scale factor calibration for b jets
Definition at line 215 of file BTaggingTruthTaggingTool.h.
|
private |
name of the data/MC scale factor calibration for charm jets
Definition at line 217 of file BTaggingTruthTaggingTool.h.
|
private |
name of the data/MC efficiency scale factor calibration file (may be changed by the PathResolver)
Definition at line 211 of file BTaggingTruthTaggingTool.h.
|
private |
name of the data/MC scale factor calibration for light-flavour jets
Definition at line 221 of file BTaggingTruthTaggingTool.h.
|
private |
name of the data/MC scale factor calibration for tau jets
Definition at line 219 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 198 of file BTaggingTruthTaggingTool.h.
|
private |
systematics model to be used (current choices are "SFEigen" and "Envelope")
Definition at line 247 of file BTaggingTruthTaggingTool.h.
|
private |
tagger name
Definition at line 239 of file BTaggingTruthTaggingTool.h.
|
private |
tagging strategy is required to do TT with GNN, when we don't want to truth tag all the jets (eg. 'leading2SignalJets')
Definition at line 260 of file BTaggingTruthTaggingTool.h.
|
private |
if true, attempt to retrieve the data/MC efficiency scale factor calibration files from the @PathResolver development area
Definition at line 249 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 280 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 281 of file BTaggingTruthTaggingTool.h.
|
private |
Definition at line 282 of file BTaggingTruthTaggingTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.