Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:21

0001 #ifndef RecoEgamma_EgammaTools_EGRegressionModifier_H
0002 #define RecoEgamma_EgammaTools_EGRegressionModifier_H
0003 
0004 #include "CondFormats/DataRecord/interface/GBRDWrapperRcd.h"
0005 #include "CondFormats/GBRForest/interface/GBRForestD.h"
0006 #include "FWCore/Framework/interface/EventSetup.h"
0007 #include "FWCore/Utilities/interface/ESGetToken.h"
0008 #include "FWCore/Framework/interface/ConsumesCollector.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 
0011 #include <vector>
0012 
0013 struct EGRegressionModifierCondTokens {
0014   EGRegressionModifierCondTokens(edm::ParameterSet const& config,
0015                                  std::string const& regressionKey,
0016                                  std::string const& uncertaintyKey,
0017                                  edm::ConsumesCollector& cc);
0018   std::vector<edm::ESGetToken<GBRForestD, GBRDWrapperRcd>> mean;
0019   std::vector<edm::ESGetToken<GBRForestD, GBRDWrapperRcd>> sigma;
0020 };
0021 
0022 std::vector<const GBRForestD*> retrieveGBRForests(
0023     edm::EventSetup const& evs, std::vector<edm::ESGetToken<GBRForestD, GBRDWrapperRcd>> const& tokens);
0024 
0025 #endif