CMS 3D CMS Logo

LeptonTranslatorBase.h
Go to the documentation of this file.
1 //
2 //
3 
19 #ifndef HitFit_LeptonTranslatorBase_h
20 #define HitFit_LeptonTranslatorBase_h
21 
25 
26 namespace hitfit {
27 
43  template <class ALepton>
45  public:
50 
58 
63 
76  Lepjets_Event_Lep operator()(const ALepton& lepton, int type = hitfit::lepton_label, bool useObjEmbRes = false);
77 
81  const EtaDepResolution& resolution() const;
82 
89  bool CheckEta(const ALepton& lepton) const;
90 
91  private:
96  };
97 
98 } // namespace hitfit
99 
100 #endif // #ifndef HitFit_LeptonTranslatorBase_h
Represent a lepton in an instance of Lepjets_Event class. This class hold the following information: ...
Define three-vector and four-vector classes for the HitFit package, and supply a few additional opera...
Lepjets_Event_Lep operator()(const ALepton &lepton, int type=hitfit::lepton_label, bool useObjEmbRes=false)
Convert a lepton physics object of type ALepton into HitFit lepton physics object of type Lepjets_Eve...
~LeptonTranslatorBase()
Destructor.
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
EtaDepResolution resolution_
The dependent resolution.
bool CheckEta(const ALepton &lepton) const
Check if a lepton has value which is within the valid range of the resolution.
Represent a lepton in an instance of Lepjets_Event class.
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
const EtaDepResolution & resolution() const
Return the dependent resolution of the lepton.
LeptonTranslatorBase()
Default constructor.
Template class of function object to translate lepton physics object to HitFit&#39;s Lepjets_Event_Lep ob...