ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LJMet/Fix/interface/Muon.h
(Generate patch)

Comparing UserCode/LJMet/Fix/interface/Muon.h (file contents):
Revision 1.1 by kukartse, Fri Sep 10 00:19:24 2010 UTC vs.
Revision 1.2 by kukartse, Mon Sep 13 23:25:31 2010 UTC

# Line 147 | Line 147 | namespace pat {
147        /// global tracks. If the global track is present these should
148        /// not be set, but the "getters" will return the appropriate
149        /// value. The exception is dB which requires the beamline
150 <      /// as external input.
151 <
152 <        // FIXME: modified by Gena Kukartsev
153 <        // embed various impact parameters with errors
150 >      //  as external input.
151 >        
152 >        // ---- embed various impact parameters with errors ----
153          //
154          // example:
155          //
# Line 173 | Line 172 | namespace pat {
172            {
173              None = 0, PV2D = 1, PV3D = 2, BS2D = 3, BS3D = 4
174            } IpType;
175 <        void init(void); // init defaults in a constructor
175 >        void initImpactParameters(void); // init IP defaults in a constructor
176          double dB(IpType type = None) const;
177          double edB(IpType type = None) const;
178          void   setDB ( double dB, double edB, IpType type = None )
# Line 238 | Line 237 | namespace pat {
237        bool    cachedNormChi2_;         /// has the normalized chi2 been cached?
238        bool    cachedDB_;               /// has the dB been cached?
239  
241        // FIXME: added by Gena Kukartsev
242      bool    cachedIP_[5];            /// has the IP (former dB) been cached?
243
240        bool    cachedNumberOfValidHits_;/// has the numberOfValidHits been cached?
241        double  normChi2_;               /// globalTrack->chi2() / globalTrack->ndof()
242        double  dB_;                     /// dB and edB are the impact parameter at the primary vertex,
243 <      double  edB_;                    /// and its uncertainty as recommended by the tracking group
243 >      double  edB_;                    // and its uncertainty as recommended by the tracking group
244  
245 <        // FIXME: added by Gena Kukartsev
246 <      double  ip_[5];                  /// dB and edB are the impact parameter at the primary vertex,
247 <      double  eip_[5];                 /// and its uncertainty as recommended by the tracking group
245 >      // ---- cached impact parameters ----
246 >      std::vector<bool>    cachedIP_;  // has the IP (former dB) been cached?
247 >      std::vector<double>  ip_;        // dB and edB are the impact parameter at the primary vertex,
248 >      std::vector<double>  eip_;       // and its uncertainty as recommended by the tracking group
249  
250        unsigned int  numberOfValidHits_;/// globalTrack->numberOfValidHits()
251  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines