CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MassKinFitterCandCustomProducer.cc
Go to the documentation of this file.
1 /* \class MassKinFitterCandProducer
2  *
3  * \author Luca Lista, INFN
4  *
5  */
8 
10 public:
11  CustomKinFitter(double mass) : CandMassKinFitter(mass) { }
12 private:
13  virtual double errEt(double et, double eta) const { return 0.2; }
14  virtual double errEta(double et, double eta) const { return 0.2; }
15  virtual double errPhi(double et, double eta) const { return 0.2; }
16 };
17 
19 public:
21  MassKinFitterCandProducer(cfg, new CustomKinFitter(cfg.getParameter<double>("mass"))) { }
22 };
23 
25 
27 
virtual double errEt(double et, double eta) const
tuple cfg
Definition: looper.py:293
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
virtual double errEta(double et, double eta) const
MassKinFitterCandCustomProducer(const edm::ParameterSet &cfg)
virtual double errPhi(double et, double eta) const