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 
23  public:
24 
27 
28  private:
29 
30  void beginJob() override;
31  void produce(edm::Event& evt, const edm::EventSetup& setup) override;
32  void endJob() override;
33 
34  double DeltaPhi(const math::XYZTLorentzVector& v1, const math::XYZTLorentzVector& v2);
35  double DeltaR(const math::XYZTLorentzVector& v1, const math::XYZTLorentzVector& v2);
36 
41 
43 
44  double DiscSel;
45 
46 };
47 
48 #endif
double DeltaPhi(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
PhysicsTools::MVAComputerCache mvaComputer
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition: HelperMacros.h:43
double DeltaR(const math::XYZTLorentzVector &v1, const math::XYZTLorentzVector &v2)
edm::EDGetTokenT< edm::View< pat::Muon > > muonsToken_
edm::EDGetTokenT< edm::View< pat::MET > > METsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
TtSemiLepSignalSelMVAComputer(const edm::ParameterSet &)
edm::EDGetTokenT< edm::View< pat::Electron > > electronsToken_
Creates and and MVAComputer from calibrations via EventSetup.
void produce(edm::Event &evt, const edm::EventSetup &setup) override