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.9 by dasu, Fri Feb 25 17:10:39 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 > 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;}
# Line 40 | Line 38 | public:
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;}
# Line 52 | Line 50 | public:
50  
51   private:
52  
55  UltraFastSim();
56
53    void clear();
54  
55    void makeJets();
60  void makeBJets();
56    void makeTaus();
57    void makeETSums();
58  
# Line 66 | Line 61 | private:
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;
# Line 81 | Line 71 | private:
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;
# Line 91 | Line 81 | private:
81    double ET;
82    double HT;
83  
84 +  ClassDef (UltraFastSim, 1)
85   };
86  
87   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines