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.1 by mzanetti, Tue Mar 1 14:23:05 2011 UTC vs.
Revision 1.4 by bendavid, Sat Oct 8 17:53:57 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines