ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/PileupEnergyDensity.h
(Generate patch)

Comparing UserCode/MitAna/DataTree/interface/PileupEnergyDensity.h (file contents):
Revision 1.2 by mzanetti, Wed Mar 23 19:03:46 2011 UTC vs.
Revision 1.3 by bendavid, Wed Jun 15 20:03:18 2011 UTC

# Line 18 | Line 18 | namespace mithep
18    class PileupEnergyDensity : public DataBase
19    {
20    public:
21 <    PileupEnergyDensity() : fRho(0), fRhoHighEta(0) {}
22 <    PileupEnergyDensity(Double_t r) : fRho(r), fRhoHighEta(0)  {}
23 <    PileupEnergyDensity(Double_t r, Double_t rHighEta) : fRho(r), fRhoHighEta(rHighEta)  {}
21 >    PileupEnergyDensity() : fRho(0), fRhoHighEta(0), fRhoRandom(0), fRhoRandomLowEta(0) {}
22      
23      Double_t  Rho()  const { return fRho; }
24 <    Double_t  RhoHighEta()  const { return fRhoHighEta; }
24 >    Double_t  RhoHighEta()  const { return fRho; }
25 >    Double_t  RhoLowEta()  const { return fRhoHighEta; }
26 >    Double_t  RhoRandom() const { return fRhoRandom; }
27 >    Double_t  RhoRandomLowEta() const { return fRhoRandomLowEta; }
28      
29      virtual PileupEnergyDensity  *MakeCopy()                 const { return new PileupEnergyDensity(*this);   }
30      
31      void      SetRho(Double_t r)   { fRho = r; }
32 <    void      SetRhoHighEta(Double_t r)   { fRhoHighEta = r; }
32 >    void      SetRhoLowEta(Double_t r)   { fRhoHighEta = r; }
33 >    void      SetRhoRandom(Double_t r)   { fRhoRandom = r; }
34 >    void      SetRhoRandomLowEta(Double_t r)   { fRhoRandomLowEta = r; }
35 >
36      
37    protected:
38      Double32_t          fRho;      //rho from fastjet algo
39      Double32_t          fRhoHighEta;      //rho from fastjet algo
40 +    Double32_t          fRhoRandom;      //rho from fastjet algo
41 +    Double32_t          fRhoRandomLowEta; //rho from fastjet algo
42 +
43      
44 <    ClassDef(PileupEnergyDensity, 1) // Pileup Energy Density class
44 >    ClassDef(PileupEnergyDensity, 2) // Pileup Energy Density class
45        };
46   }
47   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines