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.6 by dasu, Sun Feb 20 02:01:27 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 < #include "TLorentzVector.h";
21 <
22 < 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 39 | 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    const TLorentzVector& getMET() {return MET;}
52    const TLorentzVector& getMHT() {return MHT;}
# Line 51 | Line 56 | public:
56  
57   private:
58  
54  UltraFastSim();
55
59    void clear();
60  
61    void makeJets();
59  void makeBJets();
62    void makeTaus();
63    void makeETSums();
64  
# Line 80 | 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;
# Line 90 | Line 92 | private:
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