CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 produce(edm::Event& evt, const edm::EventSetup& setup) override;
28 
29  double DeltaPhi(const math::XYZTLorentzVector& v1, const math::XYZTLorentzVector& v2);
30  double DeltaR(const math::XYZTLorentzVector& v1, const math::XYZTLorentzVector& v2);
31 
38 
40 };
41 
42 #endif
double DeltaPhi(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
edm::EDGetTokenT< edm::View< pat::Electron > > electronsToken_
PhysicsTools::MVAComputerCache mvaComputer
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
edm::EDGetTokenT< edm::View< pat::Muon > > muonsToken_
double DeltaR(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
edm::EDGetTokenT< edm::View< pat::MET > > METsToken_
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition: HelperMacros.h:51
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
TtSemiLepSignalSelMVAComputer(const edm::ParameterSet &)
Creates and and MVAComputer from calibrations via EventSetup.
void produce(edm::Event &evt, const edm::EventSetup &setup) override
edm::ESGetToken< PhysicsTools::Calibration::MVAComputerContainer, TtSemiLepSignalSelMVARcd > mvaToken_