Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BMPTHistoWeightCalculator.h

Go to the documentation of this file.
00001 #ifndef bmpthistoweightcalculator_h
00002 #define bmpthistoweightcalculator_h
00003 #include "MCReweight/WeightCalculator.h"
00004 #include "TFile.h"
00005 #include "TH2.h"
00006 #include <map>
00007 
00008 class BMPTHistoWeightCalculator : public WeightCalculator 
00009 {
00010 
00011  protected:
00012 
00013   Int_t fUseBMPTHistoReweighting;
00014   TFile *fBMPTHistofile;
00015   std::map<Int_t,TH2F*> fPidHist;
00016 
00017  public:
00018   
00019   BMPTHistoWeightCalculator(Registry *stdconfig=0);
00020   ~BMPTHistoWeightCalculator();
00021   void Config();
00022   void OpenReweightFile();
00023   double GetWeight(Registry *eventinfo);
00024   double GetWeight(MCEventInfo *event,NuParent *parent);
00025   void ReweightConfigReset();
00026   void PrintReweightConfig(ostream &);
00027 
00028 };
00029 #endif

Generated on Mon Feb 15 11:06:26 2010 for loon by  doxygen 1.3.9.1