17 jets_ (cfg.getParameter<edm::InputTag>(
"jets")),
18 whatData_ (cfg.getParameter<int>(
"whatData")),
19 maxEv_ (cfg.getParameter<int>(
"maxEv")),
20 weight_ (cfg.getParameter<double>(
"weight"))
61 bool isSignal =
false;
62 if(genEvt->isTtBar()){
63 if(genEvt->isFullHadronic()) isSignal =
true;
79 else std::cout<<
"Config File Error!! Please check <whatData> in TtFullHadSignalSelMVATrainer_cfi";
86 std::cout<<
"Config File Error!! Please check <whatData> in TtFullHadSignalSelMVATrainer_cfi"<<std::endl;;
#define MVA_TRAINER_IMPLEMENT(N)
~TtFullHadSignalSelMVATrainer()
double evaluateTtFullHadSignalSel(PhysicsTools::MVAComputerCache &mvaComputer, const TtFullHadSignalSel &sigsel, double weight=1.0, const bool training=false, const bool isSignal=false)
virtual void analyze(const edm::Event &evt, const edm::EventSetup &setup)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TtFullHadSignalSelMVATrainer(const edm::ParameterSet &)
PhysicsTools::MVAComputerCache mvaComputer
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")