3 """Instantiator for AlgTools needed by the FastReduction."""
5 from AthenaConfiguration.ComponentFactory
import CompFactory
17 'hypo_tool': [CompFactory.TrigJetHypoTool, 0],
18 'helper_tool': [CompFactory.TrigJetHypoToolHelperNoGrouper, 0],
20 'HelperToolConfigTool':
21 [CompFactory.TrigJetHypoToolConfig_fastreduction, 0],
23 'ConditionFilterConfigTool':
24 [CompFactory.TrigJetHypoToolConfig_conditionfilter, 0],
26 'PassThroughFilterConfigTool':
27 [CompFactory.TrigJetHypoToolConfig_passthroughfilter, 0],
29 'RangeFilterConfigTool':
30 [CompFactory.TrigJetHypoToolConfig_rangefilter, 0],
32 'MaxMultFilterConfigTool':
33 [CompFactory.TrigJetHypoToolConfig_maxmultfilter, 0],
35 'RepeatedConditionConfigTool':
36 [CompFactory.TrigJetConditionConfig_repeated, 0],
38 'eta': [CompFactory.TrigJetConditionConfig_abs_eta, 0],
39 'neta': [CompFactory.TrigJetConditionConfig_signed_eta, 0],
40 'ceta': [CompFactory.TrigJetConditionConfig_signed_eta, 0],
41 'peta': [CompFactory.TrigJetConditionConfig_signed_eta, 0],
42 'pphi': [CompFactory.TrigJetConditionConfig_phi, 0],
43 'cphi': [CompFactory.TrigJetConditionConfig_phi, 0],
44 'nphi': [CompFactory.TrigJetConditionConfig_phi, 0],
45 'et': [CompFactory.TrigJetConditionConfig_et, 0],
46 'pt': [CompFactory.TrigJetConditionConfig_pt, 0],
47 'djmass': [CompFactory.TrigJetConditionConfig_dijet_mass, 0],
48 'djdphi': [CompFactory.TrigJetConditionConfig_dijet_dphi, 0],
49 'djdeta': [CompFactory.TrigJetConditionConfig_dijet_deta, 0],
50 'qjmass': [CompFactory.TrigJetConditionConfig_qjet_mass, 0],
51 'smc': [CompFactory.TrigJetConditionConfig_smc, 0],
52 'jvt': [CompFactory.TrigJetConditionConfig_jvt, 0],
53 'ht': [CompFactory.TrigJetConditionConfig_htfr, 0],
54 'htdipz': [CompFactory.TrigJetConditionConfig_htdipz, 0],
55 'dipz_mlpl': [CompFactory.TrigJetConditionConfig_dipzmlpl, 0],
56 'mult': [CompFactory.TrigJetConditionConfig_mult, 0],
57 'bsel': [CompFactory.TrigJetConditionConfig_bdips, 0],
58 'tausel': [CompFactory.TrigJetConditionConfig_gntau, 0],
59 'clrsel': [CompFactory.TrigJetConditionConfig_emf, 0],
60 'pileuprm': [CompFactory.TrigJetConditionConfig_pileuprm, 0],
61 'clean': [CompFactory.TrigJetConditionConfig_clean, 0],
62 'all': [CompFactory.TrigJetConditionConfig_acceptAll, 0],
63 'timing': [CompFactory.TrigJetConditionConfig_timing, 0],
64 'timeSig': [CompFactory.TrigJetConditionConfig_timesig, 0],
67 for var
in jetMoments:
69 CompFactory.TrigJetConditionConfig_moment, 0]
73 """using a keyword, select and return Algtool Class, and
74 a name for the instance to be created. The name can be overridden
75 by the user. For example, the hypo tool takes the chain name as
84 name =
'%s_%d' % (key, sn)
89 """Reset all creation counts to 0"""
97 rep =
'\n%s: ' % self.__class__.__name__
100 [
'%s: %d' % (k.ljust(wid), v[1])