#include <TtFullHadSignalSelMVATrainer.h>
|
| TtFullHadSignalSelMVATrainer (const edm::ParameterSet &) |
|
| ~TtFullHadSignalSelMVATrainer () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
TtFullHadSignalSelMVATrainer::TtFullHadSignalSelMVATrainer |
( |
const edm::ParameterSet & |
cfg | ) |
|
|
explicit |
Definition at line 13 of file TtFullHadSignalSelMVATrainer.cc.
T getParameter(std::string const &) const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
edm::EDGetTokenT< TtGenEvent > genEvtToken_
TtFullHadSignalSelMVATrainer::~TtFullHadSignalSelMVATrainer |
( |
| ) |
|
Definition at line 27 of file TtFullHadSignalSelMVATrainer.cc.
References gather_cfg::cout, evaluateTtFullHadSignalSel(), TtGenEvtProducer_cfi::genEvt, genEvtToken_, edm::Event::getByToken(), TtGenEvent::isFullHadronic(), TtGenEvent::isTtBar(), fwrapper::jets, jetsToken_, maxEv_, mvaComputer, corrVsCorr::selection, selEv, GeneralSetup::setup(), PhysicsTools::MVAComputerCache::update(), weight_, and whatData_.
59 bool isSignal =
false;
77 else std::cout<<
"Config File Error!! Please check <whatData> in TtFullHadSignalSelMVATrainer_cfi";
bool getByToken(EDGetToken token, Handle< PROD > &result) const
def setup(process, global_tag, zero_tesla=False)
bool isFullHadronic(bool excludeTauLeptons=false) const
check if the event can be classified as full hadronic
double evaluateTtFullHadSignalSel(PhysicsTools::MVAComputerCache &mvaComputer, const TtFullHadSignalSel &sigsel, double weight=1.0, const bool training=false, const bool isSignal=false)
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
edm::EDGetTokenT< TtGenEvent > genEvtToken_
PhysicsTools::MVAComputerCache mvaComputer
bool isTtBar() const
check if the event can be classified as ttbar
void TtFullHadSignalSelMVATrainer::beginJob |
( |
void |
| ) |
|
|
privatevirtual |
int TtFullHadSignalSelMVATrainer::maxEv_ |
|
private |
int TtFullHadSignalSelMVATrainer::selEv |
|
private |
double TtFullHadSignalSelMVATrainer::weight_ |
|
private |
int TtFullHadSignalSelMVATrainer::whatData_ |
|
private |