ATLAS Offline Software
Classes | Functions | Variables
python.HLT.CalibCosmicMon.CalibChainConfiguration Namespace Reference

Classes

class  CalibChainConfiguration
 

Functions

def getLArNoiseBurstRecoCfg (flags)
 
def getLArNoiseBurstSequenceGenCfg (flags)
 
def getCaloAllEMLayersPSSequenceGenCfg (flags, doAllorAllEM=False)
 
def IDCalibTriggerSequenceGenCfg (flags)
 
def IDCalibFTFSequenceGenCfg (flags)
 
def acceptedEventsSequenceGenCfg (flags)
 

Variables

 log
 

Function Documentation

◆ acceptedEventsSequenceGenCfg()

def python.HLT.CalibCosmicMon.CalibChainConfiguration.acceptedEventsSequenceGenCfg (   flags)
Return MenuSequenceCA for an HLT step used by the AcceptedEvents chains. This step is a trivial
always-reject hypo with no reco. The step itself should be noop as only the HLTSeeding and the
end-of-event sequence parts of AcceptedEvents chains are actually used.

Definition at line 203 of file CalibChainConfiguration.py.

204  '''
205  Return MenuSequenceCA for an HLT step used by the AcceptedEvents chains. This step is a trivial
206  always-reject hypo with no reco. The step itself should be noop as only the HLTSeeding and the
207  end-of-event sequence parts of AcceptedEvents chains are actually used.
208  '''
209  # Implementation identical to the timeburner chain but with zero sleep time
210 
211  inputMaker = CompFactory.InputMakerForRoI(
212  "IM_AcceptedEvents",
213  RoITool = CompFactory.ViewCreatorInitialROITool(),
214  RoIs="AcceptedEventsRoIs",
215  )
216  reco = InEventRecoCA('AcceptedEvents_reco',inputMaker=inputMaker)
217  # TimeBurner alg works as a reject-all hypo
218  selAcc = SelectionCA('AcceptedEventsSequence')
219  selAcc.mergeReco(reco)
220  selAcc.addHypoAlgo(
222  flags,
223  name="AcceptedEventsHypo",
224  SleepTimeMillisec = 0,
225  )
226  )
227 
228  msca = MenuSequenceCA(
229  flags, selAcc,
230  HypoToolGen=TimeBurnerHypoToolGen
231  )
232  return msca
233 

◆ getCaloAllEMLayersPSSequenceGenCfg()

def python.HLT.CalibCosmicMon.CalibChainConfiguration.getCaloAllEMLayersPSSequenceGenCfg (   flags,
  doAllorAllEM = False 
)

Definition at line 55 of file CalibChainConfiguration.py.

55 def getCaloAllEMLayersPSSequenceGenCfg(flags,doAllorAllEM=False):
56 
57  from TrigT2CaloCommon.CaloDef import fastCaloVDVCfg
58  nameselAcc = "LArPSSequence_All"
59  namerecoAcc = "fastCaloInViewSequenceAllEM"
60  hypoAlgName = "TrigL2CaloLayersAlg_AllEM"
61  output = "HLT_LArPS_AllCaloEMClusters"
62  if doAllorAllEM :
63  nameselAcc = "LArPSSequence_AllEM"
64  namerecoAcc = "fastCaloInViewSequenceAll"
65  hypoAlgName = "TrigL2CaloLayersAlg_All"
66  output = "HLT_LArPS_AllCaloClusters"
67  selAcc = SelectionCA(nameselAcc)
68  InViewRoIs="EMCaloRoIs"
69  reco = InViewRecoCA(namerecoAcc,InViewRoIs=InViewRoIs)
70  reco.mergeReco(fastCaloVDVCfg(InViewRoIs=InViewRoIs))
71  reco.mergeReco(fastCaloRecoSequenceCfg(flags, inputEDM=InViewRoIs,ClustersName=output,doAllEm=not doAllorAllEM,doAll=doAllorAllEM))
72 
73  selAcc.mergeReco(reco)
74 
75  from TrigCaloHypo.TrigCaloHypoConfig import TrigL2CaloLayersHypoToolGen
76  TrigL2CaloLayersAlg = CompFactory.TrigL2CaloLayersAlg(hypoAlgName)
77  TrigL2CaloLayersAlg.TrigClusterContainerKey = output
78  selAcc.addHypoAlgo(TrigL2CaloLayersAlg)
79  return MenuSequenceCA(flags,selAcc,HypoToolGen=TrigL2CaloLayersHypoToolGen)
80 
81 
82 #----------------------------------------------------------------
83 

