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
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