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 |
ceballos |
1.7 |
<<<<<<< JetTools.h
|
19 |
|
|
#include "MitAna/DataTree/interface/Jet.h"
|
20 |
|
|
#include "MitAna/DataTree/interface/PFJet.h"
|
21 |
|
|
=======
|
22 |
|
|
>>>>>>> 1.6
|
23 |
ceballos |
1.1 |
#include "MitPhysics/Init/interface/ModNames.h"
|
24 |
|
|
#include "MitAna/DataCont/interface/ObjArray.h"
|
25 |
|
|
#include "MitAna/DataTree/interface/TrackCol.h"
|
26 |
ceballos |
1.2 |
#include "MitAna/DataTree/interface/CaloTowerCol.h"
|
27 |
ceballos |
1.1 |
#include "MitAna/DataTree/interface/MetCol.h"
|
28 |
ceballos |
1.5 |
#include "MitAna/DataTree/interface/VertexCol.h"
|
29 |
ceballos |
1.1 |
#include <TVector3.h>
|
30 |
|
|
#include <TLorentzVector.h>
|
31 |
|
|
|
32 |
|
|
namespace mithep {
|
33 |
|
|
class JetTools {
|
34 |
ceballos |
1.7 |
<<<<<<< JetTools.h
|
35 |
|
|
public:
|
36 |
|
|
JetTools();
|
37 |
|
|
virtual ~JetTools();
|
38 |
|
|
|
39 |
|
|
static Double_t NJettiness(const ParticleOArr *particles, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
|
40 |
|
|
static Double_t NJettiness(const TrackOArr *tracks, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
|
41 |
|
|
static Double_t NJettiness(const JetOArr *jetsS, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
|
42 |
|
|
static Double_t NJettiness(const CaloTowerOArr *calos, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
|
43 |
|
|
static Double_t M_r(const ParticleOArr *particles);
|
44 |
|
|
static Double_t Beta_r(const ParticleOArr *particles);
|
45 |
|
|
static Double_t M_r_t(const ParticleOArr *particles, const Met *met);
|
46 |
|
|
static Double_t Razor(const ParticleOArr *particles, const Met *met);
|
47 |
|
|
static Double_t CosineOmega(const Particle *particles0, const Particle *particles1);
|
48 |
|
|
static Double_t MtHiggs(const ParticleOArr *leptons, const Met *met, double metFraction[2], int nsel);
|
49 |
|
|
static void Alpha(Double_t AlphaVar[2], const TrackCol *tracks, Jet *jet, const VertexCol *vertices, Double_t delta_z, Double_t delta_cone);
|
50 |
|
|
static void Alpha(Double_t AlphaVar[2], const PFJet *jet, const VertexCol *vertices, Double_t delta_z);
|
51 |
|
|
=======
|
52 |
mzanetti |
1.6 |
public:
|
53 |
|
|
JetTools();
|
54 |
|
|
virtual ~JetTools();
|
55 |
|
|
|
56 |
|
|
static Double_t NJettiness(const ParticleOArr *particles, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
57 |
|
|
static Double_t NJettiness(const PFCandidateOArr *particles, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
58 |
|
|
static Double_t NJettiness(const TrackOArr *tracks, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
59 |
|
|
static Double_t NJettiness(const JetOArr *jetsS, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
60 |
|
|
static Double_t NJettiness(const CaloTowerOArr *calos, const JetOArr *jets, double Q = 1, double Y = 0.0);
|
61 |
|
|
|
62 |
|
|
static Double_t M_r(const ParticleOArr *particles);
|
63 |
|
|
static Double_t Beta_r(const ParticleOArr *particles);
|
64 |
|
|
static Double_t M_r_t(const ParticleOArr *particles, const Met *met);
|
65 |
|
|
static Double_t Razor(const ParticleOArr *particles, const Met *met);
|
66 |
|
|
static Double_t CosineOmega(const Particle *particles0, const Particle *particles1);
|
67 |
|
|
static Double_t MtHiggs(const ParticleOArr *leptons, const Met *met, double metFraction[2], int nsel);
|
68 |
|
|
static void Alpha(Double_t AlphaVar[2], const TrackCol *tracks, Jet *jet, const VertexCol *vertices, Double_t delta_z, Double_t delta_cone);
|
69 |
|
|
|
70 |
|
|
ClassDef(JetTools, 0)
|
71 |
|
|
};
|
72 |
ceballos |
1.7 |
>>>>>>> 1.6
|
73 |
ceballos |
1.1 |
|
74 |
|
|
}
|
75 |
|
|
|
76 |
|
|
#endif
|