1 | #ifndef _JETSUTIL_H_
|
---|
2 | #define _JETSUTIL_H_
|
---|
3 |
|
---|
4 | /*
|
---|
5 | ---- Delphes ----
|
---|
6 | A Fast Simulator for general purpose LHC detector
|
---|
7 | S. Ovyn ~~~~ severine.ovyn@uclouvain.be
|
---|
8 |
|
---|
9 | Center for Particle Physics and Phenomenology (CP3)
|
---|
10 | Universite Catholique de Louvain (UCL)
|
---|
11 | Louvain-la-Neuve, Belgium
|
---|
12 | */
|
---|
13 |
|
---|
14 | /// \file SmearUtil.h
|
---|
15 | /// \brief RESOLution class, and some generic definitions
|
---|
16 |
|
---|
17 |
|
---|
18 | #include <vector>
|
---|
19 | #include "TLorentzVector.h"
|
---|
20 |
|
---|
21 | #include "interface/SmearUtil.h"
|
---|
22 | #include "Utilities/ExRootAnalysis/interface/BlockClasses.h"
|
---|
23 | #include "Utilities/ExRootAnalysis/interface/TSimpleArray.h"
|
---|
24 | #include "Utilities/ExRootAnalysis/interface/ExRootTreeReader.h"
|
---|
25 | #include "Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h"
|
---|
26 | #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h"
|
---|
27 |
|
---|
28 |
|
---|
29 |
|
---|
30 | #include "Utilities/Fastjet/plugins/CDFCones/interface/PhysicsTower.hh"
|
---|
31 |
|
---|
32 |
|
---|
33 | #include "TRandom.h"
|
---|
34 |
|
---|
35 | #include <iostream>
|
---|
36 | #include <sstream>
|
---|
37 | #include <fstream>
|
---|
38 | #include <iomanip>
|
---|
39 | #include <cstring>
|
---|
40 |
|
---|
41 | #include "Utilities/Fastjet/include/fastjet/PseudoJet.hh"
|
---|
42 | #include "Utilities/Fastjet/include/fastjet/ClusterSequence.hh"
|
---|
43 |
|
---|
44 | // get info on how fastjet was configured
|
---|
45 | #include "Utilities/Fastjet/include/fastjet/config.h"
|
---|
46 |
|
---|
47 | // make sure we have what is needed
|
---|
48 | #ifdef ENABLE_PLUGIN_SISCONE
|
---|
49 | # include "Utilities/Fastjet/plugins/SISCone/SISConePlugin.hh"
|
---|
50 | #endif
|
---|
51 | #ifdef ENABLE_PLUGIN_CDFCONES
|
---|
52 | # include "Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.hh"
|
---|
53 | # include "Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.hh"
|
---|
54 | #endif
|
---|
55 |
|
---|
56 | using namespace std;
|
---|
57 |
|
---|
58 | class JetsUtil: public RESOLution
|
---|
59 | {
|
---|
60 | public:
|
---|
61 | /// Constructor
|
---|
62 | JetsUtil();
|
---|
63 |
|
---|
64 |
|
---|
65 | fastjet::JetDefinition jet_def;
|
---|
66 | fastjet::JetDefinition::Plugin * plugins;
|
---|
67 |
|
---|
68 | vector<fastjet::PseudoJet> inclusive_jets;
|
---|
69 | vector<fastjet::PseudoJet> sorted_jets;
|
---|
70 | vector<fastjet::PseudoJet> RunJets(const vector<fastjet::PseudoJet> & input_particles);
|
---|
71 |
|
---|
72 | void RunJetBtagging(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchJet,const vector<fastjet::PseudoJet> & sorted_jets,const TSimpleArray<TRootGenParticle> & NFCentralQ);
|
---|
73 |
|
---|
74 | void RunTauJets(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchTauJet,const vector<fastjet::PseudoJet> & sorted_jets,const vector<PhysicsTower> & towers, const vector<TLorentzVector> & TrackCentral);
|
---|
75 |
|
---|
76 | };
|
---|
77 |
|
---|
78 | #endif
|
---|