ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/MVAMetMod.h
Revision: 1.5
Committed: Tue Apr 24 21:27:59 2012 UTC (13 years ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_029c, Mit_029b, Mit_029a, Mit_028a, Mit_028, Mit_027, Mit_027a, HEAD
Changes since 1.4: +9 -5 lines
Log Message:
Final debug of MVA Met

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: MVAMetMod.h,v 1.4 2012/04/07 16:45:04 ceballos Exp $
3 //
4 // MVAMetMod
5 //
6 // Example on how to call regressed MET
7 //
8 // Authors: P.Harris
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPHYSICS_MODS_MVAMETMOD_H
12 #define MITPHYSICS_MODS_MVAMETOD_H
13
14 #include "MitAna/TreeMod/interface/BaseMod.h"
15 #include "MitAna/DataTree/interface/PFJetCol.h"
16 #include "MitAna/DataTree/interface/JetCol.h"
17 #include "MitAna/DataTree/interface/VertexCol.h"
18 #include "MitAna/DataTree/interface/PFMetCol.h"
19 #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
20 #include "MitPhysics/Utils/interface/MVAMet.h"
21
22 namespace mithep
23 {
24 class MVAMetMod : public BaseMod
25 {
26 public:
27 MVAMetMod(const char *name="MVAMetMod",
28 const char *title="MVAMet example");
29 void SetJetsName(TString s) { fJetsName = s;}
30
31 protected:
32 void Process();
33 void SlaveBegin();
34 void SlaveTerminate();
35
36 TString fMVAMetName;
37 TString fJetsName ;
38 TString fPFCandName;
39 TString fVertexName;
40 TString fPFMetName ;
41 TString fRhoName ;
42
43 const JetCol *fJets;
44 const PFCandidateCol *fCands;
45 const VertexCol *fVertices;
46 const PFMetCol *fPFMet;
47 const PileupEnergyDensityCol *fRhoCol;
48
49 MVAMet *fMVAMet;
50 ClassDef(MVAMetMod, 1) // Jet identification module
51 };
52 }
53 #endif