CMS 3D CMS Logo

TtSemiLepSignalSelMVAComputer.h
Go to the documentation of this file.
1 #ifndef TtSemiLepSignalSelMVAComputer_h
2 #define TtSemiLepSignalSelMVAComputer_h
3 
6 
9 
15 
16 #ifndef TtSemiLepSignalSelMVARcd_defined // to avoid conflicts with the TopSemiLepLepSignalSelMVATrainer
17 #define TtSemiLepSignalSelMVARcd_defined
18 MVA_COMPUTER_CONTAINER_DEFINE(TtSemiLepSignalSelMVA); // defines TopSemiLepLepSignalSelMVARcd
19 #endif
20 
22 public:
25 
26 private:
27  void beginJob() override;
28  void produce(edm::Event& evt, const edm::EventSetup& setup) override;
29  void endJob() override;
30 
31  double DeltaPhi(const math::XYZTLorentzVector& v1, const math::XYZTLorentzVector& v2);
32  double DeltaR(const math::XYZTLorentzVector& v1, const math::XYZTLorentzVector& v2);
33 
38 
40 
41  double DiscSel;
42 };
43 
44 #endif
EDProducer.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
Muon.h
TtSemiLepSignalSelMVAComputer::DiscSel
double DiscSel
Definition: TtSemiLepSignalSelMVAComputer.h:41
TtSemiLepSignalSelMVAComputer
Definition: TtSemiLepSignalSelMVAComputer.h:21
TtSemiLepSignalSelMVAComputer::endJob
void endJob() override
Definition: TtSemiLepSignalSelMVAComputer.cc:125
TtSemiLepSignalSelMVAComputer::electronsToken_
edm::EDGetTokenT< edm::View< pat::Electron > > electronsToken_
Definition: TtSemiLepSignalSelMVAComputer.h:37
TtSemiLepSignalSelMVAComputer::muonsToken_
edm::EDGetTokenT< edm::View< pat::Muon > > muonsToken_
Definition: TtSemiLepSignalSelMVAComputer.h:34
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
PhysicsTools::MVAComputerCache
Creates and and MVAComputer from calibrations via EventSetup.
Definition: MVAComputerCache.h:28
TtSemiLepSignalSelMVAComputer::mvaComputer
PhysicsTools::MVAComputerCache mvaComputer
Definition: TtSemiLepSignalSelMVAComputer.h:39
TtSemiLepSignalSelMVAComputer::DeltaR
double DeltaR(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
Definition: TtSemiLepSignalSelMVAComputer.cc:134
TtSemiLepSignalSelMVAComputer::~TtSemiLepSignalSelMVAComputer
~TtSemiLepSignalSelMVAComputer() override
Definition: TtSemiLepSignalSelMVAComputer.cc:21
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TtSemiLepSignalSelMVAComputer::METsToken_
edm::EDGetTokenT< edm::View< pat::MET > > METsToken_
Definition: TtSemiLepSignalSelMVAComputer.h:36
HelperMacros.h
LorentzVector.h
TtSemiLepSignalSelMVAComputer::TtSemiLepSignalSelMVAComputer
TtSemiLepSignalSelMVAComputer(const edm::ParameterSet &)
Definition: TtSemiLepSignalSelMVAComputer.cc:13
TtSemiLepSignalSelMVAComputer::beginJob
void beginJob() override
Definition: TtSemiLepSignalSelMVAComputer.cc:123
edm::EventSetup
Definition: EventSetup.h:58
MET.h
Jet.h
MVAComputerCache.h
MVA_COMPUTER_CONTAINER_DEFINE
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition: HelperMacros.h:51
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
edm::EDProducer
Definition: EDProducer.h:35
Electron.h
TtSemiLepSignalSelMVAComputer::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition: TtSemiLepSignalSelMVAComputer.h:35
edm::Event
Definition: Event.h:73
TtSemiLepSignalSelMVAComputer::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition: TtSemiLepSignalSelMVAComputer.cc:23
TtSemiLepSignalSelMVAComputer::DeltaPhi
double DeltaPhi(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
Definition: TtSemiLepSignalSelMVAComputer.cc:127