1 |
pharris |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
ceballos |
1.4 |
// $Id: MVAMetMod.h,v 1.3 2012/04/07 13:55:35 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 |
|
|
#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 |
ceballos |
1.2 |
void SetJetsName(TString s) { fJetsName = s;}
|
29 |
pharris |
1.1 |
|
30 |
|
|
protected:
|
31 |
|
|
void Process();
|
32 |
ceballos |
1.2 |
void SlaveBegin();
|
33 |
|
|
void SlaveTerminate();
|
34 |
|
|
|
35 |
pharris |
1.1 |
TString fMVAMetName;
|
36 |
|
|
TString fJetsName ;
|
37 |
|
|
TString fPFCandName;
|
38 |
|
|
TString fVertexName;
|
39 |
|
|
TString fPFMetName ;
|
40 |
ceballos |
1.3 |
const JetCol *fJets;
|
41 |
pharris |
1.1 |
const PFCandidateCol *fCands;
|
42 |
|
|
const VertexCol *fVertices;
|
43 |
|
|
const PFMetCol *fPFMet;
|
44 |
|
|
|
45 |
|
|
MVAMet *fMVAMet;
|
46 |
|
|
ClassDef(MVAMetMod, 1) // Jet identification module
|
47 |
|
|
};
|
48 |
|
|
}
|
49 |
|
|
#endif
|