Definition at line 9 of file config_test.py.
◆ test_analyzer()
def config_test.ConfigTestCase.test_analyzer |
( |
|
self | ) |
|
◆ test_config()
def config_test.ConfigTestCase.test_config |
( |
|
self | ) |
|
Definition at line 34 of file config_test.py.
References resolutioncreator_cfi.object.
34 def test_config(self):
47 from PhysicsTools.HeppyCore.framework.chain
import Chain
as Events
48 config =
Config( components = [comp1],
51 events_class = Events )
◆ test_copy()
def config_test.ConfigTestCase.test_copy |
( |
|
self | ) |
|
Definition at line 53 of file config_test.py.
References resolutioncreator_cfi.object.
58 instance_label =
'inst1',
61 ana2 = copy.copy(ana1)
62 ana2.instance_label =
'inst2' 64 self.assertEqual(ana2.name,
'__main__.Ana1_inst2')
65 self.assertEqual(ana2.toto2,
'2')
◆ test_MCComponent()
def config_test.ConfigTestCase.test_MCComponent |
( |
|
self | ) |
|
Definition at line 23 of file config_test.py.
23 def test_MCComponent(self):
26 files =
'blah_mc.root',
28 nGenEvents = 34915945,
29 triggers = [
'HLT_MC'],