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

◆ MC12BarcodeSvcCfg()

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

Definition at line 27 of file BarcodeServicesConfig.py.

27def 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()

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

Definition at line 34 of file BarcodeServicesConfig.py.

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

◆ MC12PlusBarcodeSvcCfg()

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

Definition at line 38 of file BarcodeServicesConfig.py.

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

◆ MC15aBarcodeSvcCfg()

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

Definition at line 50 of file BarcodeServicesConfig.py.

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

◆ MC15aPlusBarcodeSvcCfg()

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

Definition at line 42 of file BarcodeServicesConfig.py.

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

◆ MC15aPlusLLPBarcodeSvcCfg()

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

Definition at line 46 of file BarcodeServicesConfig.py.

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

◆ ValidationBarcodeSvcCfg()

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

Definition at line 54 of file BarcodeServicesConfig.py.

54def 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