CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LeptonTranslatorBase.h
Go to the documentation of this file.
1 //
2 // $Id: LeptonTranslatorBase.h,v 1.1 2011/05/26 09:46:53 mseidel Exp $
3 //
4 
20 #ifndef HitFit_LeptonTranslatorBase_h
21 #define HitFit_LeptonTranslatorBase_h
22 
26 
27 namespace hitfit{
28 
29 
45  template <class ALepton>
47 
48 
49  public:
50 
55 
62  LeptonTranslatorBase(const std::string& ifile);
63 
68 
81  Lepjets_Event_Lep operator()(const ALepton& lepton,
83  bool useObjEmbRes = false);
84 
88  const EtaDepResolution& resolution() const;
89 
96  bool CheckEta(const ALepton& lepton) const;
97 
98 
99  private:
100 
105 
106  };
107 
108 } // namespace hitfit
109 
110 #endif // #ifndef HitFit_LeptonTranslatorBase_h
type
Definition: HCALResponse.h:22
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...