#include <ParticleReplacerParticleGun.h>
Public Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
ParticleReplacerParticleGun (const edm::ParameterSet &) | |
std::auto_ptr< HepMC::GenEvent > | produce (const std::vector< reco::Particle > &, const reco::Vertex *=0, const HepMC::GenEvent *=0, MCParticleReplacer *=0) |
virtual | ~ParticleReplacerParticleGun () |
Public Member Functions inherited from ParticleReplacerBase | |
virtual void | beginRun (edm::Run &run, const edm::EventSetup &es) |
virtual void | declareExtraProducts (MCParticleReplacer *) |
virtual void | endRun () |
ParticleReplacerBase (const edm::ParameterSet &) | |
virtual | ~ParticleReplacerBase () |
Private Member Functions | |
void | correctTauMass (const std::vector< reco::Particle > &, std::vector< HepMC::FourVector > &) |
void | forceTauolaTauDecays () |
float | randomPolarization () |
float | tauHelicity (int) |
void | tauola_forParticleGun (int, int, const HepMC::FourVector &) |
Private Attributes | |
std::string | forceTauDecay_ |
int | forceTauMinusHelicity_ |
int | forceTauPlusHelicity_ |
std::string | forceTauPolarization_ |
std::string | generatorMode_ |
int | gunParticle_ |
std::string | particleOrigin_ |
float | pol1_ [4] |
float | pol2_ [4] |
gen::Pythia6Service | pythia_ |
gen::TauolaInterfaceBase * | tauola_ |
Additional Inherited Members | |
Public Attributes inherited from ParticleReplacerBase | |
unsigned int | passed_ |
unsigned int | tried_ |
Protected Attributes inherited from ParticleReplacerBase | |
const double | tauMass_ |
int | verbosity_ |
Particle gun replacer algorithm
Definition at line 25 of file ParticleReplacerParticleGun.h.
|
explicit |
Definition at line 14 of file ParticleReplacerParticleGun.cc.
References Exception, forceTauDecay_, forceTauMinusHelicity_, forceTauPlusHelicity_, forceTauPolarization_, generatorMode_, reco::get(), edm::ParameterSet::getParameter(), NULL, pol1_, pol2_, and tauola_.
|
inlinevirtual |
Definition at line 29 of file ParticleReplacerParticleGun.h.
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 51 of file ParticleReplacerParticleGun.cc.
References funct::abs(), gunParticle_, pythia_, and gen::Pythia6Service::setGeneralParams().
|
private |
Definition at line 225 of file ParticleReplacerParticleGun.cc.
References funct::abs(), gunParticle_, mathSSE::sqrt(), and tauMass.
Referenced by produce().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 64 of file ParticleReplacerParticleGun.cc.
References funct::abs(), and gunParticle_.
|
private |
Definition at line 245 of file ParticleReplacerParticleGun.cc.
References forceTauDecay_.
Referenced by produce().
|
virtual |
Implements ParticleReplacerBase.
Definition at line 73 of file ParticleReplacerParticleGun.cc.
References funct::abs(), call_py1ent(), call_pyexec(), gen::call_pylist(), RecoTauCleanerPlugins::charge, conv, correctTauMass(), gather_cfg::cout, Exception, forceTauolaTauDecays(), gunParticle_, i, metsig::muon, particleOrigin_, pi, point, pythia_, edm::shift, lumiQTWidget::t, tauola_forParticleGun(), ParticleReplacerBase::verbosity_, reco::Particle::vx(), reco::Particle::vy(), reco::Particle::vz(), reco::Vertex::x(), x(), detailsBasic3DVector::y, reco::Vertex::y(), detailsBasic3DVector::z, and reco::Vertex::z().
|
private |
Definition at line 415 of file ParticleReplacerParticleGun.cc.
References rand().
Referenced by tauHelicity().
|
private |
Definition at line 367 of file ParticleReplacerParticleGun.cc.
References forceTauMinusHelicity_, forceTauPlusHelicity_, forceTauPolarization_, pol1_, pol2_, and randomPolarization().
Referenced by tauola_forParticleGun().
|
private |
Definition at line 294 of file ParticleReplacerParticleGun.cc.
References funct::abs(), pol1_, pol2_, and tauHelicity().
Referenced by produce().
|
private |
Definition at line 48 of file ParticleReplacerParticleGun.h.
Referenced by forceTauolaTauDecays(), and ParticleReplacerParticleGun().
|
private |
Definition at line 52 of file ParticleReplacerParticleGun.h.
Referenced by ParticleReplacerParticleGun(), and tauHelicity().
|
private |
Definition at line 51 of file ParticleReplacerParticleGun.h.
Referenced by ParticleReplacerParticleGun(), and tauHelicity().
|
private |
Definition at line 47 of file ParticleReplacerParticleGun.h.
Referenced by ParticleReplacerParticleGun(), and tauHelicity().
|
private |
Definition at line 49 of file ParticleReplacerParticleGun.h.
Referenced by ParticleReplacerParticleGun().
|
private |
Definition at line 50 of file ParticleReplacerParticleGun.h.
Referenced by beginJob(), correctTauMass(), endJob(), and produce().
|
private |
Definition at line 46 of file ParticleReplacerParticleGun.h.
Referenced by produce().
|
private |
Definition at line 54 of file ParticleReplacerParticleGun.h.
Referenced by ParticleReplacerParticleGun(), tauHelicity(), and tauola_forParticleGun().
|
private |
Definition at line 55 of file ParticleReplacerParticleGun.h.
Referenced by ParticleReplacerParticleGun(), tauHelicity(), and tauola_forParticleGun().
|
private |
Definition at line 44 of file ParticleReplacerParticleGun.h.
Referenced by beginJob(), and produce().
|
private |
Definition at line 43 of file ParticleReplacerParticleGun.h.
Referenced by ParticleReplacerParticleGun().