5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from HitAnalysis.HitAnalysisConfig
import ITkPixelHitAnalysisCfg, ITkStripHitAnalysisCfg, PLR_HitAnalysisCfg
10 if flags.Detector.EnableITkPixel:
13 if flags.Detector.EnableITkStrip:
16 if flags.Detector.EnablePLR:
22 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
23 from HitAnalysis.HitAnalysisConfig
import HGTD_HitAnalysisCfg
27 if flags.Detector.EnableHGTD:
35 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
36 from HitAnalysis.HitAnalysisConfig
import PixelHitAnalysisCfg, SCTHitAnalysisCfg, TRTHitAnalysisCfg
38 if flags.Detector.EnablePixel:
40 if flags.Detector.EnableSCT:
42 if flags.Detector.EnableTRT:
45 result.getService(
"THistSvc").Output = []
46 if flags.Detector.EnablePixel
or flags.Detector.EnableSCT:
47 result.getService(
"THistSvc").Output += [
48 "SiHitAnalysis DATAFILE='SiHitValid.root' OPT='RECREATE'"]
49 if flags.Detector.EnableTRT:
50 result.getService(
"THistSvc").Output += [
51 "TRTHitAnalysis DATAFILE='TRTHitValid.root' OPT='RECREATE'"]