CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
32 
49  template <class AMet>
51 
52  public:
53 
58 
66 
71 
82  Fourvec operator() (const AMet& met,
83  bool useObjEmbRes = false);
84 
96  Resolution KtResolution(const AMet& met,
97  bool useObjEmbRes = false) const;
98 
109  Resolution METResolution(const AMet& met,
110  bool useObjEmbRes = false) const;
111 
112 
113  private:
114 
119 
120  };
121 
122 } // namespace hitfit
123 
124 #endif // #ifndef HitFit_METTranslatorBase_h
tuple met
____________________________________________________________________________||
Definition: CaloMET_cfi.py:7
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:102
~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:57
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
Resolution resolution_
The resolution.