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 
28 
44  template <class ALepton>
46 
47 
48  public:
49 
54 
62 
67 
80  Lepjets_Event_Lep operator()(const ALepton& lepton,
82  bool useObjEmbRes = false);
83 
87  const EtaDepResolution& resolution() const;
88 
95  bool CheckEta(const ALepton& lepton) const;
96 
97 
98  private:
99 
104 
105  };
106 
107 } // namespace hitfit
108 
109 #endif // #ifndef HitFit_LeptonTranslatorBase_h
type
Definition: HCALResponse.h:21
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.
bool CheckEta(const ALepton &lepton) const
Check if a lepton has value which is within the valid range of the resolution.
const EtaDepResolution & resolution() const
Return the dependent resolution of the lepton.
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
EtaDepResolution resolution_
The dependent 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 ...
LeptonTranslatorBase()
Default constructor.
Template class of function object to translate lepton physics object to HitFit&#39;s Lepjets_Event_Lep ob...