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.5 by dasu, Thu Feb 17 14:57:43 2011 UTC vs.
Revision 1.8 by dasu, Fri Feb 25 15:37:18 2011 UTC

# Line 14 | Line 14 | namespace fastjet {
14    class ClusterSequence;
15   }
16  
17 < #include "fastjet/PseudoJet.hh";
17 > #include "TObject.h"
18 > #include "TParticle.h"
19 > #include "TLorentzVector.h"
20  
21 < #include "TParticle.h";
20 <
21 < class UltraFastSim {
21 > class UltraFastSim : public TObject {
22  
23   public:
24  
25 +  UltraFastSim() {
26 +    rndmPtr = 0;
27 +    jetDefPtr = 0;
28 +    cs = 0;
29 +  }
30 +
31    UltraFastSim(Pythia8::Rndm *r);
32  
33    virtual ~UltraFastSim() {;}
# Line 38 | Line 44 | public:
44    const std::vector<TParticle>& tauList() {return taus;}
45    const std::vector<TParticle>& chargedHadronList() {return chargedHadrons;}
46    const std::vector<TParticle>& neutralHadronList() {return neutralHadrons;}
47 <  const std::vector<fastjet::PseudoJet>& jetList() {return jets;}
48 <  const std::vector<fastjet::PseudoJet>& bJetList() {return bJets;}
49 <  const std::vector<fastjet::PseudoJet>& bJetListStdGeom() {return bJetsStdGeom;}
47 >  const std::vector<TLorentzVector>& jetList() {return jets;}
48 >  const std::vector<TLorentzVector>& bJetList() {return bJets;}
49 >  const std::vector<TLorentzVector>& bJetListStdGeom() {return bJetsStdGeom;}
50  
51 < private:
51 >  const TLorentzVector& getMET() {return MET;}
52 >  const TLorentzVector& getMHT() {return MHT;}
53  
54 <  UltraFastSim();
54 >  const double getET() {return ET;}
55 >  const double getHT() {return HT;}
56 >
57 > private:
58  
59    void clear();
60  
61    void makeJets();
52  void makeBJets();
62    void makeTaus();
63 +  void makeETSums();
64  
65    void setCommon(Pythia8::Particle& particle, TParticle& smearedParticle);
66    void tkSmear(Pythia8::Particle& particle, TParticle& smearedParticle);
# Line 72 | Line 82 | private:
82    std::vector<TParticle> taus;
83    std::vector<TParticle> chargedHadrons;
84    std::vector<TParticle> neutralHadrons;
85 <  std::vector<fastjet::PseudoJet> jets;
86 <  std::vector<fastjet::PseudoJet> bJets;
87 <  std::vector<fastjet::PseudoJet> bJetsStdGeom;
85 >  std::vector<TLorentzVector> jets;
86 >  std::vector<TLorentzVector> bJets;
87 >  std::vector<TLorentzVector> bJetsStdGeom;
88 >
89 >  TLorentzVector MET;
90 >  TLorentzVector MHT;
91 >
92 >  double ET;
93 >  double HT;
94  
95 +  ClassDef (UltraFastSim, 1)
96   };
97  
98   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines