ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/MVAMetMod.h
Revision: 1.1
Committed: Sat Apr 7 10:25:15 2012 UTC (13 years ago) by pharris
Content type: text/plain
Branch: MAIN
Log Message:
Met examples

File Contents

# User Rev Content
1 pharris 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: JetIDMod.h,v 1.16 2012/04/05 12:25:09 pharris 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/JetCol.h"
16     #include "MitAna/DataTree/interface/VertexCol.h"
17     #include "MitAna/DataTree/interface/PFMetCol.h"
18     #include "MitAna/DataTree/interface/MuonCol.h"
19     #include "MitPhysics/Utils/interface/MVAMet.h"
20    
21     namespace mithep
22     {
23     class MVAMetMod : public BaseMod
24     {
25     public:
26     MVAMetMod(const char *name="MVAMetMod",
27     const char *title="MVAMet example");
28    
29     protected:
30     void Process();
31     TString fMVAMetName;
32     TString fJetsName ;
33     TString fPFCandName;
34     TString fVertexName;
35     TString fPFMetName ;
36     const PFJetCol *fJets;
37     const PFCandidateCol *fCands;
38     const VertexCol *fVertices;
39     const PFMetCol *fPFMet;
40     const MuonCol *fMuons;
41    
42     MVAMet *fMVAMet;
43     ClassDef(MVAMetMod, 1) // Jet identification module
44     };
45     }
46     #endif