ATLAS Offline Software
Functions
BarcodeServicesConfig Namespace Reference

Functions

def BarcodeSvcCfg (flags, **kwargs)
 
def MC12BarcodeSvcCfg (flags, name="Barcode_MC12BarcodeSvc", **kwargs)
 
def MC12LLPBarcodeSvcCfg (flags, name="Barcode_MC12LLPBarcodeSvc", **kwargs)
 
def MC12PlusBarcodeSvcCfg (flags, name="Barcode_MC12PlusBarcodeSvc", **kwargs)
 
def MC15aPlusBarcodeSvcCfg (flags, name="Barcode_MC15aPlusBarcodeSvc", **kwargs)
 
def MC15aPlusLLPBarcodeSvcCfg (flags, name="Barcode_MC15aPlusLLPBarcodeSvc", **kwargs)
 
def MC15aBarcodeSvcCfg (flags, name="Barcode_MC15aBarcodeSvc", **kwargs)
 
def ValidationBarcodeSvcCfg (flags, name="Barcode_ValidationBarcodeSvc", **kwargs)
 

Detailed Description

ComponentAccumulator BarcodeServices configurations

Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ BarcodeSvcCfg()

def BarcodeServicesConfig.BarcodeSvcCfg (   flags,
**  kwargs 
)
Return the MCxBarcodeSvcCfg config flagged by Sim.TruthStrategy

Definition at line 9 of file BarcodeServicesConfig.py.

9 def BarcodeSvcCfg(flags, **kwargs):
10  """Return the MCxBarcodeSvcCfg config flagged by Sim.TruthStrategy"""
11  from SimulationConfig.SimEnums import TruthStrategy
12  stratmap = {
13  TruthStrategy.MC12: MC12BarcodeSvcCfg,
14  TruthStrategy.MC12LLP: MC12LLPBarcodeSvcCfg,
15  TruthStrategy.MC12Plus: MC12PlusBarcodeSvcCfg,
16  TruthStrategy.MC15: MC15aBarcodeSvcCfg,
17  TruthStrategy.MC15a: MC15aBarcodeSvcCfg,
18  TruthStrategy.MC15aPlus: MC15aPlusBarcodeSvcCfg,
19  TruthStrategy.MC15aPlusLLP: MC15aPlusLLPBarcodeSvcCfg,
20  TruthStrategy.Validation: ValidationBarcodeSvcCfg,
21  # TruthStrategy.Cosmic: CosmicBarcodeSvcCfg,
22  }
23  MCxCfg = stratmap[flags.Sim.TruthStrategy]
24  return MCxCfg(flags, name="BarcodeSvc", **kwargs)
25 
26 

◆ MC12BarcodeSvcCfg()

def BarcodeServicesConfig.MC12BarcodeSvcCfg (   flags,
  name = "Barcode_MC12BarcodeSvc",
**  kwargs 
)

Definition at line 27 of file BarcodeServicesConfig.py.

27 def MC12BarcodeSvcCfg(flags, name="Barcode_MC12BarcodeSvc", **kwargs):
28  result = ComponentAccumulator()
29  svc = CompFactory.Barcode.LegacyBarcodeSvc(name, **kwargs)
30  result.addService(svc, primary=True)
31  return result
32 
33 

◆ MC12LLPBarcodeSvcCfg()

def BarcodeServicesConfig.MC12LLPBarcodeSvcCfg (   flags,
  name = "Barcode_MC12LLPBarcodeSvc",
**  kwargs 
)

Definition at line 34 of file BarcodeServicesConfig.py.

34 def MC12LLPBarcodeSvcCfg(flags, name="Barcode_MC12LLPBarcodeSvc", **kwargs):
35  return MC12BarcodeSvcCfg(flags, name, **kwargs)
36 
37 

◆ MC12PlusBarcodeSvcCfg()

def BarcodeServicesConfig.MC12PlusBarcodeSvcCfg (   flags,
  name = "Barcode_MC12PlusBarcodeSvc",
**  kwargs 
)

Definition at line 38 of file BarcodeServicesConfig.py.

38 def MC12PlusBarcodeSvcCfg(flags, name="Barcode_MC12PlusBarcodeSvc", **kwargs):
39  return MC12BarcodeSvcCfg(flags, name, **kwargs)
40 
41 

