ATLAS Offline Software
Loading...
Searching...
No Matches
BarcodeServicesConfig Namespace Reference

Functions

 BarcodeSvcCfg (flags, **kwargs)
 MC12BarcodeSvcCfg (flags, name="Barcode_MC12BarcodeSvc", **kwargs)
 MC12LLPBarcodeSvcCfg (flags, name="Barcode_MC12LLPBarcodeSvc", **kwargs)
 MC12PlusBarcodeSvcCfg (flags, name="Barcode_MC12PlusBarcodeSvc", **kwargs)
 MC15aPlusBarcodeSvcCfg (flags, name="Barcode_MC15aPlusBarcodeSvc", **kwargs)
 MC15aPlusLLPBarcodeSvcCfg (flags, name="Barcode_MC15aPlusLLPBarcodeSvc", **kwargs)
 MC15aBarcodeSvcCfg (flags, name="Barcode_MC15aBarcodeSvc", **kwargs)
 MSLLPValidationBarcodeSvcCfg (flags, name="Barcode_MSLLPValidationBarcodeSvc", **kwargs)
 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()

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

Definition at line 9 of file BarcodeServicesConfig.py.

9def 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.MSLLPValidation: MSLLPValidationBarcodeSvcCfg,
22 # TruthStrategy.Cosmic: CosmicBarcodeSvcCfg,
23 }
24 MCxCfg = stratmap[flags.Sim.TruthStrategy]
25 return MCxCfg(flags, name="BarcodeSvc", **kwargs)
26
27

◆ MC12BarcodeSvcCfg()

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

Definition at line 28 of file BarcodeServicesConfig.py.

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

◆ MC12LLPBarcodeSvcCfg()

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

Definition at line 35 of file BarcodeServicesConfig.py.

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

◆ MC12PlusBarcodeSvcCfg()

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

Definition at line 39 of file BarcodeServicesConfig.py.

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

◆ MC15aBarcodeSvcCfg()

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

Definition at line 51 of file BarcodeServicesConfig.py.

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

◆ MC15aPlusBarcodeSvcCfg()

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

Definition at line 43 of file BarcodeServicesConfig.py.

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

◆ MC15aPlusLLPBarcodeSvcCfg()

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

Definition at line 47 of file BarcodeServicesConfig.py.

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

◆ MSLLPValidationBarcodeSvcCfg()

BarcodeServicesConfig.MSLLPValidationBarcodeSvcCfg ( flags,
name = "Barcode_MSLLPValidationBarcodeSvc",
** kwargs )

Definition at line 55 of file BarcodeServicesConfig.py.

55def MSLLPValidationBarcodeSvcCfg(flags, name="Barcode_MSLLPValidationBarcodeSvc", **kwargs):
56 return MC12BarcodeSvcCfg(flags, name, **kwargs)
57
58

◆ ValidationBarcodeSvcCfg()

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

Definition at line 59 of file BarcodeServicesConfig.py.

59def ValidationBarcodeSvcCfg(flags, name="Barcode_ValidationBarcodeSvc", **kwargs):
60 result = ComponentAccumulator()
61 svc = CompFactory.Barcode.ValidationBarcodeSvc(name, **kwargs)
62 result.addService(svc, primary=True)
63 return result