CMS 3D CMS Logo

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 namespace edm {
16  class Event;
17  class EventSetup;
18  class ParameterSets;
19 }
20 // For MVA analysis
21 
22 #include "TMVA/Tools.h"
23 #include "TMVA/Reader.h"
24 
25 namespace cms
26 {
27 
29 {
30 public:
31 
32  PileupJPTJetIdAlgo(const edm::ParameterSet& fParameters);
33 
34  virtual ~PileupJPTJetIdAlgo();
35 
36  void bookMVAReader();
37 
38  float fillJPTBlock(const reco::JPTJet* jet
39  );
40 private:
41  int verbosity;
42 // Variables for multivariate analysis
43 
44  float Nvtx,PtJ,EtaJ,Beta,MultCalo,dAxis1c,dAxis2c,MultTr,dAxis1t,dAxis2t;
45  TMVA::Reader * reader_;
46  TMVA::Reader * readerF_;
47  std::string tmvaWeights_, tmvaWeightsF_, tmvaMethod_;
48 };
49 }
50 #endif
Jets made from CaloJets corrected for ZSP and tracks.
Definition: JPTJet.h:29
HLT enums.