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

Comparing UserCode/MitAna/DataTree/interface/PixelHit.h (file contents):
Revision 1.2 by loizides, Mon Sep 28 14:15:34 2009 UTC vs.
Revision 1.3 by loizides, Thu Nov 5 10:30:29 2009 UTC

# Line 104 | Line 104 | namespace mithep
104        PixelHit(const ThreeVector &pos) :
105          fPosition(pos),  fType(0), fQuality(0), fCharge(0), fSize(0) {}
106  
107 +      UInt_t              Charge()             const          { return fCharge;       }
108        Bool_t              IsOnEdge()           const;
109        Bool_t              HasBadPixels()       const;
109      const ThreeVector   Position()           const          { return fPosition.V(); }
110        EObjType            ObjType()            const          { return kPixelHit;     }
111 +      const ThreeVector   Position()           const          { return fPosition.V(); }
112 +      UInt_t              Quality()            const          { return fQuality;      }
113        void                SetCharge(UInt_t u)                 { fCharge = u;          }
114        void                SetPosition(const ThreeVector &pos) { fPosition = pos;      }
115        void                SetPosition(Double_t x, Double_t y, Double_t z);
116        void                SetQuality(UInt_t u)                { fQuality = u;         }
117        void                SetType(Char_t t)                   { fType = t;            }
118        void                SetSize(UInt_t u)                   { fSize = u;            }
119 +      UInt_t              Size()               const          { return fSize;         }
120        Bool_t              SpansTwoROCs()       const;
121        EType               Type()               const
122                              { return static_cast<EType>(fType); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines