#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 = nullptr |
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(), fAvoidTauLeptonicDecays, fIsInitialized, fOnlyPDG, fSecVtxStore, isTauLeptonicDecay(), and phoqed_.
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), editorTools.UserCodeTool::__call__(), HiCoreTools.RestrictInputToAOD::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), editorTools.ChangeSource::__call__(), HiCoreTools.RemoveMCMatching::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), jetTools.AddJetCollection::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__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.SwitchJetCollection::__call__(), jetTools.AddJetID::__call__(), jetTools.SetTagInfos::__call__(), and metUncertaintyTools.RunMEtUncertainties::__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(), fAvoidTauLeptonicDecays, fBarcodes, fSecVtxStore, cmsHarvester::index, isTauLeptonicDecay(), and photos_().
Referenced by apply(), and applyToBranch().
|
private |
Definition at line 308 of file PhotosInterface.cc.
References alignCSCRings::e, fBarcodes, configurableAnalysis::GenParticle, m, and ntuplemaker::status.
Referenced by applyToVertex().
|
inlinevirtual |
Implements gen::PhotosInterfaceBase.
Definition at line 33 of file PhotosInterface.h.
References fAvoidTauLeptonicDecays.
|
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 edm::hlt::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().
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 gen::PhotosInterfaceBase::fSpecialSettings.
|
private |
Definition at line 41 of file PhotosInterface.h.
Referenced by apply(), applyToVertex(), avoidTauLeptonicDecays(), 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().