ATLAS Offline Software
Classes | Functions | Variables
exerciser Namespace Reference

Classes

class  CombinationsTests
 
class  ConditionsTests
 
class  PartitionsTests
 
class  PartitionvsFlowNetworkTests
 
class  SimpleConditionsTests
 

Functions

def JetHypoExerciserCfg (label, n_signal, n_background, bkgdEmax, label_ind=0)
 

Variables

 n_signal
 
 n_background
 
 bkgdEmax
 
 label_ind
 
 label
 
 flags
 
 MaxEvents
 
 cfg
 

Function Documentation

◆ JetHypoExerciserCfg()

def exerciser.JetHypoExerciserCfg (   label,
  n_signal,
  n_background,
  bkgdEmax,
  label_ind = 0 
)

Definition at line 239 of file exerciser.py.

239 def JetHypoExerciserCfg(label,
240  n_signal,
241  n_background,
242  bkgdEmax,
243  label_ind=0):
244 
245  # test_conditions = FlowNetworkTests_1(n_sgnl=1, n_bkgd=0)
246  # test_conditions = SimpleFlowNetworkTests(n_sgnl=4, n_bkgd=0)
247  # test_conditions = FlowNetworkVsPartitionsTestsDijets(n_sgnl=4, n_bkgd=0)
248  # test_conditions = FlowNetworkVsCombinationsTests(n_sgnl=4, n_bkgd=0)
249  # test_conditions = SimpleConditionsTests(n_sgnl=4, n_bkgd=0)
250  test_conditions = ConditionsTests(label,
251  n_signal,
252  n_background,
253  bkgdEmax,
254  label_ind)
255 
256  print(test_conditions.__dict__)
257  # test_conditions = CombinationsTests()
258  chain_name = test_conditions.chain_name
259 
260  ht = test_conditions.make_helper_tool()
261 
262  print('ht = ', ht)
263 
264  jetHypoExerciserAlg=JetHypoExerciserAlg("JetHypoExerciser")
265  jetHypoExerciserAlg.JetHypoHelperTool = ht
266  jetHypoExerciserAlg.event_generator = test_conditions.make_event_generator()
267  jetHypoExerciserAlg.visit_debug = True
268 
269  lfn = test_conditions.logfile_name(chain_name)
270 
271  jetHypoExerciserAlg.logname = lfn
272 
273 
274  print(jetHypoExerciserAlg)
275 
276  result=ComponentAccumulator()
277  result.addEventAlgo(jetHypoExerciserAlg)
278  return result
279 
280 
281 

Variable Documentation

◆ bkgdEmax

exerciser.bkgdEmax

Definition at line 286 of file exerciser.py.

◆ cfg

exerciser.cfg

Definition at line 295 of file exerciser.py.

◆ flags

exerciser.flags

Definition at line 293 of file exerciser.py.

◆ label

exerciser.label

Definition at line 289 of file exerciser.py.

◆ label_ind

exerciser.label_ind

Definition at line 287 of file exerciser.py.

◆ MaxEvents

exerciser.MaxEvents

Definition at line 294 of file exerciser.py.

◆ n_background

exerciser.n_background

Definition at line 285 of file exerciser.py.

◆ n_signal

exerciser.n_signal

Definition at line 284 of file exerciser.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
exerciser.JetHypoExerciserCfg
def JetHypoExerciserCfg(label, n_signal, n_background, bkgdEmax, label_ind=0)
Definition: exerciser.py:239
JetHypoExerciserAlg
Definition: JetHypoExerciserAlg.h:17
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70