![]() |
ATLAS Offline Software
|
#include <xAODBSignalFilter.h>
Public Member Functions | |
| virtual StatusCode | filterInitialize () override final |
| virtual StatusCode | filterEvent () override final |
| virtual StatusCode | filterFinalize () 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 () |
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 | |
| void | FindAllChildren (const xAOD::TruthParticle *mother, std::string treeIDStr, bool fromFinalB, bool &foundSignal, bool &passedAllCuts, TLorentzVector &p1, TLorentzVector &p2, bool fromSelectedB, TLorentzVector &total_4mom) const |
| bool | FinalStatePassedCuts (const xAOD::TruthParticle *child) const |
| bool | test_cuts (const double myPT, const double testPT, const double myEta, const double testEta) const |
| bool | LVL1_Mu_Trigger (const xAOD::TruthParticle *child) const |
| bool | LVL2_eMu_Trigger (const xAOD::TruthParticle *child) const |
| void | PrintChild (const xAOD::TruthParticle *child, const std::string &treeIDStr, const bool fromFinalB) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| Gaudi::Property< bool > | m_localLVL1MuonCutOn {this, "LVL1MuonCutOn", false} |
| Gaudi::Property< bool > | m_localLVL2MuonCutOn {this, "LVL2MuonCutOn", false} |
| Gaudi::Property< bool > | m_localLVL2ElectronCutOn {this, "LVL2ElectronCutOn", false} |
| Gaudi::Property< double > | m_localLVL1MuonCutPT {this, "LVL1MuonCutPT", 0.0} |
| Gaudi::Property< double > | m_localLVL1MuonCutEta {this, "LVL1MuonCutEta", 102.5} |
| Gaudi::Property< double > | m_localLVL2MuonCutPT {this, "LVL2MuonCutPT", 0.0} |
| Gaudi::Property< double > | m_localLVL2MuonCutEta {this, "LVL2MuonCutEta", 102.5} |
| Gaudi::Property< double > | m_localLVL2ElectronCutPT {this, "LVL2ElectronCutPT", 0.0} |
| Gaudi::Property< double > | m_localLVL2ElectronCutEta {this, "LVL2ElectronCutEta", 102.5} |
| Gaudi::Property< bool > | m_cuts_f_e_on {this, "Cuts_Final_e_switch", false} |
| Gaudi::Property< double > | m_cuts_f_e_pT {this, "Cuts_Final_e_pT", 0.} |
| Gaudi::Property< double > | m_cuts_f_e_eta {this, "Cuts_Final_e_eta", 2.5} |
| Gaudi::Property< bool > | m_cuts_f_mu_on {this, "Cuts_Final_mu_switch", false} |
| Gaudi::Property< double > | m_cuts_f_mu_pT {this, "Cuts_Final_mu_pT", 0.} |
| Gaudi::Property< double > | m_cuts_f_mu_eta {this, "Cuts_Final_mu_eta", 102.5} |
| Gaudi::Property< bool > | m_cuts_f_had_on {this, "Cuts_Final_hadrons_switch", false} |
| Gaudi::Property< double > | m_cuts_f_had_pT {this, "Cuts_Final_hadrons_pT", 0.} |
| Gaudi::Property< double > | m_cuts_f_had_eta {this, "Cuts_Final_hadrons_eta", 102.5} |
| Gaudi::Property< bool > | m_cuts_f_gam_on {this, "Cuts_Final_gamma_switch", false} |
| Gaudi::Property< double > | m_cuts_f_gam_pT {this, "Cuts_Final_gamma_pT", 0.} |
| Gaudi::Property< double > | m_cuts_f_gam_eta {this, "Cuts_Final_gamma_eta", 102.5} |
| Gaudi::Property< bool > | m_cuts_f_K0_on {this, "Cuts_Final_K0_switch", false} |
| Gaudi::Property< double > | m_cuts_f_K0_pT {this, "Cuts_Final_K0_pT", 0.} |
| Gaudi::Property< double > | m_cuts_f_K0_eta {this, "Cuts_Final_K0_eta", 102.5} |
| Gaudi::Property< int > | m_B_pdgid {this, "B_PDGCode", 0} |
| Gaudi::Property< bool > | m_InvMass_switch {this, "InvMass_switch", false} |
| Gaudi::Property< int > | m_InvMass_PartId1 {this, "InvMass_PartId1", 13} |
| Gaudi::Property< int > | m_InvMass_PartId2 {this, "InvMass_PartId2", -13} |
| Gaudi::Property< double > | m_InvMass_PartFakeMass1 {this, "InvMass_PartFakeMass1", -1.} |
| Gaudi::Property< double > | m_InvMass_PartFakeMass2 {this, "InvMass_PartFakeMass2", -1.} |
| Gaudi::Property< double > | m_InvMassMin {this, "InvMassMin", 0.0} |
| Gaudi::Property< double > | m_InvMassMax {this, "InvMassMax", 14000000.0} |
| Gaudi::Property< bool > | m_TotalInvMass_switch {this, "TotalInvMass_switch", false} |
| Gaudi::Property< double > | m_TotalInvMassMin {this, "TotalInvMassMin", 0.0} |
| Gaudi::Property< double > | m_TotalInvMassMax {this, "TotalInvMassMax", 14000000.0} |
| SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_truthPartContKey {this, "TruthParticleContainerKey", "TruthGen"} |
| int | m_EventCnt {} |
| double | m_LVL1Counter {} |
| double | m_LVL2Counter {} |
| double | m_rejectedTrigger {} |
| double | m_rejectedAll {} |
| 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. | |
Definition at line 32 of file xAODBSignalFilter.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 38 of file xAODBSignalFilter.cxx.
|
finaloverridevirtual |
Reimplemented from GenFilter.
Definition at line 633 of file xAODBSignalFilter.cxx.
|
finaloverridevirtual |
Reimplemented from GenFilter.
Definition at line 32 of file xAODBSignalFilter.cxx.
|
inherited |
Definition at line 56 of file GenFilter.cxx.
|
private |
Definition at line 477 of file xAODBSignalFilter.cxx.
|
private |
Definition at line 383 of file xAODBSignalFilter.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.
|
private |
Definition at line 357 of file xAODBSignalFilter.cxx.
|
private |
Definition at line 369 of file xAODBSignalFilter.cxx.
|
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.
|
private |
Definition at line 613 of file xAODBSignalFilter.cxx.
|
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.
|
private |
Definition at line 352 of file xAODBSignalFilter.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 73 of file xAODBSignalFilter.h.
|
private |
Definition at line 59 of file xAODBSignalFilter.h.
|
private |
Definition at line 57 of file xAODBSignalFilter.h.
|
private |
Definition at line 58 of file xAODBSignalFilter.h.
|
private |
Definition at line 68 of file xAODBSignalFilter.h.
|
private |
Definition at line 66 of file xAODBSignalFilter.h.
|
private |
Definition at line 67 of file xAODBSignalFilter.h.
|
private |
Definition at line 65 of file xAODBSignalFilter.h.
|
private |
Definition at line 63 of file xAODBSignalFilter.h.
|
private |
Definition at line 64 of file xAODBSignalFilter.h.
|
private |
Definition at line 71 of file xAODBSignalFilter.h.
|
private |
Definition at line 69 of file xAODBSignalFilter.h.
|
private |
Definition at line 70 of file xAODBSignalFilter.h.
|
private |
Definition at line 62 of file xAODBSignalFilter.h.
|
private |
Definition at line 60 of file xAODBSignalFilter.h.
|
private |
Definition at line 61 of file xAODBSignalFilter.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 89 of file xAODBSignalFilter.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.
|
private |
Definition at line 78 of file xAODBSignalFilter.h.
|
private |
Definition at line 79 of file xAODBSignalFilter.h.
|
private |
Definition at line 76 of file xAODBSignalFilter.h.
|
private |
Definition at line 77 of file xAODBSignalFilter.h.
|
private |
Definition at line 75 of file xAODBSignalFilter.h.
|
private |
Definition at line 82 of file xAODBSignalFilter.h.
|
private |
Definition at line 81 of file xAODBSignalFilter.h.
|
private |
Definition at line 52 of file xAODBSignalFilter.h.
|
private |
Definition at line 48 of file xAODBSignalFilter.h.
|
private |
Definition at line 51 of file xAODBSignalFilter.h.
|
private |
Definition at line 56 of file xAODBSignalFilter.h.
|
private |
Definition at line 50 of file xAODBSignalFilter.h.
|
private |
Definition at line 55 of file xAODBSignalFilter.h.
|
private |
Definition at line 54 of file xAODBSignalFilter.h.
|
private |
Definition at line 49 of file xAODBSignalFilter.h.
|
private |
Definition at line 53 of file xAODBSignalFilter.h.
|
private |
Definition at line 90 of file xAODBSignalFilter.h.
|
private |
Definition at line 91 of file xAODBSignalFilter.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.
|
privateinherited |
|
private |
Definition at line 93 of file xAODBSignalFilter.h.
|
private |
Definition at line 92 of file xAODBSignalFilter.h.
|
private |
Definition at line 83 of file xAODBSignalFilter.h.
|
private |
Definition at line 85 of file xAODBSignalFilter.h.
|
private |
Definition at line 84 of file xAODBSignalFilter.h.
|
private |
Definition at line 86 of file xAODBSignalFilter.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.