CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
METTranslatorBase.h
Go to the documentation of this file.
1 //
2 //
3 // File : interface/METTranslatorBase.h
4 // Author : Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch>
5 // Purpose: Template class of function object to translate missing transverse
6 // energy physics object to HitFit's Fourvec object.
7 //
8 
24 #ifndef HitFit_METTranslatorBase_h
25 #define HitFit_METTranslatorBase_h
26 
29 
30 namespace hitfit {
31 
48  template <class AMet>
50  public:
55 
63 
68 
79  Fourvec operator()(const AMet& met, bool useObjEmbRes = false);
80 
92  Resolution KtResolution(const AMet& met, bool useObjEmbRes = false) const;
93 
104  Resolution METResolution(const AMet& met, bool useObjEmbRes = false) const;
105 
106  private:
111  };
112 
113 } // namespace hitfit
114 
115 #endif // #ifndef HitFit_METTranslatorBase_h
Template class of function object to translate missing transverse energy physics object to HitFit&#39;s F...
Fourvec operator()(const AMet &met, bool useObjEmbRes=false)
Convert a missing transverse energy object of type AMet into HitFit four-momentum object of type Four...
Define three-vector and four-vector classes for the HitFit package, and supply a few additional opera...
Calculate and represent resolution for a physical quantity.
Definition: Resolution.h:98
~METTranslatorBase()
Destructor.
Resolution KtResolution(const AMet &met, bool useObjEmbRes=false) const
Return the resolution corresponding to an instance of missing transverse energy object.
Resolution METResolution(const AMet &met, bool useObjEmbRes=false) const
Alias for KtResolution(AMet&amp; met)
METTranslatorBase()
Default constructor.
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
Definition: fourvec.h:55
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
Resolution resolution_
The resolution.