#include <PhotosInterface.h>
Public Member Functions | |
HepMC::GenEvent * | apply (HepMC::GenEvent *) |
void | avoidTauLeptonicDecays () |
void | configureOnlyFor (int) |
void | init () |
bool | isTauLeptonicDecay (HepMC::GenVertex *) |
PhotosInterface () | |
PhotosInterface (const edm::ParameterSet &) | |
void | setRandomEngine (CLHEP::HepRandomEngine *decayRandomEngine) |
const std::vector< std::string > & | specialSettings () |
~PhotosInterface () | |
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 = 0 |
Additional Inherited Members | |
Protected Attributes inherited from gen::PhotosInterfaceBase | |
std::vector< std::string > | fSpecialSettings |
Definition at line 21 of file PhotosInterface.h.
PhotosInterface::PhotosInterface | ( | ) |
Definition at line 39 of file PhotosInterface.cc.
References fAvoidTauLeptonicDecays, fIsInitialized, and gen::PhotosInterfaceBase::fSpecialSettings.
PhotosInterface::PhotosInterface | ( | const edm::ParameterSet & | ) |
Definition at line 47 of file PhotosInterface.cc.
References fIsInitialized, and gen::PhotosInterfaceBase::fSpecialSettings.
PhotosInterface::~PhotosInterface | ( | ) |
Definition at line 54 of file PhotosInterface.cc.
|
virtual |
Reimplemented from gen::PhotosInterfaceBase.
Definition at line 87 of file PhotosInterface.cc.
References funct::abs(), applyToBranch(), applyToVertex(), class-composition::children, fAvoidTauLeptonicDecays, fIsInitialized, fOnlyPDG, fSecVtxStore, isTauLeptonicDecay(), phoqed_, and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), editorTools.UserCodeTool::__call__(), HiCoreTools.RestrictInputToAOD::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), editorTools.ChangeSource::__call__(), HiCoreTools.RemoveMCMatching::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__call__(), heavyIonTools.SelectionDefaults::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), HiCoreTools.AddCleaning::__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 280 of file PhotosInterface.cc.
References applyToVertex(), and fSecVtxStore.
Referenced by apply().
|
private |
Definition at line 188 of file PhotosInterface.cc.
References attachParticles(), class-composition::children, fAvoidTauLeptonicDecays, fBarcodes, fSecVtxStore, diffTreeTool::index, isTauLeptonicDecay(), photos_(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by apply(), and applyToBranch().
|
private |
Definition at line 308 of file PhotosInterface.cc.
References class-composition::children, MillePedeFileConverter_cfg::e, fBarcodes, GenParticle::GenParticle, triggerObjects_cff::id, funct::m, ResonanceBuilder::mass, HiggsValidation_cfi::pdg_id, and mps_update::status.
Referenced by applyToVertex().
|
inlinevirtual |
Implements gen::PhotosInterfaceBase.
Definition at line 33 of file PhotosInterface.h.
References decayRandomEngine.
|
virtual |
Implements gen::PhotosInterfaceBase.
Definition at line 62 of file PhotosInterface.cc.
References fOnlyPDG, and gen::PhotosInterfaceBase::fSpecialSettings.
|
static |
Definition at line 473 of file PhotosInterface.cc.
References DEFINE_EDM_PLUGIN, Exception, and fRandomEngine.
Referenced by phoran_().
|
virtual |
Implements gen::PhotosInterfaceBase.
Definition at line 75 of file PhotosInterface.cc.
References fIsInitialized, and phoini_().
bool PhotosInterface::isTauLeptonicDecay | ( | HepMC::GenVertex * | vtx | ) |
Definition at line 455 of file PhotosInterface.cc.
References funct::abs(), and class-composition::children.
Referenced by apply(), and applyToVertex().
|
virtual |
Implements gen::PhotosInterfaceBase.
Definition at line 57 of file PhotosInterface.cc.
References decayRandomEngine, and fRandomEngine.
|
inlinevirtual |
Reimplemented from gen::PhotosInterfaceBase.
Definition at line 30 of file PhotosInterface.h.
References apply().
|
private |
Definition at line 41 of file PhotosInterface.h.
Referenced by apply(), applyToVertex(), and PhotosInterface().
|
private |
Definition at line 42 of file PhotosInterface.h.
Referenced by applyToVertex(), and attachParticles().
|
private |
Definition at line 44 of file PhotosInterface.h.
Referenced by apply(), init(), and PhotosInterface().
|
private |
Definition at line 40 of file PhotosInterface.h.
Referenced by apply(), and configureOnlyFor().
|
staticprivate |
Definition at line 50 of file PhotosInterface.h.
Referenced by flat(), and setRandomEngine().
|
private |
Definition at line 43 of file PhotosInterface.h.
Referenced by apply(), applyToBranch(), and applyToVertex().