![]() |
ATLAS Offline Software
|
Filters and looks for photons from brem or hadr proc. More...
#include <xAODDirectPhotonFilter.h>
Public Member Functions | |
| virtual StatusCode | filterInitialize () override final |
| virtual StatusCode | filterEvent () override final |
| GenFilter (const std::string &name, ISvcLocator *pSvcLocator) | |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Event loop algorithm methods: not to be overloaded | |
| StatusCode | initialize () |
| StatusCode | execute () |
| StatusCode | finalize () |
Gen-specific event loop methods: to be overloaded! | |
| virtual StatusCode | filterFinalize () |
Counters | |
| int | nPassed () const |
| int | nFailed () const |
| int | nNeeded () const |
Event collection accessors (const and non-const) | |
| HepMC::GenEvent *event | ATLAS_NOT_CONST_THREAD_SAFE () |
| Access the current signal event (first in the McEventCollection) | |
| McEventCollection *events | ATLAS_NOT_CONST_THREAD_SAFE () |
| Access the current event's McEventCollection. | |
| const HepMC::GenEvent * | event_const () const |
| Access the current signal event (const) | |
| const McEventCollection * | events_const () const |
| Access the current event's McEventCollection (const) | |
| const McEventCollection * | events_const (const EventContext &ctx) const |
Particle data accessors | |
| const ServiceHandle< IPartPropSvc > | partPropSvc () const |
| Access the particle property service. | |
| const HepPDT::ParticleDataTable & | particleTable () const |
| Get a particle data table. | |
| const HepPDT::ParticleDataTable & | pdt () const |
| Shorter alias to get a particle data table. | |
| const HepPDT::ParticleData * | particleData (int pid) const |
| Access an element in the particle data table. | |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Protected Attributes | |
Counters and requirements | |
| int | m_nPass |
| int | m_nFail |
| int | m_nNeeded |
Properties | |
| std::string | m_mcEventKey {} |
| StoreGate key for the MC event collection (defaults to GEN_EVENT) | |
| BooleanProperty | m_mkMcEvent {this, "MakeMcEvent", false, "Create a new MC event collection if it doesn't exist"} |
| Flag to determine if a new MC event collection should be made if it doesn't exist. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_truthPartContKey {this, "TruthParticleContainerKey", "TruthGen"} |
| Gaudi::Property< std::vector< double > > | m_Ptmin {this, "Ptmin", {10000.}} |
| Gaudi::Property< std::vector< double > > | m_Ptmax {this, "Ptmax", {std::numeric_limits<double>::max()}} |
| Gaudi::Property< double > | m_EtaRange {this, "Etacut", 2.50} |
| Gaudi::Property< unsigned int > | m_NPhotons {this, "NPhotons", 1} |
| Gaudi::Property< bool > | m_AllowSUSYDecay {this, "AllowSUSYDecay", false} |
| Gaudi::Property< bool > | m_OrderPhotons {this, "OrderPhotons", true} |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Utility event-mangling functions | |
| ServiceHandle< IPartPropSvc > | m_ppSvc {this, "PartPropSvc", "PartPropSvc"} |
| Handle on the particle property service. | |
| SG::ReadHandleKey< McEventCollection > | m_mcevents_const { this, "McEventKey", "GEN_EVENT", "StoreGate key of the MC event collection" } |
| Const handle to the MC event collection. | |
| void | GeVToMeV (HepMC::GenEvent *evt) |
| Scale event energies/momenta by x 1000. | |
| void | MeVToGeV (HepMC::GenEvent *evt) |
| Scale event energies/momenta by x 1/1000. | |
| void | cmTomm (HepMC::GenEvent *evt) |
| Scale event lengths by x 10. | |
| void | mmTocm (HepMC::GenEvent *evt) |
| Scale event lengths by x 1/10. | |
Filters and looks for photons from brem or hadr proc.
Definition at line 13 of file xAODDirectPhotonFilter.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
inlineinherited |
Access the current signal event (first in the McEventCollection)
Definition at line 76 of file GenBase.h.
|
inherited |
Access the current event's McEventCollection.
|
protectedinherited |
Scale event lengths by x 10.
Definition at line 78 of file GenBase.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
Access the current signal event (const)
Definition at line 83 of file GenBase.h.
|
inlineinherited |
Access the current event's McEventCollection (const)
|
inlineinherited |
Definition at line 99 of file GenBase.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
virtualinherited |
Reimplemented from GenBase.
Definition at line 29 of file GenFilter.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
|
finaloverridevirtual |
Implements GenFilter.
Definition at line 47 of file xAODDirectPhotonFilter.cxx.
|
inlinevirtualinherited |
Reimplemented in BoostedHadTopAndTopPair, BSignalFilter, ChargedTracksWeightFilter, DecaysFinalStateFilter, DiBjetFilter, DiLeptonMassFilter, FourLeptonInvMassFilter, HeavyFlavorHadronFilter, HTFilter, LeptonFilter, LeptonPairFilter, M4MuIntervalFilter, MuDstarFilter, MultiBjetFilter, MultiCjetFilter, MultiParticleFilter, ParentChildwStatusFilter, ParticleDecayFilter, QCDTruthJetFilter, QCDTruthMultiJetFilter, TauFilter, TrimuMassRangeFilter, TTbarPlusHeavyFlavorFilter, TTbarWithJpsimumuFilter, VBFHbbEtaSortingFilter, xAODBSignalFilter, xAODChargedTracksWeightFilter, xAODDiLeptonMassFilter, xAODHeavyFlavorHadronFilter, xAODHTFilter, xAODMultiBjetFilter, xAODMultiCjetFilter, xAODTauFilter, xAODTTbarWithJpsimumuFilter, xAODXtoVVDecayFilterExtended, and XtoVVDecayFilterExtended.
Definition at line 47 of file GenFilter.h.
|
finaloverridevirtual |
Reimplemented from GenFilter.
Definition at line 10 of file xAODDirectPhotonFilter.cxx.
|
inherited |
Definition at line 56 of file GenFilter.cxx.
| GenFilter::GenFilter | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 33 of file GenFilter.cxx.
|
protectedinherited |
Scale event energies/momenta by x 1000.
Definition at line 58 of file GenBase.cxx.
|
virtualinherited |
Reimplemented from GenBase.
Definition at line 20 of file GenFilter.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
protectedinherited |
Scale event energies/momenta by x 1/1000.
Definition at line 68 of file GenBase.cxx.
|
protectedinherited |
Scale event lengths by x 1/10.
Definition at line 87 of file GenBase.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 53 of file GenFilter.h.
|
inlineinherited |
Definition at line 54 of file GenFilter.h.
|
inlineinherited |
Definition at line 52 of file GenFilter.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineinherited |
Access an element in the particle data table.
Definition at line 126 of file GenBase.h.
|
inlineinherited |
Get a particle data table.
Definition at line 118 of file GenBase.h.
|
inlineinherited |
|
inlineinherited |
Shorter alias to get a particle data table.
Definition at line 123 of file GenBase.h.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 27 of file xAODDirectPhotonFilter.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 25 of file xAODDirectPhotonFilter.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
protectedinherited |
|
privateinherited |
|
protectedinherited |
Definition at line 66 of file GenFilter.h.
|
protectedinherited |
Definition at line 67 of file GenFilter.h.
|
protectedinherited |
Definition at line 65 of file GenFilter.h.
|
private |
Definition at line 26 of file xAODDirectPhotonFilter.h.
|
private |
Definition at line 28 of file xAODDirectPhotonFilter.h.
|
privateinherited |
|
private |
Definition at line 24 of file xAODDirectPhotonFilter.h.
|
private |
Definition at line 23 of file xAODDirectPhotonFilter.h.
|
private |
Definition at line 22 of file xAODDirectPhotonFilter.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.