Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
PrecisionPhotonTLAMenuSequenceConfig Namespace Reference

Functions

def PhotonTLASequenceCfg (flags, photonsIn)
 
def PhotonTLAMenuSequenceGenCfg (flags, photonsIn)
 

Function Documentation

◆ PhotonTLAMenuSequenceGenCfg()

def PrecisionPhotonTLAMenuSequenceConfig.PhotonTLAMenuSequenceGenCfg (   flags,
  photonsIn 
)

Definition at line 26 of file PrecisionPhotonTLAMenuSequenceConfig.py.

26 def PhotonTLAMenuSequenceGenCfg( flags, photonsIn ):
27 
28  # retrieves the "reco" sequence which only consists of the InputMaker
29  (recoAcc, sequenceOut) = PhotonTLASequenceCfg(flags, photonsIn=photonsIn)
30 
31  # add the hypo
32  hypo = CompFactory.TrigEgammaTLAPhotonHypoAlg("TrigPhotonTLAHypoAlg_"+photonsIn)
33  hypo.TLAOutputName = sequenceOut
34 
35  selAcc = SelectionCA("TrigPhotonTLAMainSeq_"+photonsIn)
36  selAcc.mergeReco(recoAcc)
37  selAcc.addHypoAlgo(hypo)
38 
39  return MenuSequence( flags,
40  selAcc,
41  HypoToolGen = TrigEgammaTLAPhotonHypoToolFromDict
42  )

◆ PhotonTLASequenceCfg()

def PrecisionPhotonTLAMenuSequenceConfig.PhotonTLASequenceCfg (   flags,
  photonsIn 
)

Definition at line 12 of file PrecisionPhotonTLAMenuSequenceConfig.py.

12 def PhotonTLASequenceCfg(flags, photonsIn):
13 
14 
15  tlaPhotonInputMakerAlg = CompFactory.InputMakerForRoI("IMTLAPhotons", RoIsLink="initialRoI")
16  tlaPhotonInputMakerAlg.RoITool = CompFactory.ViewCreatorPreviousROITool()
17  tlaPhotonInputMakerAlg.mergeUsingFeature = True
18 
19  recoAcc = InEventRecoCA("PhotonTLARecoSeq_"+photonsIn, inputMaker=tlaPhotonInputMakerAlg)
20 
21  sequenceOut = recordable(photonsIn+"_TLA")
22 
23  return recoAcc, sequenceOut
24 
25 @AccumulatorCache
PrecisionPhotonTLAMenuSequenceConfig.PhotonTLAMenuSequenceGenCfg
def PhotonTLAMenuSequenceGenCfg(flags, photonsIn)
Definition: PrecisionPhotonTLAMenuSequenceConfig.py:26
PrecisionPhotonTLAMenuSequenceConfig.PhotonTLASequenceCfg
def PhotonTLASequenceCfg(flags, photonsIn)
Definition: PrecisionPhotonTLAMenuSequenceConfig.py:12
python.TriggerEDM.recordable
def recordable(arg, runVersion=3)
Definition: TriggerEDM.py:34