00001 #ifndef bmptweightcalculator_h 00002 #define bmptweightcalculator_h 00003 #include "MCReweight/WeightCalculator.h" 00004 #include "MCReweight/BMPTCalc.h" 00005 #include "MCReweight/BMPTConfig.h" 00006 #include <ostream> 00007 00008 class BMPTWeightCalculator : public WeightCalculator 00009 { 00010 00011 protected: 00012 00013 BMPTConfig *fStdConfig; 00014 BMPTConfig *fRwtConfig; 00015 BMPTCalc *fCalc; 00016 00017 public: 00018 00019 BMPTWeightCalculator(Registry *stdconfig=0); 00020 ~BMPTWeightCalculator(); 00021 void Config(); 00022 double GetWeight(Registry *eventinfo); 00023 double GetWeight(MCEventInfo *event,NuParent *parent); 00024 void ReweightConfigReset(); 00025 void PrintReweightConfig(ostream &); 00026 00027 }; 00028 #endif
1.3.9.1