CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TauSpinnerFilter.h
Go to the documentation of this file.
1 #ifndef Gen_TauolaInterface_TauSpinnerFilter_H
2 #define Gen_TauolaInterface_TauSpinnerFilter_H
3 
4 // I. M. Nugent
5 // Filter on TauSpinner polarization weights to make unweighted polarized MC
6 
7 
8 // system include files
9 #include <memory>
10 
11 // user include files
14 
20 
21 #include "CLHEP/Random/RandomEngine.h"
22 
24  public:
27 
28  virtual bool filter(edm::Event& e, edm::EventSetup const& es);
29  void setRandomEngine(CLHEP::HepRandomEngine* v) { fRandomEngine = v; }
30 
31  private:
33  CLHEP::HepRandomEngine* fRandomEngine;
34  double ntaus_;
36 };
37 
38 #endif
edm::InputTag src_
TauSpinnerFilter(const edm::ParameterSet &)
CLHEP::HepRandomEngine * fRandomEngine
virtual bool filter(edm::Event &e, edm::EventSetup const &es)
edm::EDGetTokenT< double > WTToken_
void setRandomEngine(CLHEP::HepRandomEngine *v)