Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
GeneratorInterface
TauolaInterface
interface
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
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
#include "
FWCore/Framework/interface/EDFilter.h
"
14
15
#include "
FWCore/Framework/interface/Event.h
"
16
#include "
FWCore/Framework/interface/Run.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
20
21
#include "CLHEP/Random/RandomEngine.h"
22
23
class
TauSpinnerFilter
:
public
edm::EDFilter
{
24
public
:
25
TauSpinnerFilter
(
const
edm::ParameterSet
&);
26
~TauSpinnerFilter
(){};
27
28
virtual
bool
filter
(
edm::Event
&
e
,
edm::EventSetup
const
& es);
29
void
setRandomEngine
(CLHEP::HepRandomEngine*
v
) {
fRandomEngine
=
v
; }
30
31
private
:
32
edm::InputTag
src_
;
33
CLHEP::HepRandomEngine*
fRandomEngine
;
34
double
ntaus_
;
35
edm::EDGetTokenT<double>
WTToken_
;
36
};
37
38
#endif
TauSpinnerFilter::src_
edm::InputTag src_
Definition:
TauSpinnerFilter.h:32
TauSpinnerFilter::ntaus_
double ntaus_
Definition:
TauSpinnerFilter.h:34
Event.h
TauSpinnerFilter
Definition:
TauSpinnerFilter.h:23
EventSetup.h
TauSpinnerFilter::TauSpinnerFilter
TauSpinnerFilter(const edm::ParameterSet &)
Definition:
TauSpinnerFilter.cc:9
TauSpinnerFilter::fRandomEngine
CLHEP::HepRandomEngine * fRandomEngine
Definition:
TauSpinnerFilter.h:33
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
edm::EDGetTokenT< double >
Frameworkfwd.h
ParameterSet.h
TauSpinnerFilter::filter
virtual bool filter(edm::Event &e, edm::EventSetup const &es)
Definition:
TauSpinnerFilter.cc:19
EDFilter.h
edm::EventSetup
Definition:
EventSetup.h:45
Run.h
TauSpinnerFilter::WTToken_
edm::EDGetTokenT< double > WTToken_
Definition:
TauSpinnerFilter.h:35
TauSpinnerFilter::setRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine *v)
Definition:
TauSpinnerFilter.h:29
edm::EDFilter
Definition:
EDFilter.h:37
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
LuminosityBlock.h
edm::InputTag
Definition:
InputTag.h:18
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:64
TauSpinnerFilter::~TauSpinnerFilter
~TauSpinnerFilter()
Definition:
TauSpinnerFilter.h:26
Generated for CMSSW Reference Manual by
1.8.5