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
hitfit
Definition: Base_Constrainer.h:43
hitfit::LeptonTranslatorBase::resolution_
EtaDepResolution resolution_
The dependent resolution.
Definition: LeptonTranslatorBase.h:95
EtaDepResolution.h
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
hitfit::EtaDepResolution
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
Definition: EtaDepResolution.h:86
hitfit::LeptonTranslatorBase::LeptonTranslatorBase
LeptonTranslatorBase()
Default constructor.
hitfit::LeptonTranslatorBase::operator()
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...
hitfit::LeptonTranslatorBase::resolution
const EtaDepResolution & resolution() const
Return the dependent resolution of the lepton.
compare_using_db.ifile
ifile
Definition: compare_using_db.py:251
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
hitfit::LeptonTranslatorBase::~LeptonTranslatorBase
~LeptonTranslatorBase()
Destructor.
hitfit::LeptonTranslatorBase::CheckEta
bool CheckEta(const ALepton &lepton) const
Check if a lepton has value which is within the valid range of the resolution.
hitfit::LeptonTranslatorBase
Template class of function object to translate lepton physics object to HitFit's Lepjets_Event_Lep ob...
Definition: LeptonTranslatorBase.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
fourvec.h
Define three-vector and four-vector classes for the HitFit package, and supply a few additional opera...
Lepjets_Event_Lep.h
Represent a lepton in an instance of Lepjets_Event class.
hitfit::lepton_label
Definition: Lepjets_Event_Lep.h:52
hitfit::Lepjets_Event_Lep
Represent a lepton in an instance of Lepjets_Event class. This class hold the following information:
Definition: Lepjets_Event_Lep.h:64