#include <ParticleReplacerZtautau.h>
Classes | |
struct | MinVisPtCut |
struct | MinVisPtCutCombination |
Public Member Functions | |
virtual void | beginJob () |
virtual void | beginRun (edm::Run &, const edm::EventSetup &) |
virtual void | declareExtraProducts (MCParticleReplacer *) |
virtual void | endJob () |
ParticleReplacerZtautau (const edm::ParameterSet &) | |
virtual std::auto_ptr < HepMC::GenEvent > | produce (const std::vector< reco::Particle > &, const reco::Vertex *=0, const HepMC::GenEvent *=0, MCParticleReplacer *=0) |
~ParticleReplacerZtautau () | |
Public Member Functions inherited from ParticleReplacerBase | |
virtual void | endRun () |
ParticleReplacerBase (const edm::ParameterSet &) | |
virtual | ~ParticleReplacerBase () |
Private Member Functions | |
void | cleanEvent (HepMC::GenEvent *, HepMC::GenVertex *) |
HepMC::GenEvent * | processEventWithPythia (HepMC::GenEvent *) |
HepMC::GenEvent * | processEventWithTauola (HepMC::GenEvent *) |
bool | testEvent (HepMC::GenEvent *) |
void | transformMuMu2LepLep (CLHEP::HepRandomEngine &randomEngine, reco::Particle *, reco::Particle *) |
void | transformMuMu2TauNu (reco::Particle *, reco::Particle *) |
Private Attributes | |
bool | applyMuonRadiationCorrection_ |
double | beamEnergy_ |
std::string | generatorMode_ |
int | maxNumberOfAttempts_ |
std::vector < MinVisPtCutCombination > | minVisPtCuts_ |
int | motherParticleID_ |
GenMuonRadiationAlgorithm * | muonRadiationAlgo_ |
bool | printEvent_ |
gen::Pythia6Service | pythia_ |
double | rfRotationAngle_ |
int | targetParticle1AbsPdgID_ |
double | targetParticle1Mass_ |
int | targetParticle2AbsPdgID_ |
double | targetParticle2Mass_ |
gen::TauolaInterfaceBase * | tauola_ |
unsigned int | transformationMode_ |
bool | useExternalGenerators_ |
bool | useTauola_ |
bool | useTauolaPolarization_ |
Static Private Attributes | |
static bool | tauola_isInitialized_ = false |
Additional Inherited Members | |
Public Attributes inherited from ParticleReplacerBase | |
unsigned int | passed_ |
unsigned int | tried_ |
Protected Attributes inherited from ParticleReplacerBase | |
const double | tauMass_ |
int | verbosity_ |
Auxiliary class to replace muons reconstructed in selected Z –> mu+ mu- events by generator level particles, which will be passed to detector simulation & reconstruction modules to create "hybrid" events ("embedded" leptons from Monte Carlo simulation, rest of the event taken from data)
Per default, the reconstructed muons are replaced by generator level tau leptons, which are passed to TAUOLA in order to produce generator level tau decay products.
For systematic/background studies, it is possible also to:
Definition at line 40 of file ParticleReplacerZtautau.h.
|
explicit |
Definition at line 43 of file ParticleReplacerZtautau.cc.
References edm::ParameterSet::addParameter(), applyMuonRadiationCorrection_, beamEnergy_, gather_cfg::cout, GOODCOLL_filter_cfg::cut, ParticleReplacerZtautau::MinVisPtCutCombination::cut_string_, ParticleReplacerZtautau::MinVisPtCutCombination::cuts_, edm::hlt::Exception, edm::ParameterSet::exists(), generatorMode_, reco::get(), edm::ParameterSet::getParameter(), ParticleReplacerZtautau::MinVisPtCut::index_, ParticleReplacerZtautau::MinVisPtCut::kELEC, ParticleReplacerZtautau::MinVisPtCut::kHAD, ParticleReplacerZtautau::MinVisPtCut::kMU, ParticleReplacerZtautau::MinVisPtCut::kTAU, maxNumberOfAttempts_, minVisPtCuts_, motherParticleID_, muonRadiationAlgo_, NULL, Pi, rfRotationAngle_, cmsHarvester::sep, AlCaHLTBitMon_QueryRunRegistry::string, tauola_, ParticleReplacerZtautau::MinVisPtCut::threshold_, transformationMode_, ParticleReplacerZtautau::MinVisPtCut::type_, and ParticleReplacerBase::verbosity_.
ParticleReplacerZtautau::~ParticleReplacerZtautau | ( | ) |
Definition at line 162 of file ParticleReplacerZtautau.cc.
References muonRadiationAlgo_.
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 173 of file ParticleReplacerZtautau.cc.
References pythia_, and gen::Pythia6Service::setGeneralParams().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 698 of file ParticleReplacerZtautau.cc.
References gather_cfg::cout, gen::TauolaInterfaceBase::init(), tauola_, and tauola_isInitialized_.
|
private |
Definition at line 825 of file ParticleReplacerZtautau.cc.
References repairBarcodes().
Referenced by produce().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 167 of file ParticleReplacerZtautau.cc.
References MCParticleReplacer::call_produces().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 707 of file ParticleReplacerZtautau.cc.
References gen::TauolaInterfaceBase::statistics(), and tauola_.
|
private |
|
private |
|
virtual |
Implements ParticleReplacerBase.
Definition at line 233 of file ParticleReplacerZtautau.cc.
References funct::abs(), applyMuonRadiationCorrection_, beamEnergy_, MCParticleReplacer::call_put(), call_pyexec(), reco::Particle::charge(), cleanEvent(), GenMuonRadiationAlgorithm::compFSR(), conv, gather_cfg::cout, gen::TauolaInterfaceBase::decay(), decayRandomEngine, deltaR(), alignCSCRings::e, electronMass, edm::hlt::Exception, generatorMode_, configurableAnalysis::GenParticle, edm::RandomNumberGenerator::getEngine(), MCParticleReplacer::getStreamID(), customizeTrackingMonitorSeedNumber::idx, edm::Service< T >::isAvailable(), maxNumberOfAttempts_, motherParticleID_, metsig::muon, muonMass, muonRadiationAlgo_, reco::Particle::p4(), ParticleReplacerBase::passed_, reco::Particle::pdgId(), protonMass, reco::Particle::px(), reco::Particle::py(), pythia_, reco::Particle::pz(), repairBarcodes(), gen::TauolaInterfaceBase::setRandomEngine(), reco::Particle::setStatus(), mathSSE::sqrt(), Clusterizer1DCommons::square(), targetParticle1AbsPdgID_, targetParticle1Mass_, targetParticle2AbsPdgID_, targetParticle2Mass_, tauMass, tauola_, testEvent(), transformationMode_, transformMuMu2LepLep(), transformMuMu2TauNu(), ParticleReplacerBase::tried_, ParticleReplacerBase::verbosity_, and reco::Particle::vertex().
|
private |
Definition at line 712 of file ParticleReplacerZtautau.cc.
References funct::abs(), runEdmFileComparison::collection, gather_cfg::cout, GOODCOLL_filter_cfg::cut, configurableAnalysis::GenParticle, ParticleReplacerZtautau::MinVisPtCut::kELEC, ParticleReplacerZtautau::MinVisPtCut::kHAD, ParticleReplacerZtautau::MinVisPtCut::kMU, ParticleReplacerZtautau::MinVisPtCut::kTAU, minVisPtCuts_, python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, and ParticleReplacerBase::verbosity_.
Referenced by produce().
|
private |
Definition at line 887 of file ParticleReplacerZtautau.cc.
References funct::abs(), gather_cfg::cout, alignCSCRings::e, reco::Particle::p4(), reco::Particle::pdgId(), Pi, reco::print(), RecoTauCleanerPlugins::pt, rfRotationAngle_, svgfig::rotate(), reco::Particle::setP4(), reco::Particle::setPdgId(), reco::Particle::setStatus(), mathSSE::sqrt(), Clusterizer1DCommons::square(), targetParticle1AbsPdgID_, targetParticle1Mass_, targetParticle2AbsPdgID_, targetParticle2Mass_, and ParticleReplacerBase::verbosity_.
Referenced by produce().
|
private |
Definition at line 980 of file ParticleReplacerZtautau.cc.
References funct::abs(), breitWignerWidthW, breitWignerWidthZ, alignCSCRings::e, nomMassW, nomMassZ, reco::Particle::p4(), reco::Particle::pdgId(), phi, RecoTauCleanerPlugins::pt, reco::Particle::setP4(), reco::Particle::setPdgId(), reco::Particle::setStatus(), mathSSE::sqrt(), Clusterizer1DCommons::square(), targetParticle1AbsPdgID_, targetParticle1Mass_, targetParticle2AbsPdgID_, targetParticle2Mass_, and theta().
Referenced by produce().
|
private |
Definition at line 89 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 65 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 64 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 134 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 127 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and testEvent().
|
private |
Definition at line 75 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 90 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), produce(), and ~ParticleReplacerZtautau().
|
private |
Definition at line 94 of file ParticleReplacerZtautau.h.
|
private |
Definition at line 92 of file ParticleReplacerZtautau.h.
Referenced by beginJob(), and produce().
|
private |
Definition at line 79 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and transformMuMu2LepLep().
|
private |
Definition at line 130 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
private |
Definition at line 129 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
private |
Definition at line 132 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
private |
Definition at line 131 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
private |
Definition at line 83 of file ParticleReplacerZtautau.h.
Referenced by beginRun(), endJob(), ParticleReplacerZtautau(), and produce().
|
staticprivate |
Definition at line 87 of file ParticleReplacerZtautau.h.
Referenced by beginRun().
|
private |
Definition at line 73 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 76 of file ParticleReplacerZtautau.h.
|
private |
Definition at line 77 of file ParticleReplacerZtautau.h.
|
private |
Definition at line 78 of file ParticleReplacerZtautau.h.