CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
23  public:
24 
27 
28  private:
29 
30  virtual void beginJob();
31  virtual void produce(edm::Event& evt, const edm::EventSetup& setup);
32  virtual void endJob();
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)
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_
virtual void produce(edm::Event &evt, const edm::EventSetup &setup)
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 setup(std::vector< TH2F > &depth, std::string name, std::string units="")