3 from AthenaCommon.Logging
import logging
4 logging.getLogger().
info(
"Importing %s",__name__)
5 log = logging.getLogger(__name__)
7 from TriggerMenuMT.HLT.Config.ChainConfigurationBase
import ChainConfigurationBase
8 from TrigLongLivedParticlesHypo.TrigDJHypoConfig
import TrigDJComboHypoToolFromDict
10 from TriggerMenuMT.HLT.UnconventionalTracking.CommonConfiguration
import getFullScanRecoOnlySequenceGenCfg
11 from TriggerMenuMT.HLT.UnconventionalTracking.DJTriggerConfiguration
import DJPromptStepSequenceGenCfg, DJDispStepSequenceGenCfg
12 from TriggerMenuMT.HLT.UnconventionalTracking.DVTriggerConfiguration
import DVRecoSequenceGenCfg, DVTriggerEDSequenceGenCfg
13 from TriggerMenuMT.HLT.UnconventionalTracking.DisTrkTriggerConfiguration
import DisTrkTriggerHypoSequenceGenCfg
14 from TriggerMenuMT.HLT.UnconventionalTracking.FullScanLRTTrackingConfiguration
import FullScanLRTMenuSequenceGenCfg
15 from TriggerMenuMT.HLT.UnconventionalTracking.HitDVConfiguration
import HitDVHypoSequenceGenCfg, UTTJetRecoSequenceGenCfg
16 from TriggerMenuMT.HLT.UnconventionalTracking.IsoHighPtTrackTriggerConfiguration
import IsoHPtTrackTriggerHypoSequenceGenCfg
17 from TriggerMenuMT.HLT.UnconventionalTracking.VrtSecInclusiveConfiguration
import VrtSecInclusiveMenuSequenceGenCfg
18 from TriggerMenuMT.HLT.UnconventionalTracking.dEdxTriggerConfiguration
import dEdxTriggerHypoSequenceGenCfg
26 ChainConfigurationBase.__init__(self,chainDict)
32 log.debug(
"Assembling chain %s", self.chainName)
34 from TrigInDetConfig.utils
import getFlagsForActiveConfig
41 key = self.chainPart[
'trigType']
42 steps = stepDictionary[key]
45 chainstep = getattr(self, step)(flags)
46 chainSteps += [chainstep]
48 myChain = self.buildChain(chainSteps)
55 "isotrk" : [
'getIsoHPtTrackEmpty',
'getRoITrkEmpty',
'getFTFTrackReco',
'getIsoHPtTrackTrigger'],
56 "fslrt" : [
'getFSLRTEmpty',
'getRoITrkEmpty',
'getFSLRTTrigger'],
57 "dedxtrk" : [
'getdEdxEmpty',
'getRoITrkEmpty',
'getFTFTrackReco',
'getdEdxTrigger'],
58 "hitdvjet" : [
'getJetReco',
'getRoITrkEmpty',
'getFTFTrackReco',
'getHitDVTrigger'],
59 "fsvsi" : [
'getVSIEmpty',
'getRoITrkEmpty',
'getVSITrigger'],
60 "distrk" : [
'getDisTrkEmpty',
'getRoITrkEmpty',
'getFTFTrackReco',
'getDisTrkTrigger'],
61 "dispvtx" : [
'getJetReco',
'getRoITrkEmpty',
'getFTFTrackReco',
'getHitDVTrigger',
'getDVRecoStep',
'getDVEDStep'],
62 "dispjet" : [
'getJetReco',
'getRoITrkEmpty',
'getFTFTrackReco',
'getDJPromptStep',
'getDJDispStep']
71 return self.getStep(flags,
'JetRecoOnlyCfg',[UTTJetRecoSequenceGenCfg])
74 return self.getEmptyStep(1,
'EmptyUncTrk')
76 return self.getEmptyStep(1,
'FSLRTEmptyStep')
78 return self.getEmptyStep(1,
'DisTrkEmptyStep')
80 return self.getEmptyStep(1,
'VSIEmptyStep')
82 return self.getEmptyStep(1,
'dEdxEmptyStep')
86 return self.getStep(flags,
'FSLRT',[FullScanLRTMenuSequenceGenCfg])
89 return self.getEmptyStep(2,
'RoITrkEmptyStep')
93 return self.getStep(flags,
'FTFRecoOnly',[getFullScanRecoOnlySequenceGenCfg])
97 return self.getStep(flags,
'IsoHPtTrack',[IsoHPtTrackTriggerHypoSequenceGenCfg])
99 return self.getStep(flags,
'dEdx',[dEdxTriggerHypoSequenceGenCfg])
101 return self.getStep(flags,
'HitDV',[HitDVHypoSequenceGenCfg])
103 return self.getStep(flags,
'DisTrk',[DisTrkTriggerHypoSequenceGenCfg])
105 return self.getStep(flags,
'LRTVSI',[VrtSecInclusiveMenuSequenceGenCfg])
107 return self.getStep(flags,
'DJPromptStep',[DJPromptStepSequenceGenCfg], comboTools = [TrigDJComboHypoToolFromDict])
109 return self.getStep(flags,
'DJDispStep',[DJDispStepSequenceGenCfg])
111 return self.getStep(flags,
'DVRecoStep',[DVRecoSequenceGenCfg])
113 return self.getStep(flags,
'DVEDStep',[DVTriggerEDSequenceGenCfg])