test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PileupJPTJetIdAlgo.h
Go to the documentation of this file.
1 #ifndef JetProducers_PileupJPTJetIdAlgo_h
2 #define JetProducers_PileupJPTJetIdAlgo_h
3 
5 
6 // user include files
7 #include <string>
8 #include <memory>
9 #include <map>
10 #include<fstream>
11 #include<iomanip>
12 #include<iostream>
13 #include<vector>
14 
15 using namespace std;
16 using namespace reco;
17 
18 namespace edm {
19  class Event;
20  class EventSetup;
21  class ParameterSets;
22 }
23 // For MVA analysis
24 
25 #include "TMVA/Tools.h"
26 #include "TMVA/Reader.h"
27 
28 namespace cms
29 {
30 
32 {
33 public:
34 
35  PileupJPTJetIdAlgo(const edm::ParameterSet& fParameters);
36 
37  virtual ~PileupJPTJetIdAlgo();
38 
39  void bookMVAReader();
40 
41  float fillJPTBlock(const reco::JPTJet* jet
42  );
43 private:
44  int verbosity;
45 // Variables for multivariate analysis
46 
47  float Nvtx,PtJ,EtaJ,Beta,MultCalo,dAxis1c,dAxis2c,MultTr,dAxis1t,dAxis2t;
48  TMVA::Reader * reader_;
49  TMVA::Reader * readerF_;
50  std::string tmvaWeights_, tmvaWeightsF_, tmvaMethod_;
51 };
52 }
53 #endif
Jets made from CaloJets corrected for ZSP and tracks.
Definition: JPTJet.h:29