ATLAS Offline Software
Functions
ISF_FastCaloSimSDToolConfig Namespace Reference

Functions

def FCS_StepInfoSDToolCfg (flags, name="FCS_StepInfoSensitiveDetector", **kwargs)
 
def PostIncludeParametrizationInputSim_1mm (flags, cfg)
 

Function Documentation

◆ FCS_StepInfoSDToolCfg()

def ISF_FastCaloSimSDToolConfig.FCS_StepInfoSDToolCfg (   flags,
  name = "FCS_StepInfoSensitiveDetector",
**  kwargs 
)

Definition at line 7 of file ISF_FastCaloSimSDToolConfig.py.

7 def FCS_StepInfoSDToolCfg(flags, name="FCS_StepInfoSensitiveDetector", **kwargs):
8  kwargs.setdefault("StacVolumes", ["LArMgr::LAr::EMB::STAC"])
9  kwargs.setdefault("PresamplerVolumes", ["LArMgr::LAr::Barrel::Presampler::Module"])
10  kwargs.setdefault("NegIWVolumes", ["LArMgr::LAr::EMEC::Neg::InnerWheel"])
11  kwargs.setdefault("NegOWVolumes", ["LArMgr::LAr::EMEC::Neg::OuterWheel"])
12  kwargs.setdefault("NegBOBarretteVolumes",["LArMgr::LAr::EMEC::Neg::BackOuterBarrette::Module::Phidiv"])
13  kwargs.setdefault("PosIWVolumes", ["LArMgr::LAr::EMEC::Pos::InnerWheel"])
14  kwargs.setdefault("PosOWVolumes", ["LArMgr::LAr::EMEC::Pos::OuterWheel"])
15  kwargs.setdefault("PosBOBarretteVolumes",["LArMgr::LAr::EMEC::Pos::BackOuterBarrette::Module::Phidiv"])
16  kwargs.setdefault("PresVolumes", ["LArMgr::LAr::Endcap::Presampler::LiquidArgon"])
17  kwargs.setdefault("SliceVolumes", ["LArMgr::LAr::HEC::Module::Depth::Slice"])
18  kwargs.setdefault("FCAL1Volumes", ["LArMgr::LAr::FCAL::Module1::Gap"])
19  kwargs.setdefault("FCAL2Volumes", ["LArMgr::LAr::FCAL::Module2::Gap"])
20  kwargs.setdefault("FCAL3Volumes", ["LArMgr::LAr::FCAL::Module3::Gap"])
21  kwargs.setdefault("TileVolumes", ["Tile::Scintillator"])
22  kwargs.setdefault("OutputCollectionNames", ["EventSteps"])
23 
24  result = ComponentAccumulator()
25  result.setPrivateTools(CompFactory.FCS_Param.FCS_StepInfoSDTool(name, **kwargs))
26  return result
27 
28 

◆ PostIncludeParametrizationInputSim_1mm()

def ISF_FastCaloSimSDToolConfig.PostIncludeParametrizationInputSim_1mm (   flags,
  cfg 
)

Definition at line 29 of file ISF_FastCaloSimSDToolConfig.py.

30 
31  # // LAr barrel
32  # CALOSAMPLING(PreSamplerB, 1, 0) // 0
33  # CALOSAMPLING(EMB1, 1, 0) // 1
34  # CALOSAMPLING(EMB2, 1, 0) // 2
35  # CALOSAMPLING(EMB3, 1, 0) // 3
36 
37  # // LAr EM endcap
38  # CALOSAMPLING(PreSamplerE, 0, 1) // 4
39  # CALOSAMPLING(EME1, 0, 1) // 5
40  # CALOSAMPLING(EME2, 0, 1) // 6
41  # CALOSAMPLING(EME3, 0, 1) // 7
42 
43  # // Hadronic endcap
44  # CALOSAMPLING(HEC0, 0, 1) // 8
45  # CALOSAMPLING(HEC1, 0, 1) // 9
46  # CALOSAMPLING(HEC2, 0, 1) // 10
47  # CALOSAMPLING(HEC3, 0, 1) // 11
48 
49  # // Tile barrel
50  # CALOSAMPLING(TileBar0, 1, 0) // 12
51  # CALOSAMPLING(TileBar1, 1, 0) // 13
52  # CALOSAMPLING(TileBar2, 1, 0) // 14
53 
54  # // Tile gap (ITC & scint)
55  # CALOSAMPLING(TileGap1, 1, 0) // 15
56  # CALOSAMPLING(TileGap2, 1, 0) // 16
57  # CALOSAMPLING(TileGap3, 1, 0) // 17
58 
59  # // Tile extended barrel
60  # CALOSAMPLING(TileExt0, 1, 0) // 18
61  # CALOSAMPLING(TileExt1, 1, 0) // 19
62  # CALOSAMPLING(TileExt2, 1, 0) // 20
63 
64  # // Forward EM endcap
65  # CALOSAMPLING(FCAL0, 0, 1) // 21
66  # CALOSAMPLING(FCAL1, 0, 1) // 22
67  # CALOSAMPLING(FCAL2, 0, 1) // 23
68 
69 
70  stepInfoSDTool = cfg.getPublicTool("SensitiveDetectorMasterTool").SensitiveDetectors['FCS_StepInfoSensitiveDetector']
71  stepInfoSDTool.shift_lar_subhit=True #default
72  stepInfoSDTool.shorten_lar_step=True
73 
74  stepInfoSDTool.maxRadiusLateral = [ 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5] # For finer merging
75  stepInfoSDTool.maxRadiusLongitudinal = [11.0, 5.0, 31.0, 5.0, 5.0, 7.0, 32.0, 9.0, 35.0, 67.0, 62.0, 58.0, 38.0, 49.0, 48.0, 56.0, 48.0, 5.0, 38.0, 68.0, 85.0, 56.0, 55.0, 55.0] # For finer merging
76 
77  stepInfoSDTool.maxTime=25. #default
78  stepInfoSDTool.maxTimeTile=100. #default
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ISF_FastCaloSimSDToolConfig.FCS_StepInfoSDToolCfg
def FCS_StepInfoSDToolCfg(flags, name="FCS_StepInfoSensitiveDetector", **kwargs)
Definition: ISF_FastCaloSimSDToolConfig.py:7
ISF_FastCaloSimSDToolConfig.PostIncludeParametrizationInputSim_1mm
def PostIncludeParametrizationInputSim_1mm(flags, cfg)
Definition: ISF_FastCaloSimSDToolConfig.py:29