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
9 from TriggerMenuMT.HLT.MinBias.MinBiasMenuSequences
import (MinBiasSPSequenceGenCfg,
10 MinBiasTrkSequenceGenCfg,
11 MinBiasPixelTrkSequenceGenCfg,
12 MinBiasMbtsSequenceGenCfg,
13 MinBiasZVertexFinderSequenceGenCfg)
14 from TriggerMenuMT.HLT.MinBias.AFPMenuSequence
import AFPTrkSequenceGenCfg, AFPGlobalSequenceGenCfg, AFPToFDeltaZSequenceGenCfg
19 ChainConfigurationBase.__init__(self,chainDict)
25 log.debug(
"Assembling chain for %s", self.chainName)
28 if "mbts" == self.chainPart[
'recoAlg'][0]
or "mbts" in self.chainName:
30 elif "afprec" == self.chainPart[
'recoAlg'][0]:
35 if "afpdz5" in self.chainPart[
'recoAlg']
or "afpdz10" in self.chainPart[
'recoAlg']:
38 elif "afptof" in self.chainPart[
'recoAlg']:
41 if self.chainPart[
'recoAlg'][0]
in [
'sp',
'sptrk',
'hmt',
'excl',
'pixsptrk']:
44 if self.chainPart[
'recoAlg'][0]
in [
'sptrk',
'hmt',
'excl']:
48 if self.chainPart[
'recoAlg'][0]
in [
'pixsptrk']:
52 return self.buildChain(steps)
55 return self.getStep(flags,
'Mbts', [MinBiasMbtsSequenceGenCfg])
58 return self.getEmptyStep(1,
'EmptyMbts')
61 return self.getStep(flags,
'SPCount', [MinBiasSPSequenceGenCfg])
64 return self.getStep(flags,
'ZFind', [MinBiasZVertexFinderSequenceGenCfg])
67 return self.getStep(flags,
'TrkCount', [MinBiasTrkSequenceGenCfg])
70 return self.getStep(flags,
'PixTrkCount', [MinBiasPixelTrkSequenceGenCfg])
73 return self.getStep(flags,
'AFPTrk', [AFPTrkSequenceGenCfg])
76 return self.getStep(flags,
'AFPGlobal', [AFPGlobalSequenceGenCfg])
79 return self.getStep(flags,
'AFPToFDeltaZ', [AFPToFDeltaZSequenceGenCfg])