29 std::string CMSSW_BASE(getenv(
"CMSSW_BASE"));
30 std::string resolution_filename = CMSSW_BASE +
31 std::string(
"/src/TopQuarkAnalysis/PatHitFit/data/exampleMuonResolution.txt");
41 std::string CMSSW_BASE(getenv(
"CMSSW_BASE"));
42 std::string resolution_filename;
45 resolution_filename = CMSSW_BASE +
46 std::string(
"/src/TopQuarkAnalysis/PatHitFit/data/exampleMuonResolution.txt");
48 resolution_filename =
ifile ;
71 double muon_eta = lepton.
eta();
Represent a lepton in an instance of Lepjets_Event class. This class hold the following information: ...
bool CheckEta(const ALepton &lepton) const
Check if a lepton has value which is within the valid range of the resolution.
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
virtual double eta() const
momentum pseudorapidity
virtual double energy() const
energy
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
virtual double px() const
x coordinate of momentum vector
Template class of function object to translate lepton physics object to HitFit's Lepjets_Event_Lep ob...
virtual double pz() const
z coordinate of momentum vector
LeptonTranslatorBase()
Default constructor.
Calculate and represent resolution for a vector of , pseudorapidity , and azimuthal angle ...
Template class of function object to translate lepton physics object to HitFit's Lepjets_Event_Lep ob...
Analysis-level muon class.
virtual double py() const
y coordinate of momentum vector