ATLAS Offline Software
Functions
python.JobOptions_Main_PanTau_New Namespace Reference

Functions

def PanTauInformationStoreCfg (flags, infoHandler)
 
def PanTauInputConverterCfg (flags, infoHandler)
 
def PanTauConstGetterCfg (flags, infoHandler)
 
def PanTauConstSelectorCfg (flags, infoHandler)
 
def PanTauFeatureExtractorCfg (flags, infoHandler)
 
def PanTauModeDiscr_1p0nv1p1n_Cfg (flags, infoHandler, curInAlg)
 
def PanTauModeDiscr_1p1nv1pXn_Cfg (flags, infoHandler, curInAlg)
 
def PanTauModeDiscr_3p0nv3pXn_Cfg (flags, infoHandler, curInAlg)
 
def PanTauDecayModeDetCfg (flags, infoHandler, curInAlg)
 
def PanTauDetailsArrangerCfg (flags, infoHandler)
 
def PanTauCfg (flags)
 PanTau. More...
 

Function Documentation

◆ PanTauCfg()

def python.JobOptions_Main_PanTau_New.PanTauCfg (   flags)

PanTau.

Definition at line 133 of file JobOptions_Main_PanTau_New.py.

133 def PanTauCfg(flags):
134  result = ComponentAccumulator()
135  sPrefix = 'tauRec_'
136  _name = sPrefix + 'PanTau'
137 
138  # set up the job properties
139  from PanTauAlgs.Class_InformationHandler_New import InformationHandler
140  infoHandler = InformationHandler(flags)
141 
142  curInAlg = 'CellBased'
143  print("TopOptions_NewPanTau: Adding PanTau algorithms for input alg: " + curInAlg)
144 
145  PanTau__PanTauProcessor = CompFactory.PanTau.PanTauProcessor
146 
147  myPanTauProcessor = PanTau__PanTauProcessor(name = _name,
148  Name_InputAlg = curInAlg,
149  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler)),
150  Tool_TauConstituentGetter = result.getPrimaryAndMerge(PanTauConstGetterCfg(flags, infoHandler)),
151  Tool_TauConstituentSelector = result.getPrimaryAndMerge(PanTauConstSelectorCfg(flags, infoHandler)),
152  Tool_FeatureExtractor = result.getPrimaryAndMerge(PanTauFeatureExtractorCfg(flags, infoHandler)),
153  Tool_DecayModeDeterminator = result.getPrimaryAndMerge(PanTauDecayModeDetCfg(flags, infoHandler, curInAlg)),
154  Tool_DetailsArranger = result.getPrimaryAndMerge(PanTauDetailsArrangerCfg(flags, infoHandler)) )
155 
156  result.setPrivateTools(myPanTauProcessor)
157  return result

◆ PanTauConstGetterCfg()

def python.JobOptions_Main_PanTau_New.PanTauConstGetterCfg (   flags,
  infoHandler 
)

Definition at line 32 of file JobOptions_Main_PanTau_New.py.

32 def PanTauConstGetterCfg(flags, infoHandler):
33  result = ComponentAccumulator()
34  PanTau__Tool_TauConstituentGetter = CompFactory.PanTau.Tool_TauConstituentGetter
35 
36  # ===> Tau Constituent Getter
37  python_Tool_TauConstituentGetter = PanTau__Tool_TauConstituentGetter("PanTau_TauConstituentGetter",
38  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler) ),
39  Tool_InputConverter = result.popToolsAndMerge(PanTauInputConverterCfg(flags, infoHandler) ) )
40 
41  result.addPublicTool(python_Tool_TauConstituentGetter, True)
42  return result
43 

◆ PanTauConstSelectorCfg()

def python.JobOptions_Main_PanTau_New.PanTauConstSelectorCfg (   flags,
  infoHandler 
)

Definition at line 44 of file JobOptions_Main_PanTau_New.py.

44 def PanTauConstSelectorCfg(flags, infoHandler):
45  result = ComponentAccumulator()
46  PanTau__Tool_TauConstituentSelector = CompFactory.PanTau.Tool_TauConstituentSelector
47 
48  # ===> Tau Constituent Selector
49  python_Tool_TauConstituentSelector = PanTau__Tool_TauConstituentSelector("PanTau_TauConstituentSelector",
50  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler) ))
51 
52  result.addPublicTool(python_Tool_TauConstituentSelector, True)
53  return result
54 

◆ PanTauDecayModeDetCfg()

def python.JobOptions_Main_PanTau_New.PanTauDecayModeDetCfg (   flags,
  infoHandler,
  curInAlg 
)

Definition at line 105 of file JobOptions_Main_PanTau_New.py.

