ATLAS Offline Software
Functions
python.BTagJetAugmenterAlgConfig Namespace Reference

Functions

def BTagJetAugmenterAlgCfg (ConfigFlags, BTagCollection, Associator, TrackCollection, doFlipTagger=False)
 

Function Documentation

◆ BTagJetAugmenterAlgCfg()

def python.BTagJetAugmenterAlgConfig.BTagJetAugmenterAlgCfg (   ConfigFlags,
  BTagCollection,
  Associator,
  TrackCollection,
  doFlipTagger = False 
)

Definition at line 6 of file BTagJetAugmenterAlgConfig.py.

6 def BTagJetAugmenterAlgCfg(ConfigFlags, BTagCollection, Associator, TrackCollection, doFlipTagger=False):
7 
8  name = (BTagCollection + 'augment').lower()
9  flip_config = 'FLIP_SIGN' if doFlipTagger else 'STANDARD'
10  name+=("_"+flip_config)
11 
12  useIpxd = bool({'IP3D','IP2D'} & set(ConfigFlags.BTagging.taggerList))
13 
14  btagAug = CompFactory.FlavorTagDiscriminants.BTagAugmenterTool(
15  name=name,
16  flipTagConfig=flip_config,
17  trackAssociator=Associator,
18  useIpxd=useIpxd,
19  )
20 
21  decorAlg = CompFactory.FlavorTagDiscriminants.BTagDecoratorAlg(
22  name=f'{name}_alg',
23  container=BTagCollection,
24  constituentContainer=TrackCollection,
25  decorator=btagAug,
26  )
27  # -- create the augmentation algorithm
28  acc = ComponentAccumulator()
29  acc.addEventAlgo(decorAlg)
30 
31  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:224
python.BTagJetAugmenterAlgConfig.BTagJetAugmenterAlgCfg
def BTagJetAugmenterAlgCfg(ConfigFlags, BTagCollection, Associator, TrackCollection, doFlipTagger=False)
Definition: BTagJetAugmenterAlgConfig.py:6
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition: TrigDecision_v1.cxx:60