CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
10  public:
12  virtual ~FSRWeightAlgo() {}
13  void addGenParticle(const reco::GenParticle& gen) {genParticles_.push_back(gen);}
14  void clear() {genParticles_.clear();}
15  double weight() const;
16 
17  private:
18  double alphaRatio(double) const;
19 
20  std::vector< reco::GenParticle > genParticles_;
21  };
22 }
23 #endif
void addGenParticle(const reco::GenParticle &gen)
Definition: FSRWeightAlgo.h:13
double weight() const
def gen
run2 Cosmic #### Run 256259 @ 0T 2015C### Run 272133 @ 3.8T 2016B###
std::vector< reco::GenParticle > genParticles_
Definition: FSRWeightAlgo.h:20
double alphaRatio(double) const
virtual ~FSRWeightAlgo()
Definition: FSRWeightAlgo.h:12