#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 (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::TauolaInterface * | 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 38 of file ParticleReplacerZtautau.h.
|
explicit |
Definition at line 46 of file ParticleReplacerZtautau.cc.
References edm::ParameterSet::addParameter(), applyMuonRadiationCorrection_, beamEnergy_, gather_cfg::cout, GOODCOLL_filter_cfg::cut, ParticleReplacerZtautau::MinVisPtCutCombination::cut_string_, ParticleReplacerZtautau::MinVisPtCutCombination::cuts_, decayRandomEngine, edm::hlt::Exception, edm::ParameterSet::exists(), generatorMode_, edm::RandomNumberGenerator::getEngine(), edm::ParameterSet::getParameter(), ParticleReplacerZtautau::MinVisPtCut::index_, edm::Service< T >::isAvailable(), ParticleReplacerZtautau::MinVisPtCut::kELEC, ParticleReplacerZtautau::MinVisPtCut::kHAD, ParticleReplacerZtautau::MinVisPtCut::kMU, ParticleReplacerZtautau::MinVisPtCut::kTAU, maxNumberOfAttempts_, minVisPtCuts_, motherParticleID_, muonRadiationAlgo_, NULL, Pi, rfRotationAngle_, gen::TauolaInterface::setPSet(), AlCaHLTBitMon_QueryRunRegistry::string, tauola_, ParticleReplacerZtautau::MinVisPtCut::threshold_, transformationMode_, ParticleReplacerZtautau::MinVisPtCut::type_, and ParticleReplacerBase::verbosity_.
ParticleReplacerZtautau::~ParticleReplacerZtautau | ( | ) |
Definition at line 174 of file ParticleReplacerZtautau.cc.
References muonRadiationAlgo_.
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 185 of file ParticleReplacerZtautau.cc.
References pythia_, and gen::Pythia6Service::setGeneralParams().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 700 of file ParticleReplacerZtautau.cc.
References gather_cfg::cout, gen::TauolaInterface::init(), tauola_, and tauola_isInitialized_.
|
private |
Definition at line 827 of file ParticleReplacerZtautau.cc.
References repairBarcodes().
Referenced by produce().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 179 of file ParticleReplacerZtautau.cc.
References MCParticleReplacer::call_produces().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 709 of file ParticleReplacerZtautau.cc.
References gen::TauolaInterface::statistics(), and tauola_.
|
private |
|
private |
|
virtual |
Implements ParticleReplacerBase.
Definition at line 245 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::TauolaInterface::decay(), deltaR(), alignCSCRings::e, electronMass, edm::hlt::Exception, generatorMode_, configurableAnalysis::GenParticle, customizeTrackingMonitorSeedNumber::idx, 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(), 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 714 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 889 of file ParticleReplacerZtautau.cc.
References funct::abs(), gather_cfg::cout, decayRandomEngine, 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 982 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 87 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 63 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 62 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 132 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 125 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and testEvent().
|
private |
Definition at line 73 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 88 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), produce(), and ~ParticleReplacerZtautau().
|
private |
Definition at line 92 of file ParticleReplacerZtautau.h.
|
private |
Definition at line 90 of file ParticleReplacerZtautau.h.
Referenced by beginJob(), and produce().
|
private |
Definition at line 77 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and transformMuMu2LepLep().
|
private |
Definition at line 128 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
private |
Definition at line 127 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
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 81 of file ParticleReplacerZtautau.h.
Referenced by beginRun(), endJob(), ParticleReplacerZtautau(), and produce().
|
staticprivate |
Definition at line 85 of file ParticleReplacerZtautau.h.
Referenced by beginRun().
|
private |
Definition at line 71 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 74 of file ParticleReplacerZtautau.h.
|
private |
Definition at line 75 of file ParticleReplacerZtautau.h.
|
private |
Definition at line 76 of file ParticleReplacerZtautau.h.