◆ getLArNoiseBurstRecoCfg()

def python.HLT.CalibCosmicMon.CalibChainConfiguration.getLArNoiseBurstRecoCfg (   flags)

Definition at line 24 of file CalibChainConfiguration.py.

24 def getLArNoiseBurstRecoCfg(flags):
25  acc = InEventRecoCA("LArNoiseBurstRecoSequence", inputMaker=clusterFSInputMaker())
26  cells_name = 'CaloCellsFS'
27  acc.mergeReco(hltCaloCellMakerCfg(flags=flags, name="HLTCaloCellMakerFS", roisKey=''))
28  acc.mergeReco(TrigLArNoiseBurstRecoAlgCfg(flags, cells_name))
29  return acc
30 
31 
32 # --------------------
33 # LArNoiseBurst configuration
34 # --------------------
35 @AccumulatorCache

◆ getLArNoiseBurstSequenceGenCfg()

def python.HLT.CalibCosmicMon.CalibChainConfiguration.getLArNoiseBurstSequenceGenCfg (   flags)

Definition at line 36 of file CalibChainConfiguration.py.

37 
38  hypoAlg = CompFactory.TrigLArNoiseBurstAlg("NoiseBurstAlg")
39  InEventReco = InEventRecoCA("LArNoiseBurstRecoSequence", inputMaker=clusterFSInputMaker())
40 
41  noiseBurstRecoSeq = getLArNoiseBurstRecoCfg(flags)
42 
43  InEventReco.mergeReco(noiseBurstRecoSeq)
44  selAcc = SelectionCA("LArNoiseBurstMenuSequence")
45  selAcc.mergeReco(InEventReco)
46  selAcc.addHypoAlgo(hypoAlg)
47 
48  return MenuSequenceCA(flags,selAcc,HypoToolGen=TrigLArNoiseBurstHypoToolGen)
49 
50 
51 # --------------------
52 # LArPS Noise Detection EM configuration
53 # --------------------
54 @AccumulatorCache

◆ IDCalibFTFSequenceGenCfg()

def python.HLT.CalibCosmicMon.CalibChainConfiguration.IDCalibFTFSequenceGenCfg (   flags)

Definition at line 182 of file CalibChainConfiguration.py.

182 def IDCalibFTFSequenceGenCfg(flags):
183  reco = InEventRecoCA('IDCalibTrkrecoSeq_reco',inputMaker=getTrackingInputMaker(flags, "ftf"))
184  reco.mergeReco(commonInDetFullScanCfg(flags))
185 
186  selAcc = SelectionCA('IDCalibTrkrecoSeq')
187  selAcc.mergeReco(reco)
188  selAcc.addHypoAlgo(CompFactory.TrigStreamerHypoAlg("IDCalibTrkDummyStream"))
189 
190  msca = MenuSequenceCA(
191  flags, selAcc,
192  HypoToolGen = lambda chainDict: CompFactory.TrigStreamerHypoTool(chainDict['chainName'])
193  )
194  return msca
195 
196 
197 #----------------------------------------------------------------
198 
199 # --------------------
200 # HLT step for the AcceptedEvents chains
201 # --------------------
202 @AccumulatorCache

◆ IDCalibTriggerSequenceGenCfg()

def python.HLT.CalibCosmicMon.CalibChainConfiguration.IDCalibTriggerSequenceGenCfg (   flags)

Definition at line 159 of file CalibChainConfiguration.py.

