00001 #include <memory> 00002 #include <string> 00003 #include <vector> 00004 #include <iostream> 00005 #include <fstream> 00006 00007 #include "FWCore/Framework/interface/Frameworkfwd.h" 00008 #include "FWCore/Framework/interface/EDProducer.h" 00009 #include "FWCore/Framework/interface/Event.h" 00010 #include "FWCore/Framework/interface/MakerMacros.h" 00011 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00012 #include "AnalysisDataFormats/TopObjects/interface/StEvtSolution.h" 00013 #include "TopQuarkAnalysis/TopKinFitter/interface/StKinFitter.h" 00014 //#include "TopQuarkAnalysis/TopJetCombination/interface/TtJetCombinationProbability.h" 00015 00016 class StEvtSolutionMaker : public edm::EDProducer { 00017 public: 00018 00019 explicit StEvtSolutionMaker(const edm::ParameterSet&); 00020 ~StEvtSolutionMaker(); 00021 00022 virtual void produce(edm::Event&, const edm::EventSetup&); 00023 00024 private: 00025 00026 StKinFitter * myKinFitter; 00027 //std::vector<TtJetCombinationProbability> jetCombProbs; 00028 edm::InputTag electronSrc_; 00029 edm::InputTag muonSrc_; 00030 edm::InputTag metSrc_; 00031 edm::InputTag jetSrc_; 00032 std::string leptonFlavour_; 00033 int jetCorrScheme_; 00034 // std::string jetInput_; 00035 // bool addJetCombProb_, 00036 bool addLRJetComb_, doKinFit_, matchToGenEvt_; 00037 int maxNrIter_; 00038 double maxDeltaS_, maxF_; 00039 int jetParam_, lepParam_, metParam_; 00040 std::vector<int> constraints_; 00041 };