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

# User Rev Content
1 pharris 1.1 //--------------------------------------------------------------------------------------------------
2 pharris 1.5 // $Id: MVAMetMod.h,v 1.4 2012/04/07 16:45:04 ceballos Exp $
3 pharris 1.1 //
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 ceballos 1.4 #include "MitAna/DataTree/interface/PFJetCol.h"
16 pharris 1.1 #include "MitAna/DataTree/interface/JetCol.h"
17     #include "MitAna/DataTree/interface/VertexCol.h"
18     #include "MitAna/DataTree/interface/PFMetCol.h"
19 pharris 1.5 #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
20 pharris 1.1 #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 ceballos 1.2 void SetJetsName(TString s) { fJetsName = s;}
30 pharris 1.1
31     protected:
32     void Process();
33 ceballos 1.2 void SlaveBegin();
34     void SlaveTerminate();
35    
36 pharris 1.1 TString fMVAMetName;
37     TString fJetsName ;
38     TString fPFCandName;
39     TString fVertexName;
40     TString fPFMetName ;
41 pharris 1.5 TString fRhoName ;
42    
43     const JetCol *fJets;
44     const PFCandidateCol *fCands;
45     const VertexCol *fVertices;
46     const PFMetCol *fPFMet;
47     const PileupEnergyDensityCol *fRhoCol;
48 pharris 1.1
49     MVAMet *fMVAMet;
50     ClassDef(MVAMetMod, 1) // Jet identification module
51     };
52     }
53     #endif