1 |
fabstoec |
1.1 |
#ifndef MITPHYSICS_UTILS_PFMetCorrectionTOOLS_H
|
2 |
|
|
#define MITPHYSICS_UTILS_PFMetCorrectoinTOOLS_H
|
3 |
|
|
|
4 |
|
|
#include "MitCommon/MathTools/interface/MathUtils.h"
|
5 |
|
|
#include "MitAna/DataUtil/interface/Debug.h"
|
6 |
|
|
#include "MitAna/DataTree/interface/Names.h"
|
7 |
|
|
#include "MitAna/DataTree/interface/ParticleCol.h"
|
8 |
|
|
#include "MitAna/DataTree/interface/PFCandidateCol.h"
|
9 |
|
|
#include "MitAna/DataTree/interface/JetCol.h"
|
10 |
|
|
#include "MitAna/DataTree/interface/PFJetCol.h"
|
11 |
|
|
#include "MitAna/DataTree/interface/GenJetCol.h"
|
12 |
|
|
#include "MitPhysics/Init/interface/ModNames.h"
|
13 |
|
|
#include "MitAna/DataCont/interface/ObjArray.h"
|
14 |
|
|
#include "MitAna/DataTree/interface/Photon.h"
|
15 |
|
|
#include "MitAna/DataTree/interface/CaloTowerCol.h"
|
16 |
|
|
#include "MitAna/DataTree/interface/MetCol.h"
|
17 |
|
|
#include "MitAna/DataTree/interface/StableData.h"
|
18 |
|
|
#include "MitAna/DataTree/interface/VertexCol.h"
|
19 |
|
|
#include "MitCommon/MathTools/interface/MathUtils.h"
|
20 |
|
|
#include "MitAna/DataTree/interface/PFJetCol.h"
|
21 |
|
|
#include <TVector3.h>
|
22 |
|
|
#include <TLorentzVector.h>
|
23 |
|
|
|
24 |
|
|
namespace mithep {
|
25 |
|
|
class PFMetCorrectionTools {
|
26 |
|
|
public:
|
27 |
|
|
PFMetCorrectionTools();
|
28 |
|
|
static Double_t ErrEt( Double_t Et, Double_t Eta);
|
29 |
|
|
static void correctMet(Met *met, const Photon *phHard,const Photon *phSoft, Bool_t smearing, Bool_t scale, const PFJetCol *fPFJet, const GenJetCol *fGenJet, const JetCol *fcorrJet);
|
30 |
|
|
static void shiftMet(Met *uncormet, Bool_t fIsData);
|
31 |
|
|
ClassDef(PFMetCorrectionTools, 0)
|
32 |
|
|
};
|
33 |
|
|
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
#endif
|