ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/JetTools.h
Revision: 1.5
Committed: Mon Jan 17 17:32:52 2011 UTC (14 years, 3 months ago) by ceballos
Content type: text/plain
Branch: MAIN
Changes since 1.4: +2 -0 lines
Log Message:
adding cic and alpha variables

File Contents

# User Rev Content
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     #include "MitAna/DataTree/interface/JetCol.h"
17     #include "MitAna/DataTree/interface/Jet.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     public:
30     JetTools();
31     virtual ~JetTools();
32    
33 ceballos 1.2 static Double_t NJettiness(const ParticleOArr *particles, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
34     static Double_t NJettiness(const TrackOArr *tracks, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
35     static Double_t NJettiness(const JetOArr *jetsS, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
36     static Double_t NJettiness(const CaloTowerOArr *calos, const JetOArr *jets, bool UseQ = kFALSE, double Y = 0.0);
37 ceballos 1.1 static Double_t M_r(const ParticleOArr *particles);
38     static Double_t Beta_r(const ParticleOArr *particles);
39     static Double_t M_r_t(const ParticleOArr *particles, const Met *met);
40     static Double_t Razor(const ParticleOArr *particles, const Met *met);
41 ceballos 1.3 static Double_t CosineOmega(const Particle *particles0, const Particle *particles1);
42 ceballos 1.4 static Double_t MtHiggs(const ParticleOArr *leptons, const Met *met, double metFraction[2], int nsel);
43 ceballos 1.5 static void Alpha(Double_t AlphaVar[2], const TrackCol *tracks, Jet *jet, const VertexCol *vertices, Double_t delta_z, Double_t delta_cone);
44 ceballos 1.1
45     ClassDef(JetTools, 0)
46     };
47     }
48    
49     #endif