1 |
dasu |
1.1 |
#ifndef UltraFastSim_H
|
2 |
|
|
#define UltraFastSim_H
|
3 |
|
|
|
4 |
|
|
#include <vector>
|
5 |
|
|
|
6 |
|
|
namespace Pythia8 {
|
7 |
|
|
class Rndm;
|
8 |
|
|
class Event;
|
9 |
|
|
class Particle;
|
10 |
|
|
}
|
11 |
|
|
|
12 |
|
|
namespace fastjet {
|
13 |
|
|
class JetDefinition;
|
14 |
|
|
class ClusterSequence;
|
15 |
|
|
}
|
16 |
|
|
|
17 |
dasu |
1.8 |
#include "TObject.h"
|
18 |
jindal |
1.7 |
#include "TParticle.h"
|
19 |
|
|
#include "TLorentzVector.h"
|
20 |
dasu |
1.1 |
|
21 |
dasu |
1.8 |
class UltraFastSim : public TObject {
|
22 |
dasu |
1.1 |
|
23 |
|
|
public:
|
24 |
|
|
|
25 |
dasu |
1.9 |
UltraFastSim() {;}
|
26 |
dasu |
1.1 |
|
27 |
|
|
virtual ~UltraFastSim() {;}
|
28 |
|
|
|
29 |
dasu |
1.9 |
bool run(Pythia8::Event &event, Pythia8::Rndm *r);
|
30 |
dasu |
1.1 |
|
31 |
dasu |
1.3 |
const std::vector<TParticle>& genTauList() {return genTaus;}
|
32 |
dasu |
1.5 |
const std::vector<TParticle>& visTauList() {return visTaus;}
|
33 |
dasu |
1.3 |
const std::vector<TParticle>& bQuarkList() {return bQuarks;}
|
34 |
|
|
const std::vector<TParticle>& cQuarkList() {return cQuarks;}
|
35 |
|
|
const std::vector<TParticle>& photonList() {return photons;}
|
36 |
|
|
const std::vector<TParticle>& electronList() {return electrons;}
|
37 |
|
|
const std::vector<TParticle>& muonList() {return muons;}
|
38 |
brownson |
1.10 |
const std::vector<TParticle>& muonListStdGeom() {return muonsStdGeom;}
|
39 |
dasu |
1.2 |
const std::vector<TParticle>& tauList() {return taus;}
|
40 |
dasu |
1.3 |
const std::vector<TParticle>& chargedHadronList() {return chargedHadrons;}
|
41 |
|
|
const std::vector<TParticle>& neutralHadronList() {return neutralHadrons;}
|
42 |
dasu |
1.8 |
const std::vector<TLorentzVector>& jetList() {return jets;}
|
43 |
dasu |
1.11 |
const std::vector<TLorentzVector>& bJetListLoose() {return bJetsLoose;}
|
44 |
|
|
const std::vector<TLorentzVector>& bJetListLooseStdGeom() {return bJetsLooseStdGeom;}
|
45 |
|
|
const std::vector<TLorentzVector>& bJetListMedium() {return bJetsMedium;}
|
46 |
|
|
const std::vector<TLorentzVector>& bJetListMediumStdGeom() {return bJetsMediumStdGeom;}
|
47 |
|
|
const std::vector<TLorentzVector>& bJetListTight() {return bJetsTight;}
|
48 |
|
|
const std::vector<TLorentzVector>& bJetListTightStdGeom() {return bJetsTightStdGeom;}
|
49 |
dasu |
1.2 |
|
50 |
dasu |
1.6 |
const TLorentzVector& getMET() {return MET;}
|
51 |
|
|
const TLorentzVector& getMHT() {return MHT;}
|
52 |
|
|
|
53 |
|
|
const double getET() {return ET;}
|
54 |
|
|
const double getHT() {return HT;}
|
55 |
|
|
|
56 |
dasu |
1.1 |
private:
|
57 |
|
|
|
58 |
|
|
void clear();
|
59 |
|
|
|
60 |
|
|
void makeJets();
|
61 |
|
|
void makeTaus();
|
62 |
dasu |
1.6 |
void makeETSums();
|
63 |
dasu |
1.1 |
|
64 |
dasu |
1.3 |
void setCommon(Pythia8::Particle& particle, TParticle& smearedParticle);
|
65 |
|
|
void tkSmear(Pythia8::Particle& particle, TParticle& smearedParticle);
|
66 |
|
|
void emSmear(Pythia8::Particle& particle, TParticle& smearedParticle);
|
67 |
|
|
void hdSmear(Pythia8::Particle& particle, TParticle& smearedParticle);
|
68 |
dasu |
1.1 |
|
69 |
dasu |
1.3 |
std::vector<TParticle> genTaus;
|
70 |
dasu |
1.5 |
std::vector<TParticle> visTaus;
|
71 |
dasu |
1.3 |
std::vector<TParticle> bQuarks;
|
72 |
|
|
std::vector<TParticle> cQuarks;
|
73 |
|
|
std::vector<TParticle> photons;
|
74 |
|
|
std::vector<TParticle> electrons;
|
75 |
|
|
std::vector<TParticle> muons;
|
76 |
brownson |
1.10 |
std::vector<TParticle> muonsStdGeom;
|
77 |
dasu |
1.2 |
std::vector<TParticle> taus;
|
78 |
dasu |
1.3 |
std::vector<TParticle> chargedHadrons;
|
79 |
|
|
std::vector<TParticle> neutralHadrons;
|
80 |
dasu |
1.8 |
std::vector<TLorentzVector> jets;
|
81 |
dasu |
1.11 |
std::vector<TLorentzVector> bJetsLoose;
|
82 |
|
|
std::vector<TLorentzVector> bJetsLooseStdGeom;
|
83 |
|
|
std::vector<TLorentzVector> bJetsMedium;
|
84 |
|
|
std::vector<TLorentzVector> bJetsMediumStdGeom;
|
85 |
|
|
std::vector<TLorentzVector> bJetsTight;
|
86 |
|
|
std::vector<TLorentzVector> bJetsTightStdGeom;
|
87 |
dasu |
1.1 |
|
88 |
dasu |
1.6 |
TLorentzVector MET;
|
89 |
|
|
TLorentzVector MHT;
|
90 |
|
|
|
91 |
|
|
double ET;
|
92 |
|
|
double HT;
|
93 |
|
|
|
94 |
dasu |
1.8 |
ClassDef (UltraFastSim, 1)
|
95 |
dasu |
1.1 |
};
|
96 |
|
|
|
97 |
|
|
#endif
|