105 def PanTauDecayModeDetCfg(flags, infoHandler, curInAlg):
106  result = ComponentAccumulator()
107  PanTau__Tool_DecayModeDeterminator = CompFactory.PanTau.Tool_DecayModeDeterminator
108 
109  # ===> Tau Decay Mode Determinator for current input alg
110  Name_DecayModeDeterminator = "PanTau_DecayModeDeterminator_" + curInAlg
111  python_Tool_DecayModeDeterminator = PanTau__Tool_DecayModeDeterminator(Name_DecayModeDeterminator,
112  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler)),
113  Tool_ModeDiscriminator_1p0n_vs_1p1n = result.getPrimaryAndMerge(PanTauModeDiscr_1p0nv1p1n_Cfg(flags, infoHandler, curInAlg)),
114  Tool_ModeDiscriminator_1p1n_vs_1pXn = result.getPrimaryAndMerge(PanTauModeDiscr_1p1nv1pXn_Cfg(flags, infoHandler, curInAlg)),
115  Tool_ModeDiscriminator_3p0n_vs_3pXn = result.getPrimaryAndMerge(PanTauModeDiscr_3p0nv3pXn_Cfg(flags, infoHandler, curInAlg)) )
116 
117  result.addPublicTool(python_Tool_DecayModeDeterminator, True)
118  return result
119 

◆ PanTauDetailsArrangerCfg()

def python.JobOptions_Main_PanTau_New.PanTauDetailsArrangerCfg (   flags,
  infoHandler 
)

Definition at line 120 of file JobOptions_Main_PanTau_New.py.

120 def PanTauDetailsArrangerCfg(flags, infoHandler):
121  result = ComponentAccumulator()
122  PanTau__Tool_DetailsArranger = CompFactory.PanTau.Tool_DetailsArranger
123 
124  # ===> Details arranger tool
125  python_Tool_DetailsArranger = PanTau__Tool_DetailsArranger("PanTau_DetailsArranger",
126  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler)) )
127 
128  result.addPublicTool(python_Tool_DetailsArranger, True)
129  return result
130 

◆ PanTauFeatureExtractorCfg()

def python.JobOptions_Main_PanTau_New.PanTauFeatureExtractorCfg (   flags,
  infoHandler 
)

Definition at line 55 of file JobOptions_Main_PanTau_New.py.

55 def PanTauFeatureExtractorCfg(flags, infoHandler):
56  result = ComponentAccumulator()
57  PanTau__Tool_FeatureExtractor = CompFactory.PanTau.Tool_FeatureExtractor
58 
59  # ===> Tau Feature Extractor
60  python_Tool_FeatureExtractor = PanTau__Tool_FeatureExtractor("PanTau_FeatureExtractor",
61  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler) ) )
62 
63  result.addPublicTool(python_Tool_FeatureExtractor, True)
64  return result
65 

◆ PanTauInformationStoreCfg()

def python.JobOptions_Main_PanTau_New.PanTauInformationStoreCfg (   flags,
  infoHandler 
)

Definition at line 6 of file JobOptions_Main_PanTau_New.py.

6 def PanTauInformationStoreCfg(flags, infoHandler):
7  result = ComponentAccumulator()
8  PanTau__Tool_InformationStore = CompFactory.PanTau.Tool_InformationStore
9 
10  # ===> Information Store
11  python_Tool_InformationStore = PanTau__Tool_InformationStore("PanTau_InformationStore",
12  Infos_Int = infoHandler.m_Infos_Int,
13  Infos_Double = infoHandler.m_Infos_Double,
14  Infos_VecDouble = infoHandler.m_Infos_VecDouble,
15  Infos_String = infoHandler.m_Infos_String,
16  Infos_VecString = infoHandler.m_Infos_VecString)
17 
18  result.addPublicTool(python_Tool_InformationStore, True)
19  return result
20 

◆ PanTauInputConverterCfg()

def python.JobOptions_Main_PanTau_New.PanTauInputConverterCfg (   flags,
  infoHandler 
)

Definition at line 21 of file JobOptions_Main_PanTau_New.py.

21 def PanTauInputConverterCfg(flags, infoHandler):
22  result = ComponentAccumulator()
23  PanTau__Tool_InputConverter = CompFactory.PanTau.Tool_InputConverter
24 
25  # ===> Input Converter
26  python_Tool_InputConverter = PanTau__Tool_InputConverter("PanTau_InputConverter",
27  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler) ) )
28 
29  result.setPrivateTools(python_Tool_InputConverter)
30  return result
31 

◆ PanTauModeDiscr_1p0nv1p1n_Cfg()

def python.JobOptions_Main_PanTau_New.PanTauModeDiscr_1p0nv1p1n_Cfg (   flags,
  infoHandler,
  curInAlg 
)

Definition at line 66 of file JobOptions_Main_PanTau_New.py.

66 def PanTauModeDiscr_1p0nv1p1n_Cfg(flags, infoHandler, curInAlg):
67  result = ComponentAccumulator()
68  PanTau__Tool_ModeDiscriminator = CompFactory.PanTau.Tool_ModeDiscriminator
69 
70  python_Tool_ModeDiscri_1p0n_vs_1p1n = PanTau__Tool_ModeDiscriminator("PanTau_ModeDiscri_1p0n_vs_1p1n_" + curInAlg,
71  calibFolder = flags.Tau.tauRecToolsCVMFSPath,
72  Name_InputAlg = curInAlg,
73  Name_ModeCase = "1p0n_vs_1p1n",
74  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler)) )
75 
76  result.addPublicTool(python_Tool_ModeDiscri_1p0n_vs_1p1n, True)
77  return result
78 

