14 |
|
class ClusterSequence; |
15 |
|
} |
16 |
|
|
17 |
< |
#include "fastjet/PseudoJet.hh" |
18 |
< |
|
17 |
> |
#include "TObject.h" |
18 |
|
#include "TParticle.h" |
19 |
|
#include "TLorentzVector.h" |
21 |
– |
#include "bTagData.h" |
20 |
|
|
21 |
< |
class UltraFastSim { |
21 |
> |
class UltraFastSim : public TObject { |
22 |
|
|
23 |
|
public: |
24 |
|
|
25 |
< |
UltraFastSim(Pythia8::Rndm *r); |
25 |
> |
UltraFastSim() {;} |
26 |
|
|
27 |
|
virtual ~UltraFastSim() {;} |
28 |
|
|
29 |
< |
bool run(Pythia8::Event &event); |
29 |
> |
bool run(Pythia8::Event &event, Pythia8::Rndm *r); |
30 |
|
|
31 |
|
const std::vector<TParticle>& genTauList() {return genTaus;} |
32 |
|
const std::vector<TParticle>& visTauList() {return visTaus;} |
38 |
|
const std::vector<TParticle>& tauList() {return taus;} |
39 |
|
const std::vector<TParticle>& chargedHadronList() {return chargedHadrons;} |
40 |
|
const std::vector<TParticle>& neutralHadronList() {return neutralHadrons;} |
41 |
< |
const std::vector<fastjet::PseudoJet>& jetList() {return jets;} |
42 |
< |
const std::vector<fastjet::PseudoJet>& bJetList() {return bJets;} |
43 |
< |
const std::vector<fastjet::PseudoJet>& bJetListStdGeom() {return bJetsStdGeom;} |
41 |
> |
const std::vector<TLorentzVector>& jetList() {return jets;} |
42 |
> |
const std::vector<TLorentzVector>& bJetList() {return bJets;} |
43 |
> |
const std::vector<TLorentzVector>& bJetListStdGeom() {return bJetsStdGeom;} |
44 |
|
|
45 |
|
const TLorentzVector& getMET() {return MET;} |
46 |
|
const TLorentzVector& getMHT() {return MHT;} |
50 |
|
|
51 |
|
private: |
52 |
|
|
55 |
– |
UltraFastSim(); |
56 |
– |
|
53 |
|
void clear(); |
54 |
|
|
55 |
|
void makeJets(); |
60 |
– |
void makeBJets(); |
56 |
|
void makeTaus(); |
57 |
|
void makeETSums(); |
58 |
|
|
61 |
|
void emSmear(Pythia8::Particle& particle, TParticle& smearedParticle); |
62 |
|
void hdSmear(Pythia8::Particle& particle, TParticle& smearedParticle); |
63 |
|
|
69 |
– |
Pythia8::Rndm* rndmPtr; |
70 |
– |
|
71 |
– |
fastjet::JetDefinition* jetDefPtr; |
72 |
– |
fastjet::ClusterSequence* cs; |
73 |
– |
|
64 |
|
std::vector<TParticle> genTaus; |
65 |
|
std::vector<TParticle> visTaus; |
66 |
|
std::vector<TParticle> bQuarks; |
71 |
|
std::vector<TParticle> taus; |
72 |
|
std::vector<TParticle> chargedHadrons; |
73 |
|
std::vector<TParticle> neutralHadrons; |
74 |
< |
std::vector<fastjet::PseudoJet> jets; |
75 |
< |
std::vector<fastjet::PseudoJet> bJets; |
76 |
< |
std::vector<fastjet::PseudoJet> bJetsStdGeom; |
74 |
> |
std::vector<TLorentzVector> jets; |
75 |
> |
std::vector<TLorentzVector> bJets; |
76 |
> |
std::vector<TLorentzVector> bJetsStdGeom; |
77 |
|
|
78 |
|
TLorentzVector MET; |
79 |
|
TLorentzVector MHT; |
81 |
|
double ET; |
82 |
|
double HT; |
83 |
|
|
84 |
+ |
ClassDef (UltraFastSim, 1) |
85 |
|
}; |
86 |
|
|
87 |
|
#endif |