#include <LumiReWeighting.h>
Public Member Functions | |
LumiReWeighting (std::string generatedFile, std::string dataFile, std::string GenHistName="pileup", std::string DataHistName="pileup", const edm::InputTag &PileupSumInfoInputTag=edm::InputTag("addPileupInfo")) | |
LumiReWeighting (const std::vector< float > &MC_distr, const std::vector< float > &Lumi_distr, const edm::InputTag &PileupSumInfoInputTag=edm::InputTag("addPileupInfo")) | |
LumiReWeighting () | |
double | weight (int npv) |
double | weight (float npv) |
double | weight (const edm::EventBase &e) |
double | weightOOT (const edm::EventBase &e) |
Protected Attributes | |
boost::shared_ptr< TH1 > | Data_distr_ |
boost::shared_ptr< TFile > | dataFile_ |
std::string | dataFileName_ |
std::string | DataHistName_ |
bool | FirstWarning_ |
boost::shared_ptr< TFile > | generatedFile_ |
std::string | generatedFileName_ |
std::string | GenHistName_ |
boost::shared_ptr< TH1 > | MC_distr_ |
int | OldLumiSection_ |
edm::InputTag | pileupSumInfoTag_ |
boost::shared_ptr< TH1 > | weights_ |
Definition at line 220 of file LumiReWeighting.h.
LumiReWeighting::LumiReWeighting | ( | std::string | generatedFile, |
std::string | dataFile, | ||
std::string | GenHistName = "pileup" , |
||
std::string | DataHistName = "pileup" , |
||
const edm::InputTag & | PileupSumInfoInputTag = edm::InputTag( "addPileupInfo" ) |
||
) |
Definition at line 39 of file LumiReWeighting.cc.
LumiReWeighting::LumiReWeighting | ( | const std::vector< float > & | MC_distr, |
const std::vector< float > & | Lumi_distr, | ||
const edm::InputTag & | PileupSumInfoInputTag = edm::InputTag( "addPileupInfo" ) |
||
) |
Definition at line 86 of file LumiReWeighting.cc.
|
inline |
Definition at line 230 of file LumiReWeighting.h.
double LumiReWeighting::weight | ( | int | npv | ) |
Definition at line 142 of file LumiReWeighting.cc.
double LumiReWeighting::weight | ( | float | npv | ) |
Definition at line 147 of file LumiReWeighting.cc.
double LumiReWeighting::weight | ( | const edm::EventBase & | e | ) |
Definition at line 158 of file LumiReWeighting.cc.
double LumiReWeighting::weightOOT | ( | const edm::EventBase & | e | ) |
Definition at line 206 of file LumiReWeighting.cc.
|
protected |
Definition at line 254 of file LumiReWeighting.h.
|
protected |
Definition at line 248 of file LumiReWeighting.h.
|
protected |
Definition at line 243 of file LumiReWeighting.h.
|
protected |
Definition at line 245 of file LumiReWeighting.h.
|
protected |
Definition at line 257 of file LumiReWeighting.h.
|
protected |
Definition at line 247 of file LumiReWeighting.h.
|
protected |
Definition at line 242 of file LumiReWeighting.h.
|
protected |
Definition at line 244 of file LumiReWeighting.h.
|
protected |
Definition at line 253 of file LumiReWeighting.h.
|
protected |
Definition at line 256 of file LumiReWeighting.h.
|
protected |
Definition at line 246 of file LumiReWeighting.h.
|
protected |
Definition at line 249 of file LumiReWeighting.h.