◆ PanTauModeDiscr_1p1nv1pXn_Cfg()

def python.JobOptions_Main_PanTau_New.PanTauModeDiscr_1p1nv1pXn_Cfg (   flags,
  infoHandler,
  curInAlg 
)

Definition at line 79 of file JobOptions_Main_PanTau_New.py.

79 def PanTauModeDiscr_1p1nv1pXn_Cfg(flags, infoHandler, curInAlg):
80  result = ComponentAccumulator()
81  PanTau__Tool_ModeDiscriminator = CompFactory.PanTau.Tool_ModeDiscriminator
82 
83  python_Tool_ModeDiscri_1p1n_vs_1pXn = PanTau__Tool_ModeDiscriminator("PanTau_ModeDiscri_1p1n_vs_1pXn_" + curInAlg,
84  calibFolder = flags.Tau.tauRecToolsCVMFSPath,
85  Name_InputAlg = curInAlg,
86  Name_ModeCase = "1p1n_vs_1pXn",
87  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler)) )
88 
89  result.addPublicTool(python_Tool_ModeDiscri_1p1n_vs_1pXn, True)
90  return result
91 

◆ PanTauModeDiscr_3p0nv3pXn_Cfg()

def python.JobOptions_Main_PanTau_New.PanTauModeDiscr_3p0nv3pXn_Cfg (   flags,
  infoHandler,
  curInAlg 
)

Definition at line 92 of file JobOptions_Main_PanTau_New.py.

92 def PanTauModeDiscr_3p0nv3pXn_Cfg(flags, infoHandler, curInAlg):
93  result = ComponentAccumulator()
94  PanTau__Tool_ModeDiscriminator = CompFactory.PanTau.Tool_ModeDiscriminator
95 
96  python_Tool_ModeDiscri_3p0n_vs_3pXn = PanTau__Tool_ModeDiscriminator("PanTau_ModeDiscri_3p0n_vs_3pXn_" + curInAlg,
97  calibFolder = flags.Tau.tauRecToolsCVMFSPath,
98  Name_InputAlg = curInAlg,
99  Name_ModeCase = "3p0n_vs_3pXn",
100  Tool_InformationStore = result.getPrimaryAndMerge(PanTauInformationStoreCfg(flags, infoHandler)) )
101 
102  result.addPublicTool(python_Tool_ModeDiscri_3p0n_vs_3pXn, True)
103  return result
104 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.JobOptions_Main_PanTau_New.PanTauFeatureExtractorCfg
def PanTauFeatureExtractorCfg(flags, infoHandler)
Definition: JobOptions_Main_PanTau_New.py:55
python.JobOptions_Main_PanTau_New.PanTauModeDiscr_1p0nv1p1n_Cfg
def PanTauModeDiscr_1p0nv1p1n_Cfg(flags, infoHandler, curInAlg)
Definition: JobOptions_Main_PanTau_New.py:66
python.JobOptions_Main_PanTau_New.PanTauModeDiscr_3p0nv3pXn_Cfg
def PanTauModeDiscr_3p0nv3pXn_Cfg(flags, infoHandler, curInAlg)
Definition: JobOptions_Main_PanTau_New.py:92
python.JobOptions_Main_PanTau_New.PanTauConstSelectorCfg
def PanTauConstSelectorCfg(flags, infoHandler)
Definition: JobOptions_Main_PanTau_New.py:44
python.JobOptions_Main_PanTau_New.PanTauDecayModeDetCfg
def PanTauDecayModeDetCfg(flags, infoHandler, curInAlg)
Definition: JobOptions_Main_PanTau_New.py:105
python.JobOptions_Main_PanTau_New.PanTauInputConverterCfg
def PanTauInputConverterCfg(flags, infoHandler)
Definition: JobOptions_Main_PanTau_New.py:21
python.JobOptions_Main_PanTau_New.PanTauCfg
def PanTauCfg(flags)
PanTau.
Definition: JobOptions_Main_PanTau_New.py:133
python.JobOptions_Main_PanTau_New.PanTauModeDiscr_1p1nv1pXn_Cfg
def PanTauModeDiscr_1p1nv1pXn_Cfg(flags, infoHandler, curInAlg)
Definition: JobOptions_Main_PanTau_New.py:79
python.JobOptions_Main_PanTau_New.PanTauDetailsArrangerCfg
def PanTauDetailsArrangerCfg(flags, infoHandler)
Definition: JobOptions_Main_PanTau_New.py:120
python.JobOptions_Main_PanTau_New.PanTauInformationStoreCfg
def PanTauInformationStoreCfg(flags, infoHandler)
Definition: JobOptions_Main_PanTau_New.py:6
python.JobOptions_Main_PanTau_New.PanTauConstGetterCfg
def PanTauConstGetterCfg(flags, infoHandler)
Definition: JobOptions_Main_PanTau_New.py:32
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70