ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/MVAMetMod.h
Revision: 1.3
Committed: Sat Apr 7 13:55:35 2012 UTC (13 years ago) by ceballos
Content type: text/plain
Branch: MAIN
Changes since 1.2: +2 -3 lines
Log Message:
another fix

File Contents

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