◆ MC15aBarcodeSvcCfg()

def BarcodeServicesConfig.MC15aBarcodeSvcCfg (   flags,
  name = "Barcode_MC15aBarcodeSvc",
**  kwargs 
)

Definition at line 50 of file BarcodeServicesConfig.py.

50 def MC15aBarcodeSvcCfg(flags, name="Barcode_MC15aBarcodeSvc", **kwargs):
51  return MC12BarcodeSvcCfg(flags, name, **kwargs)
52 
53 

◆ MC15aPlusBarcodeSvcCfg()

def BarcodeServicesConfig.MC15aPlusBarcodeSvcCfg (   flags,
  name = "Barcode_MC15aPlusBarcodeSvc",
**  kwargs 
)

Definition at line 42 of file BarcodeServicesConfig.py.

42 def MC15aPlusBarcodeSvcCfg(flags, name="Barcode_MC15aPlusBarcodeSvc", **kwargs):
43  return MC12BarcodeSvcCfg(flags, name, **kwargs)
44 
45 

◆ MC15aPlusLLPBarcodeSvcCfg()

def BarcodeServicesConfig.MC15aPlusLLPBarcodeSvcCfg (   flags,
  name = "Barcode_MC15aPlusLLPBarcodeSvc",
**  kwargs 
)

Definition at line 46 of file BarcodeServicesConfig.py.

46 def MC15aPlusLLPBarcodeSvcCfg(flags, name="Barcode_MC15aPlusLLPBarcodeSvc", **kwargs):
47  return MC12BarcodeSvcCfg(flags, name, **kwargs)
48 
49 

◆ ValidationBarcodeSvcCfg()

def BarcodeServicesConfig.ValidationBarcodeSvcCfg (   flags,
  name = "Barcode_ValidationBarcodeSvc",
**  kwargs 
)

Definition at line 54 of file BarcodeServicesConfig.py.

54 def ValidationBarcodeSvcCfg(flags, name="Barcode_ValidationBarcodeSvc", **kwargs):
55  result = ComponentAccumulator()
56  svc = CompFactory.Barcode.ValidationBarcodeSvc(name, **kwargs)
57  result.addService(svc, primary=True)
58  return result
BarcodeServicesConfig.MC15aBarcodeSvcCfg
def MC15aBarcodeSvcCfg(flags, name="Barcode_MC15aBarcodeSvc", **kwargs)
Definition: BarcodeServicesConfig.py:50
BarcodeServicesConfig.ValidationBarcodeSvcCfg
def ValidationBarcodeSvcCfg(flags, name="Barcode_ValidationBarcodeSvc", **kwargs)
Definition: BarcodeServicesConfig.py:54
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
BarcodeServicesConfig.BarcodeSvcCfg
def BarcodeSvcCfg(flags, **kwargs)
Definition: BarcodeServicesConfig.py:9
BarcodeServicesConfig.MC12LLPBarcodeSvcCfg
def MC12LLPBarcodeSvcCfg(flags, name="Barcode_MC12LLPBarcodeSvc", **kwargs)
Definition: BarcodeServicesConfig.py:34
BarcodeServicesConfig.MC12PlusBarcodeSvcCfg
def MC12PlusBarcodeSvcCfg(flags, name="Barcode_MC12PlusBarcodeSvc", **kwargs)
Definition: BarcodeServicesConfig.py:38
BarcodeServicesConfig.MC15aPlusBarcodeSvcCfg
def MC15aPlusBarcodeSvcCfg(flags, name="Barcode_MC15aPlusBarcodeSvc", **kwargs)
Definition: BarcodeServicesConfig.py:42
BarcodeServicesConfig.MC12BarcodeSvcCfg
def MC12BarcodeSvcCfg(flags, name="Barcode_MC12BarcodeSvc", **kwargs)
Definition: BarcodeServicesConfig.py:27
BarcodeServicesConfig.MC15aPlusLLPBarcodeSvcCfg
def MC15aPlusLLPBarcodeSvcCfg(flags, name="Barcode_MC15aPlusLLPBarcodeSvc", **kwargs)
Definition: BarcodeServicesConfig.py:46