ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/dasu/UltraFastSim/UltraFastSim.h
(Generate patch)

Comparing UserCode/dasu/UltraFastSim/UltraFastSim.h (file contents):
Revision 1.7 by jindal, Thu Feb 24 20:49:04 2011 UTC vs.
Revision 1.12 by dasu, Thu Jun 16 04:18:44 2011 UTC

# Line 14 | Line 14 | namespace fastjet {
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 > #include "EventData.h"
22 >
23 > class UltraFastSim : public EventData {
24  
25   public:
26  
27 <  UltraFastSim(Pythia8::Rndm *r);
27 >  UltraFastSim() {;}
28  
29    virtual ~UltraFastSim() {;}
30  
31 <  bool run(Pythia8::Event &event);
32 <
33 <  const std::vector<TParticle>& genTauList() {return genTaus;}
34 <  const std::vector<TParticle>& visTauList() {return visTaus;}
35 <  const std::vector<TParticle>& bQuarkList() {return bQuarks;}
36 <  const std::vector<TParticle>& cQuarkList() {return cQuarks;}
37 <  const std::vector<TParticle>& photonList() {return photons;}
38 <  const std::vector<TParticle>& electronList() {return electrons;}
39 <  const std::vector<TParticle>& muonList() {return muons;}
40 <  const std::vector<TParticle>& tauList() {return taus;}
41 <  const std::vector<TParticle>& chargedHadronList() {return chargedHadrons;}
42 <  const std::vector<TParticle>& neutralHadronList() {return neutralHadrons;}
43 <  const std::vector<fastjet::PseudoJet>& jetList() {return jets;}
44 <  const std::vector<fastjet::PseudoJet>& bJetList() {return bJets;}
45 <  const std::vector<fastjet::PseudoJet>& bJetListStdGeom() {return bJetsStdGeom;}
46 <
47 <  const TLorentzVector& getMET() {return MET;}
48 <  const TLorentzVector& getMHT() {return MHT;}
49 <
50 <  const double getET() {return ET;}
51 <  const double getHT() {return HT;}
31 >  bool run(Pythia8::Event &event, Pythia8::Rndm *r);
32  
33   private:
34  
55  UltraFastSim();
56
35    void clear();
36  
37    void makeJets();
60  void makeBJets();
38    void makeTaus();
39    void makeETSums();
40  
# Line 66 | Line 43 | private:
43    void emSmear(Pythia8::Particle& particle, TParticle& smearedParticle);
44    void hdSmear(Pythia8::Particle& particle, TParticle& smearedParticle);
45  
69  Pythia8::Rndm* rndmPtr;
70
71  fastjet::JetDefinition* jetDefPtr;
72  fastjet::ClusterSequence* cs;
73
74  std::vector<TParticle> genTaus;
75  std::vector<TParticle> visTaus;
76  std::vector<TParticle> bQuarks;
77  std::vector<TParticle> cQuarks;
78  std::vector<TParticle> photons;
79  std::vector<TParticle> electrons;
80  std::vector<TParticle> muons;
81  std::vector<TParticle> taus;
82  std::vector<TParticle> chargedHadrons;
83  std::vector<TParticle> neutralHadrons;
84  std::vector<fastjet::PseudoJet> jets;
85  std::vector<fastjet::PseudoJet> bJets;
86  std::vector<fastjet::PseudoJet> bJetsStdGeom;
87
88  TLorentzVector MET;
89  TLorentzVector MHT;
90
91  double ET;
92  double HT;
93
46   };
47  
48   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines