1 #ifndef PhysicsTools_Utilities_interface_Lumi3DReWeighting_h
2 #define PhysicsTools_Utilities_interface_Lumi3DReWeighting_h
22 #include <boost/shared_ptr.hpp>
33 std::string GenHistName,
34 std::string DataHistName,
35 std::string WeightOutputFile);
37 Lumi3DReWeighting( std::vector< float > MC_distr, std::vector< float > Lumi_distr,
38 std::string WeightOutputFile);
46 void weight3D_set( std::string generatedFile, std::string dataFile, std::string GenHistName, std::string DataHistName, std::string WeightOutputFile);
52 void weight3D_init( std::string MCFileName, std::string DataFileName );
double Weight3D_[50][50][50]
std::string dataFileName_
std::string DataHistName_
double weight3D(const edm::EventBase &e)
void weight3D_set(std::string generatedFile, std::string dataFile, std::string GenHistName, std::string DataHistName, std::string WeightOutputFile)
void weight3D_init(float Scale)
boost::shared_ptr< TH1 > MC_distr_
std::string generatedFileName_
boost::shared_ptr< TH1 > weights_
boost::shared_ptr< TFile > dataFile_
boost::shared_ptr< TFile > generatedFile_
boost::shared_ptr< TH1 > Data_distr_
std::string weightFileName_