#include <PhotosInterface.h>
Public Member Functions | |
HepMC::GenEvent * | apply (HepMC::GenEvent *) override |
void | avoidTauLeptonicDecays () override |
void | configureOnlyFor (int) override |
void | init () override |
bool | isTauLeptonicDecay (HepMC::GenVertex *) |
PhotosInterface () | |
PhotosInterface (const edm::ParameterSet &) | |
void | setRandomEngine (CLHEP::HepRandomEngine *decayRandomEngine) override |
const std::vector< std::string > & | specialSettings () override |
~PhotosInterface () override | |
Public Member Functions inherited from gen::PhotosInterfaceBase | |
PhotosInterfaceBase () | |
PhotosInterfaceBase (const edm::ParameterSet &) | |
virtual void | SetDecayRandomEngine (CLHEP::HepRandomEngine *decayRandomEngine) |
virtual void | statistics () |
virtual | ~PhotosInterfaceBase () |
Static Public Member Functions | |
static double | flat () |
Private Member Functions | |
void | applyToBranch (HepMC::GenEvent *, int) |
void | applyToVertex (HepMC::GenEvent *, int) |
void | attachParticles (HepMC::GenEvent *, HepMC::GenVertex *, int) |
Private Attributes | |
bool | fAvoidTauLeptonicDecays |
std::vector< int > | fBarcodes |
bool | fIsInitialized |
int | fOnlyPDG |
std::vector< int > | fSecVtxStore |
Static Private Attributes | |
static CLHEP::HepRandomEngine * | fRandomEngine = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from gen::PhotosInterfaceBase | |
std::vector< std::string > | fSpecialSettings |
Definition at line 19 of file PhotosInterface.h.
PhotosInterface::PhotosInterface | ( | ) |
Definition at line 32 of file PhotosInterface.cc.
References fAvoidTauLeptonicDecays, fIsInitialized, and gen::PhotosInterfaceBase::fSpecialSettings.
PhotosInterface::PhotosInterface | ( | const edm::ParameterSet & | ) |
Definition at line 38 of file PhotosInterface.cc.
References fIsInitialized, and gen::PhotosInterfaceBase::fSpecialSettings.
|
override |
Definition at line 43 of file PhotosInterface.cc.
|
overridevirtual |
Reimplemented from gen::PhotosInterfaceBase.
Definition at line 68 of file PhotosInterface.cc.
References funct::abs(), applyToBranch(), applyToVertex(), fAvoidTauLeptonicDecays, fIsInitialized, fOnlyPDG, fSecVtxStore, isTauLeptonicDecay(), gpuVertexFinder::iv, and phoqed_.
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__call__(), heavyIonTools.SelectionDefaults::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), tauTools.AddTauCollection::__call__(), trackTools.MakeTrackCandidates::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.AddJetCollection::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.UpdateJetCollection::__call__(), jetTools.AddJetID::__call__(), and jetTools.SetTagInfos::__call__().
|
private |
Definition at line 253 of file PhotosInterface.cc.
References applyToVertex(), and fSecVtxStore.
Referenced by apply().
|
private |
Definition at line 167 of file PhotosInterface.cc.
References attachParticles(), fAvoidTauLeptonicDecays, fBarcodes, fSecVtxStore, isTauLeptonicDecay(), and photos_().
Referenced by apply(), and applyToBranch().
|
private |
Definition at line 276 of file PhotosInterface.cc.
References alignCSCRings::e, fBarcodes, GenParticle::GenParticle, gpuClustering::id, visualization-live-secondInstance_cfg::m, ResonanceBuilder::mass, and mps_update::status.
Referenced by applyToVertex().
|
inlineoverridevirtual |
Implements gen::PhotosInterfaceBase.
Definition at line 30 of file PhotosInterface.h.
References fAvoidTauLeptonicDecays.
|
overridevirtual |
Implements gen::PhotosInterfaceBase.
Definition at line 47 of file PhotosInterface.cc.
References fOnlyPDG, and gen::PhotosInterfaceBase::fSpecialSettings.
|
static |
Definition at line 422 of file PhotosInterface.cc.
References Exception, and fRandomEngine.
Referenced by phoran_().
|
overridevirtual |
Implements gen::PhotosInterfaceBase.
Definition at line 57 of file PhotosInterface.cc.
References fIsInitialized, and phoini_().
bool PhotosInterface::isTauLeptonicDecay | ( | HepMC::GenVertex * | vtx | ) |
Definition at line 407 of file PhotosInterface.cc.
References funct::abs().
Referenced by apply(), and applyToVertex().
|
overridevirtual |
Implements gen::PhotosInterfaceBase.
Definition at line 45 of file PhotosInterface.cc.
References fRandomEngine.
|
inlineoverridevirtual |
Reimplemented from gen::PhotosInterfaceBase.
Definition at line 27 of file PhotosInterface.h.
References gen::PhotosInterfaceBase::fSpecialSettings.
|
private |
Definition at line 40 of file PhotosInterface.h.
Referenced by apply(), applyToVertex(), avoidTauLeptonicDecays(), and PhotosInterface().
|
private |
Definition at line 41 of file PhotosInterface.h.
Referenced by applyToVertex(), and attachParticles().
|
private |
Definition at line 43 of file PhotosInterface.h.
Referenced by apply(), init(), and PhotosInterface().
|
private |
Definition at line 39 of file PhotosInterface.h.
Referenced by apply(), and configureOnlyFor().
|
staticprivate |
Definition at line 49 of file PhotosInterface.h.
Referenced by flat(), and setRandomEngine().
|
private |
Definition at line 42 of file PhotosInterface.h.
Referenced by apply(), applyToBranch(), and applyToVertex().