EventWeight.cpp

Go to the documentation of this file.
00001 #include "cafe/EventWeight.hpp"
00002 
00003 ClassImp(EventWeight);
00004 
00005 EventWeight::EventWeight():  
00006   _name("default"),_weight(1),_weight_pos(1),_weight_neg(1)
00007 {}
00008 
00009 EventWeight::EventWeight(std::string name, double weight, 
00010                          double weight_pos, double weight_neg)
00011 {
00012   Set(name, weight, weight_pos, weight_neg);
00013 }
00014 
00015 void EventWeight::Set(std::string name, double weight, 
00016                          double weight_pos, double weight_neg)
00017 {
00018   _name       = name;
00019   _weight     = weight;
00020   _weight_pos = weight_pos;
00021   _weight_neg = weight_neg;
00022 }
00023 
00024 EventWeight::~EventWeight()
00025 {}

Generated on Thu Apr 3 04:14:23 2008 for CAF by doxygen 1.3.4