#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_ |
bool | rfMirror_ |
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_, ztail::d, 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, rfMirror_, rfRotationAngle_, cmsHarvester::sep, AlCaHLTBitMon_QueryRunRegistry::string, tauola_, ParticleReplacerZtautau::MinVisPtCut::threshold_, transformationMode_, ParticleReplacerZtautau::MinVisPtCut::type_, and ParticleReplacerBase::verbosity_.
ParticleReplacerZtautau::~ParticleReplacerZtautau | ( | ) |
Definition at line 163 of file ParticleReplacerZtautau.cc.
References muonRadiationAlgo_.
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 174 of file ParticleReplacerZtautau.cc.
References pythia_, and gen::Pythia6Service::setGeneralParams().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 699 of file ParticleReplacerZtautau.cc.
References gather_cfg::cout, gen::TauolaInterfaceBase::init(), tauola_, and tauola_isInitialized_.
|
private |
Definition at line 826 of file ParticleReplacerZtautau.cc.
References repairBarcodes().
Referenced by produce().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 168 of file ParticleReplacerZtautau.cc.
References MCParticleReplacer::call_produces().
|
virtual |
Reimplemented from ParticleReplacerBase.
Definition at line 708 of file ParticleReplacerZtautau.cc.
References gen::TauolaInterfaceBase::statistics(), and tauola_.
|
private |
|
private |
|
virtual |
Implements ParticleReplacerBase.
Definition at line 234 of file ParticleReplacerZtautau.cc.
References funct::abs(), applyMuonRadiationCorrection_, assert(), beamEnergy_, MCParticleReplacer::call_put(), call_pyexec(), reco::Particle::charge(), cleanEvent(), GenMuonRadiationAlgorithm::compFSR(), conv, gather_cfg::cout, gen::TauolaInterfaceBase::decay(), decayRandomEngine, deltaR(), alignCSCRings::e, electronMass, Exception, generatorMode_, GenParticle::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 713 of file ParticleReplacerZtautau.cc.
References funct::abs(), assert(), universalConfigTemplate::collection, gather_cfg::cout, GOODCOLL_filter_cfg::cut, GenParticle::GenParticle, ParticleReplacerZtautau::MinVisPtCut::kELEC, ParticleReplacerZtautau::MinVisPtCut::kHAD, ParticleReplacerZtautau::MinVisPtCut::kMU, ParticleReplacerZtautau::MinVisPtCut::kTAU, minVisPtCuts_, AlCaHLTBitMon_QueryRunRegistry::string, and ParticleReplacerBase::verbosity_.
Referenced by produce().
|
private |
Definition at line 912 of file ParticleReplacerZtautau.cc.
References funct::abs(), beamEnergy_, gather_cfg::cout, alignCSCRings::e, ResonanceBuilder::mass, reco::Particle::p4(), reco::Particle::pdgId(), Pi, reco::print(), protonMass, EnergyCorrector::pt, rfMirror_, 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 1015 of file ParticleReplacerZtautau.cc.
References funct::abs(), assert(), breitWignerWidthW, breitWignerWidthZ, alignCSCRings::e, ResonanceBuilder::mass, nomMassW, nomMassZ, reco::Particle::p4(), reco::Particle::pdgId(), phi, EnergyCorrector::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 91 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 65 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), produce(), and transformMuMu2LepLep().
|
private |
Definition at line 64 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 136 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and produce().
|
private |
Definition at line 129 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 92 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), produce(), and ~ParticleReplacerZtautau().
|
private |
Definition at line 96 of file ParticleReplacerZtautau.h.
|
private |
Definition at line 94 of file ParticleReplacerZtautau.h.
Referenced by beginJob(), and produce().
|
private |
Definition at line 82 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and transformMuMu2LepLep().
|
private |
Definition at line 79 of file ParticleReplacerZtautau.h.
Referenced by ParticleReplacerZtautau(), and transformMuMu2LepLep().
|
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 134 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
private |
Definition at line 133 of file ParticleReplacerZtautau.h.
Referenced by produce(), transformMuMu2LepLep(), and transformMuMu2TauNu().
|
private |
Definition at line 85 of file ParticleReplacerZtautau.h.
Referenced by beginRun(), endJob(), ParticleReplacerZtautau(), and produce().
|
staticprivate |
Definition at line 89 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.