CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
TtSemiLepSignalSelMVATrainer Class Reference

#include <TtSemiLepSignalSelMVATrainer.h>

Inheritance diagram for TtSemiLepSignalSelMVATrainer:
edm::EDAnalyzer edm::EDConsumerBase

Classes

struct  JetwithHigherPt
 

Public Member Functions

 TtSemiLepSignalSelMVATrainer (const edm::ParameterSet &)
 
 ~TtSemiLepSignalSelMVATrainer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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 & itemsToGetFrom (BranchType iType) 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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &evt, const edm::EventSetup &setup) override
 
void beginJob () override
 
double DeltaPhi (const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
 
double DeltaR (const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
 

Private Attributes

edm::EDGetTokenT< edm::View< pat::Electron > > electronsToken_
 
edm::EDGetTokenT< TtGenEventgenEvtToken_
 
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
 
int lepChannel_
 
int maxEv_
 
edm::EDGetTokenT< edm::View< pat::MET > > METsToken_
 
edm::EDGetTokenT< edm::View< pat::Muon > > muonsToken_
 
PhysicsTools::MVAComputerCache mvaComputer
 
int selEv
 
int whatData_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 28 of file TtSemiLepSignalSelMVATrainer.h.

Constructor & Destructor Documentation

◆ TtSemiLepSignalSelMVATrainer()

TtSemiLepSignalSelMVATrainer::TtSemiLepSignalSelMVATrainer ( const edm::ParameterSet )
explicit

◆ ~TtSemiLepSignalSelMVATrainer()

TtSemiLepSignalSelMVATrainer::~TtSemiLepSignalSelMVATrainer ( )
override

Member Function Documentation

◆ analyze()

void TtSemiLepSignalSelMVATrainer::analyze ( const edm::Event evt,
const edm::EventSetup setup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

◆ beginJob()

void TtSemiLepSignalSelMVATrainer::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

◆ DeltaPhi()

double TtSemiLepSignalSelMVATrainer::DeltaPhi ( const math::XYZTLorentzVector v1,
const math::XYZTLorentzVector v2 
)
private

◆ DeltaR()

double TtSemiLepSignalSelMVATrainer::DeltaR ( const math::XYZTLorentzVector v1,
const math::XYZTLorentzVector v2 
)
private

Member Data Documentation

◆ electronsToken_

edm::EDGetTokenT<edm::View<pat::Electron> > TtSemiLepSignalSelMVATrainer::electronsToken_
private

Definition at line 46 of file TtSemiLepSignalSelMVATrainer.h.

◆ genEvtToken_

edm::EDGetTokenT<TtGenEvent> TtSemiLepSignalSelMVATrainer::genEvtToken_
private

Definition at line 49 of file TtSemiLepSignalSelMVATrainer.h.

◆ jetsToken_

edm::EDGetTokenT<std::vector<pat::Jet> > TtSemiLepSignalSelMVATrainer::jetsToken_
private

Definition at line 47 of file TtSemiLepSignalSelMVATrainer.h.

◆ lepChannel_

int TtSemiLepSignalSelMVATrainer::lepChannel_
private

Definition at line 51 of file TtSemiLepSignalSelMVATrainer.h.

◆ maxEv_

int TtSemiLepSignalSelMVATrainer::maxEv_
private

Definition at line 53 of file TtSemiLepSignalSelMVATrainer.h.

◆ METsToken_

edm::EDGetTokenT<edm::View<pat::MET> > TtSemiLepSignalSelMVATrainer::METsToken_
private

Definition at line 48 of file TtSemiLepSignalSelMVATrainer.h.

◆ muonsToken_

edm::EDGetTokenT<edm::View<pat::Muon> > TtSemiLepSignalSelMVATrainer::muonsToken_
private

Definition at line 45 of file TtSemiLepSignalSelMVATrainer.h.

◆ mvaComputer

PhysicsTools::MVAComputerCache TtSemiLepSignalSelMVATrainer::mvaComputer
private

Definition at line 56 of file TtSemiLepSignalSelMVATrainer.h.

◆ selEv

int TtSemiLepSignalSelMVATrainer::selEv
private

Definition at line 54 of file TtSemiLepSignalSelMVATrainer.h.

◆ whatData_

int TtSemiLepSignalSelMVATrainer::whatData_
private

Definition at line 52 of file TtSemiLepSignalSelMVATrainer.h.