160  DummyInputMakerAlg = CompFactory.InputMakerForRoI( "IM_IDCalib_HypoOnlyStep" )
161  DummyInputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
162 
163  reco = InEventRecoCA('IDCalibEmptySeq_reco',inputMaker=DummyInputMakerAlg)
164 
165  theHypoAlg = createIDCalibHypoAlg(flags, "IDCalibHypo")
166  theHypoAlg.tracksKey = flags.Trigger.InDetTracking.fullScan.tracks_FTF
167 
168  selAcc = SelectionCA('IDCalibEmptySeq_sel')
169  selAcc.mergeReco(reco)
170  selAcc.addHypoAlgo(theHypoAlg)
171 
172  msca = MenuSequenceCA(
173  flags, selAcc,
174  HypoToolGen=IDCalibHypoToolFromDict,
175  )
176  return msca
177 
178 
179 # --------------------
180 
181 @AccumulatorCache

Variable Documentation

◆ log

python.HLT.CalibCosmicMon.CalibChainConfiguration.log

Definition at line 5 of file CalibChainConfiguration.py.

python.HLT.Jet.JetMenuSequencesConfig.getTrackingInputMaker
def getTrackingInputMaker(AthConfigFlags flags, str trkopt)
Definition: JetMenuSequencesConfig.py:39
python.HLT.CalibCosmicMon.CalibChainConfiguration.acceptedEventsSequenceGenCfg
def acceptedEventsSequenceGenCfg(flags)
Definition: CalibChainConfiguration.py:203
python.HLT.CommonSequences.FullScanInDetConfig.commonInDetFullScanCfg
ComponentAccumulator commonInDetFullScanCfg(AthConfigFlags flags)
Definition: FullScanInDetConfig.py:20
python.IDCalibHypoConfig.createIDCalibHypoAlg
def createIDCalibHypoAlg(flags, name)
Definition: IDCalibHypoConfig.py:9
TrigCaloRecConfig.hltCaloCellMakerCfg
def hltCaloCellMakerCfg(flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False)
Definition: TrigCaloRecConfig.py:53
CaloDef.fastCaloRecoSequenceCfg
def fastCaloRecoSequenceCfg(flags, inputEDM="", ClustersName="HLT_FastCaloEMClusters", RingerKey="HLT_FastCaloRinger", doForward=False, doAllEm=False, doAll=False)
Definition: CaloDef.py:14
CaloDef.clusterFSInputMaker
def clusterFSInputMaker()
cluster maker functions
Definition: CaloDef.py:51
CaloDef.fastCaloVDVCfg
def fastCaloVDVCfg(name="fastCaloVDV", InViewRoIs="EMCaloRoIs")
Definition: CaloDef.py:39
python.HLT.CalibCosmicMon.CalibChainConfiguration.getLArNoiseBurstSequenceGenCfg
def getLArNoiseBurstSequenceGenCfg(flags)
Definition: CalibChainConfiguration.py:36
python.HLT.CalibCosmicMon.CalibChainConfiguration.getLArNoiseBurstRecoCfg
def getLArNoiseBurstRecoCfg(flags)
Definition: CalibChainConfiguration.py:24
python.HLT.CalibCosmicMon.CalibChainConfiguration.IDCalibTriggerSequenceGenCfg
def IDCalibTriggerSequenceGenCfg(flags)
Definition: CalibChainConfiguration.py:159
TrigCaloHypoConfig.TrigLArNoiseBurstRecoAlgCfg
def TrigLArNoiseBurstRecoAlgCfg(flags, cells_name)
Definition: TrigCaloHypoConfig.py:9
python.HLT.CalibCosmicMon.CalibChainConfiguration.getCaloAllEMLayersPSSequenceGenCfg
def getCaloAllEMLayersPSSequenceGenCfg(flags, doAllorAllEM=False)
Definition: CalibChainConfiguration.py:55
python.TrigGenericAlgsConfig.TimeBurnerCfg
def TimeBurnerCfg(flags, name="TimeBurner", **kwargs)
Definition: TrigGenericAlgsConfig.py:10
python.HLT.CalibCosmicMon.CalibChainConfiguration.IDCalibFTFSequenceGenCfg
def IDCalibFTFSequenceGenCfg(flags)
Definition: CalibChainConfiguration.py:182