# | Line 51 | Line 51 | void EventCalc::Reset() | |
---|---|---|
51 | b_HTlep = false; | |
52 | b_Reconstruction = false; | |
53 | ||
54 | + | m_TotalWeight = 1.; |
55 | + | |
56 | m_primlep = NULL; | |
57 | m_ttgen = NULL; | |
58 | + | |
59 | } | |
60 | ||
61 | BaseCycleContainer* EventCalc::GetBaseCycleContainer() | |
# | Line 349 | Line 352 | void EventCalc::PrintEventContent(){ | |
352 | } | |
353 | } | |
354 | } | |
355 | + | |
356 | + | |
357 | + | void EventCalc::ProduceWeight(double weight) |
358 | + | { |
359 | + | m_TotalWeight = m_TotalWeight * weight; |
360 | + | } |
361 | + | |
362 | + | double EventCalc::GetWeight() |
363 | + | { |
364 | + | |
365 | + | return m_TotalWeight; |
366 | + | } |
367 | + |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |