CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
FSRWeightAlgo.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_Heppy_FSRWeightAlgo_h
2 #define PhysicsTools_Heppy_FSRWeightAlgo_h
3 
5 
6 namespace heppy {
7 
8  class FSRWeightAlgo {
9  public:
11  virtual ~FSRWeightAlgo() {}
12  void addGenParticle(const reco::GenParticle& gen) { genParticles_.push_back(gen); }
13  void clear() { genParticles_.clear(); }
14  double weight() const;
15 
16  private:
17  double alphaRatio(double) const;
18 
19  std::vector<reco::GenParticle> genParticles_;
20  };
21 } // namespace heppy
22 #endif
void addGenParticle(const reco::GenParticle &gen)
Definition: FSRWeightAlgo.h:12
double weight() const
std::vector< reco::GenParticle > genParticles_
Definition: FSRWeightAlgo.h:19
double alphaRatio(double) const
TAKEN FROM http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/ElectroWeakAnalysis/Utilities/src/PdfWeig...
Definition: AlphaT.h:16
virtual ~FSRWeightAlgo()
Definition: FSRWeightAlgo.h:11