120 TFile *
infile =
new TFile(
"/afs/cern.ch/user/b/bendavid/cmspublic/gbrv3ph.root",
"READ");
122 printf(
"load forest\n");
135 TFile *infile_PFLC =
new TFile(
"/afs/cern.ch/user/r/rpatel/ConvXml/TMVARegression_BDTG_PFClusterCorr.root",
"READ");
136 TFile *infile_PFGC =
new TFile(
"/afs/cern.ch/user/r/rpatel/ConvXml/TMVARegression_BDTG_PFGlobalCorr.root",
"READ");
137 TFile *infile_PFRes =
new TFile(
"/afs/cern.ch/user/r/rpatel/ConvXml/TMVARegression_BDTG_PFRes.root ",
"READ");
146 printf(
"made objects\n");
148 if (poolDbService.isAvailable()) {
150 poolDbService->
writeOne( gbreb, poolDbService->beginOfTime(),
151 "wgbrph_EBCorrection" );
152 poolDbService->writeOne( gbrebvar, poolDbService->beginOfTime(),
153 "wgbrph_EBUncertainty" );
154 poolDbService->writeOne( gbree, poolDbService->beginOfTime(),
155 "wgbrph_EECorrection" );
156 poolDbService->writeOne( gbreevar, poolDbService->beginOfTime(),
157 "wgbrph_EEUncertainty" );
159 poolDbService->writeOne( gbrLC, poolDbService->beginOfTime(),
160 "wgbrph_PFLCCorrection" );
161 poolDbService->writeOne( gbrGC, poolDbService->beginOfTime(),
162 "wgbrph_PFGlobalCorrection" );
163 poolDbService->writeOne( gbrRes, poolDbService->beginOfTime(),
164 "wgbrph_PFResolution" );
virtual void analyze(const edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
GBRWrapperMaker(const edm::ParameterSet &)
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
void addDefault(ParameterSetDescription const &psetDescription)
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
virtual void endRun(edm::Run const &, edm::EventSetup const &)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)