1 from __future__
import absolute_import
21 self.assertTrue(
'/' not in ana1.name )
26 files =
'blah_mc.root',
28 nGenEvents = 34915945,
29 triggers = [
'HLT_MC'],
47 from PhysicsTools.HeppyCore.framework.chain
import Chain
as Events
48 config =
Config( components = [comp1],
51 events_class = Events )
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')
67 if __name__ ==
'__main__':