1 |
ceballos |
1.1 |
//-------------------
|
2 |
|
|
//
|
3 |
|
|
// Jet Tools
|
4 |
|
|
//
|
5 |
|
|
// S Markson
|
6 |
|
|
//
|
7 |
|
|
//-------------------
|
8 |
|
|
|
9 |
|
|
#ifndef MITPHYSICS_UTILS_JETTOOLS_H
|
10 |
|
|
#define MITPHYSICS_UTILS_JETTOOLS_H
|
11 |
|
|
|
12 |
|
|
#include "MitCommon/MathTools/interface/MathUtils.h"
|
13 |
|
|
#include "MitAna/DataUtil/interface/Debug.h"
|
14 |
|
|
#include "MitAna/DataTree/interface/Names.h"
|
15 |
|
|
#include "MitAna/DataTree/interface/ParticleCol.h"
|
16 |
mzanetti |
1.6 |
#include "MitAna/DataTree/interface/PFCandidateCol.h"
|
17 |
ceballos |
1.1 |
#include "MitAna/DataTree/interface/JetCol.h"
|
18 |
|
|
#include "MitPhysics/Init/interface/ModNames.h"
|
19 |
|
|
#include "MitAna/DataCont/interface/ObjArray.h"
|
20 |
|
|
#include "MitAna/DataTree/interface/TrackCol.h"
|
21 |
ceballos |
1.2 |
#include "MitAna/DataTree/interface/CaloTowerCol.h"
|
22 |
ceballos |
1.1 |
#include "MitAna/DataTree/interface/MetCol.h"
|
23 |
ceballos |
1.5 |
#include "MitAna/DataTree/interface/VertexCol.h"
|
24 |
ceballos |
1.1 |
#include <TVector3.h>
|
25 |
|
|
#include <TLorentzVector.h>
|
26 |
|
|
|
27 |
|
|
namespace mithep {
|
28 |
|
|
class JetTools {
|
29 |
mzanetti |
1.6 |
public:
|
30 |
|
|
JetTools();
|
31 |
|
|
virtual ~JetTools();
|
32 |
|
|
|
33 |
|
|
static Double_t NJettiness(const ParticleOArr *particles, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
34 |
|
|
static Double_t NJettiness(const PFCandidateOArr *particles, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
35 |
|
|
static Double_t NJettiness(const TrackOArr *tracks, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
36 |
|
|
static Double_t NJettiness(const JetOArr *jetsS, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
37 |
|
|
static Double_t NJettiness(const CaloTowerOArr *calos, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
38 |
|
|
|
39 |
|
|
static Double_t M_r(const ParticleOArr *particles);
|
40 |
|
|
static Double_t Beta_r(const ParticleOArr *particles);
|
41 |
|
|
static Double_t M_r_t(const ParticleOArr *particles, const Met *met);
|
42 |
|
|
static Double_t Razor(const ParticleOArr *particles, const Met *met);
|
43 |
|
|
static Double_t CosineOmega(const Particle *particles0, const Particle *particles1);
|
44 |
|
|
static Double_t MtHiggs(const ParticleOArr *leptons, const Met *met, double metFraction[2], int nsel);
|
45 |
|
|
static void Alpha(Double_t AlphaVar[2], const TrackCol *tracks, Jet *jet, const VertexCol *vertices, Double_t delta_z, Double_t delta_cone);
|
46 |
|
|
|
47 |
|
|
ClassDef(JetTools, 0)
|
48 |
|
|
};
|
49 |
ceballos |
1.1 |
|
50 |
|
|
}
|
51 |
|
|
|
52 |
|
|
#endif
|