CMS 3D CMS Logo

MassKinFitterCandCustomProducer.cc
Go to the documentation of this file.
1 /* \class MassKinFitterCandProducer
2  *
3  * \author Luca Lista, INFN
4  *
5  */
8 
10 public:
12  virtual ~CustomKinFitter() = default;
13 private:
14  virtual double errEt(double et, double eta) const { return 0.2; }
15  virtual double errEta(double et, double eta) const { return 0.2; }
16  virtual double errPhi(double et, double eta) const { return 0.2; }
17 };
18 
20 public:
22  MassKinFitterCandProducer(cfg, new CustomKinFitter(cfg.getParameter<double>("mass"))) { }
23 };
24 
26 
28 
virtual double errEt(double et, double eta) const
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
virtual ~CustomKinFitter()=default
virtual double errEta(double et, double eta) const
et
define resolution functions of each parameter
MassKinFitterCandCustomProducer(const edm::ParameterSet &cfg)
virtual double errPhi(double et, double eta) const