![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <xAODHeavyFlavorHadronFilter.h>
|
| xAODHeavyFlavorHadronFilter (const std::string &fname, ISvcLocator *pSvcLocator) |
|
virtual StatusCode | filterInitialize () |
|
virtual StatusCode | filterFinalize () |
|
virtual StatusCode | filterEvent () |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
Gaudi::Property< double > | m_charmPtMin {this,"CharmPtMin",2000.,"Min Pt of charm"} |
|
Gaudi::Property< double > | m_bottomPtMin {this,"BottomPtMin",5000.,"Min Pt of bottom"} |
|
Gaudi::Property< double > | m_charmEtaMax {this,"CharmEtaMax",3.0,"Max eta of charm"} |
|
Gaudi::Property< double > | m_bottomEtaMax {this,"BottomEtaMax",3.0,"Max eta of bottom"} |
|
Gaudi::Property< double > | m_cPtMin {this,"cPtMin",0.0,"Min Pt of c-quark"} |
|
Gaudi::Property< double > | m_bPtMin {this,"bPtMin",0.0,"Min Pt of b-quark"} |
|
Gaudi::Property< double > | m_cEtaMax {this,"cEtaMax",5.0,"Max eta of c-quark"} |
|
Gaudi::Property< double > | m_bEtaMax {this,"bEtaMax",5.0,"Max eta of b-quark"} |
|
Gaudi::Property< double > | m_jetPtMin {this,"JetPtMin",20000.,"Min Pt of jets"} |
|
Gaudi::Property< double > | m_jetEtaMax {this,"JetEtaMax",2.5,"Max eta of jets"} |
|
Gaudi::Property< double > | m_PDGPtMin {this,"PDGPtMin",2000.,"Min Pt of PDG identified particle"} |
|
Gaudi::Property< double > | m_PDGEtaMax {this,"PDGEtaMax",2.5,"Max eta of PDG identified particle"} |
|
Gaudi::Property< int > | m_PDGID {this,"PDGID",0,"PDG ID of a given particle"} |
|
Gaudi::Property< bool > | m_PDGAntiParticleToo {this,"PDGAntiParticleToo",true,"Request PDG antiparticle"} |
|
Gaudi::Property< bool > | m_RequestCharm {this,"RequestCharm",true,"Request a charm"} |
|
Gaudi::Property< bool > | m_RequestBottom {this,"RequestBottom",true,"Request a bottom"} |
|
Gaudi::Property< bool > | m_Request_cQuark {this,"Request_cQuark",true,"Request a c-quark"} |
|
Gaudi::Property< bool > | m_Request_bQuark {this,"Request_bQuark",true,"Request a b-quark"} |
|
Gaudi::Property< bool > | m_RequestSpecificPDGID {this,"RequestSpecificPDGID",false,"Request a specific PDG ID"} |
|
Gaudi::Property< bool > | m_RequireTruthJet {this,"RequireTruthJet",false,"Require truth jets"} |
|
Gaudi::Property< double > | m_deltaRFromTruth {this,"DeltaRFromTruth",0.4,"Delta R from truth jet"} |
|
Gaudi::Property< std::string > | m_TruthJetContainerName {this,"TruthContainerName","AntiKt4TruthJets","Truht jet container name"} |
|
int | m_NPass |
|
int | m_Nevt |
|
int | m_NbPass |
|
int | m_NcPass |
|
int | m_NBHadronPass |
|
int | m_NDHadronPass |
|
int | m_NPDGIDPass |
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
◆ StoreGateSvc_t
◆ xAODHeavyFlavorHadronFilter()
xAODHeavyFlavorHadronFilter::xAODHeavyFlavorHadronFilter |
( |
const std::string & |
fname, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ATLAS_NOT_CONST_THREAD_SAFE() [1/2]
HepMC::GenEvent* event GenBase::ATLAS_NOT_CONST_THREAD_SAFE |
( |
| ) |
|
|
inlineinherited |
Access the current signal event (first in the McEventCollection)
- Note
- This function will make a new McEventCollection if there is not already a valid one and MakeMcEvent=True.
Definition at line 76 of file GenBase.h.
78 ATH_MSG_ERROR(
"McEventCollection is empty during first event access");
79 return *(
events()->begin());
◆ ATLAS_NOT_CONST_THREAD_SAFE() [2/2]
◆ cmTomm()
void GenBase::cmTomm |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event lengths by x 10.
Definition at line 81 of file GenBase.cxx.
82 for (HepMC::GenEvent::vertex_iterator vtx =
evt->vertices_begin(); vtx !=
evt->vertices_end(); ++vtx) {
83 const HepMC::FourVector fv((*vtx)->position().x() * 10,
84 (*vtx)->position().y() * 10,
85 (*vtx)->position().z() * 10,
86 (*vtx)->position().t() * 10);
87 (*vtx)->set_position(fv);
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ event_const()
const HepMC::GenEvent* GenBase::event_const |
( |
| ) |
const |
|
inlineinherited |
Access the current signal event (const)
Definition at line 83 of file GenBase.h.
85 ATH_MSG_ERROR(
"Const McEventCollection is empty during first event access");
◆ events_const() [1/2]
◆ events_const() [2/2]
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode GenFilter::execute |
( |
| ) |
|
|
virtualinherited |
- Todo:
- Probably the filter should only look at the first event... right?
Reimplemented from GenBase.
Definition at line 29 of file GenFilter.cxx.
32 return StatusCode::FAILURE;
35 ATH_MSG_WARNING(
"More than one event in current McEventCollection -- which is valid?");
51 sc = StatusCode::FAILURE;
◆ extraDeps_update_handler()
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
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
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.
57 return Algorithm::extraOutputDeps();
◆ filterEvent()
StatusCode xAODHeavyFlavorHadronFilter::filterEvent |
( |
| ) |
|
|
virtual |
- Todo:
- This could be so much more efficient!
Implements GenFilter.
Definition at line 45 of file xAODHeavyFlavorHadronFilter.cxx.
49 bool BHadronPass =
false;
50 bool DHadronPass =
false;
51 bool PDGIDPass =
false;
55 std::vector<xAOD::JetContainer::const_iterator>
jets;
70 ATH_MSG_ERROR(
"No TruthParticle collection with name " <<
"TruthGen" <<
" found in StoreGate!");
71 return StatusCode::FAILURE;
74 unsigned int nPart = xTruthParticleContainer->
size();
75 for (
unsigned int iPart = 0; iPart < nPart; ++iPart) {
105 std::abs(
part->pdgId())==4 &&
162 for (
size_t i = 0;
i <
jets.size(); ++
i) {
173 pass = BHadronPass || DHadronPass || bPass || cPass || PDGIDPass;
180 setFilterPassed(pass);
182 return StatusCode::SUCCESS;
◆ filterFinalize()
StatusCode xAODHeavyFlavorHadronFilter::filterFinalize |
( |
| ) |
|
|
virtual |
◆ filterInitialize()
StatusCode xAODHeavyFlavorHadronFilter::filterInitialize |
( |
| ) |
|
|
virtual |
◆ finalize()
StatusCode GenFilter::finalize |
( |
| ) |
|
|
inherited |
Definition at line 56 of file GenFilter.cxx.
59 return StatusCode::SUCCESS;
◆ GeVToMeV()
void GenBase::GeVToMeV |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event energies/momenta by x 1000.
- Todo:
- Add HepMC units awareness and do it differently when HepMC provides this functionality directly (and reference-based FourVector accessors)
Definition at line 61 of file GenBase.cxx.
62 for (HepMC::GenEvent::particle_iterator
p =
evt->particles_begin();
p !=
evt->particles_end(); ++
p) {
63 const HepMC::FourVector fv((*p)->momentum().px() * 1000,
64 (*p)->momentum().py() * 1000,
65 (*p)->momentum().pz() * 1000,
66 (*p)->momentum().e() * 1000);
67 (*p)->set_momentum(fv);
68 (*p)->set_generated_mass(1000 * (*p)->generated_mass());
◆ initialize()
StatusCode GenFilter::initialize |
( |
| ) |
|
|
virtualinherited |
◆ inputHandles()
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.
◆ isBwithWeakDK()
bool xAODHeavyFlavorHadronFilter::isBwithWeakDK |
( |
const int |
pID | ) |
const |
|
private |
◆ isDwithWeakDK()
bool xAODHeavyFlavorHadronFilter::isDwithWeakDK |
( |
const int |
pID | ) |
const |
|
private |
◆ MeVToGeV()
void GenBase::MeVToGeV |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event energies/momenta by x 1/1000.
Definition at line 71 of file GenBase.cxx.
72 for (HepMC::GenEvent::particle_iterator
p =
evt->particles_begin();
p !=
evt->particles_end(); ++
p) {
73 const HepMC::FourVector fv((*p)->momentum().px() / 1000,
74 (*p)->momentum().py() / 1000,
75 (*p)->momentum().pz() / 1000,
76 (*p)->momentum().e() / 1000);
77 (*p)->set_momentum(fv);
78 (*p)->set_generated_mass((*p)->generated_mass() / 1000);
◆ mmTocm()
void GenBase::mmTocm |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event lengths by x 1/10.
Definition at line 90 of file GenBase.cxx.
91 for (HepMC::GenEvent::vertex_iterator vtx =
evt->vertices_begin(); vtx !=
evt->vertices_end(); ++vtx) {
92 const HepMC::FourVector fv((*vtx)->position().x() / 10,
93 (*vtx)->position().y() / 10,
94 (*vtx)->position().z() / 10,
95 (*vtx)->position().t() / 10);
96 (*vtx)->set_position(fv);
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ nFailed()
int GenFilter::nFailed |
( |
| ) |
const |
|
inlineinherited |
◆ nNeeded()
int GenFilter::nNeeded |
( |
| ) |
const |
|
inlineinherited |
◆ nPassed()
int GenFilter::nPassed |
( |
| ) |
const |
|
inlineinherited |
◆ outputHandles()
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.
◆ particleData()
const HepPDT::ParticleData* GenBase::particleData |
( |
int |
pid | ) |
const |
|
inlineinherited |
Access an element in the particle data table.
Definition at line 126 of file GenBase.h.
◆ particleTable()
const HepPDT::ParticleDataTable& GenBase::particleTable |
( |
| ) |
const |
|
inlineinherited |
Get a particle data table.
Definition at line 118 of file GenBase.h.
◆ partPropSvc()
Access the particle property service.
Definition at line 113 of file GenBase.h.
◆ pdt()
const HepPDT::ParticleDataTable& GenBase::pdt |
( |
| ) |
const |
|
inlineinherited |
Shorter alias to get a particle data table.
Definition at line 123 of file GenBase.h.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_bEtaMax
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_bEtaMax {this,"bEtaMax",5.0,"Max eta of b-quark"} |
|
private |
◆ m_bottomEtaMax
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_bottomEtaMax {this,"BottomEtaMax",3.0,"Max eta of bottom"} |
|
private |
◆ m_bottomPtMin
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_bottomPtMin {this,"BottomPtMin",5000.,"Min Pt of bottom"} |
|
private |
◆ m_bPtMin
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_bPtMin {this,"bPtMin",0.0,"Min Pt of b-quark"} |
|
private |
◆ m_cEtaMax
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_cEtaMax {this,"cEtaMax",5.0,"Max eta of c-quark"} |
|
private |
◆ m_charmEtaMax
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_charmEtaMax {this,"CharmEtaMax",3.0,"Max eta of charm"} |
|
private |
◆ m_charmPtMin
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_charmPtMin {this,"CharmPtMin",2000.,"Min Pt of charm"} |
|
private |
◆ m_cPtMin
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_cPtMin {this,"cPtMin",0.0,"Min Pt of c-quark"} |
|
private |
◆ m_deltaRFromTruth
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_deltaRFromTruth {this,"DeltaRFromTruth",0.4,"Delta R from truth jet"} |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_jetEtaMax
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_jetEtaMax {this,"JetEtaMax",2.5,"Max eta of jets"} |
|
private |
◆ m_jetPtMin
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_jetPtMin {this,"JetPtMin",20000.,"Min Pt of jets"} |
|
private |
◆ m_mcEventKey
std::string GenBase::m_mcEventKey {} |
|
protectedinherited |
StoreGate key for the MC event collection (defaults to GEN_EVENT)
Definition at line 137 of file GenBase.h.
◆ m_mcevents_const
Const handle to the MC event collection.
Definition at line 163 of file GenBase.h.
◆ m_mkMcEvent
BooleanProperty GenBase::m_mkMcEvent {this, "MakeMcEvent", false, "Create a new MC event collection if it doesn't exist"} |
|
protectedinherited |
Flag to determine if a new MC event collection should be made if it doesn't exist.
Definition at line 139 of file GenBase.h.
◆ m_NBHadronPass
int xAODHeavyFlavorHadronFilter::m_NBHadronPass |
|
private |
◆ m_NbPass
int xAODHeavyFlavorHadronFilter::m_NbPass |
|
private |
◆ m_NcPass
int xAODHeavyFlavorHadronFilter::m_NcPass |
|
private |
◆ m_NDHadronPass
int xAODHeavyFlavorHadronFilter::m_NDHadronPass |
|
private |
◆ m_Nevt
int xAODHeavyFlavorHadronFilter::m_Nevt |
|
private |
◆ m_nFail
◆ m_nNeeded
◆ m_NPass
int xAODHeavyFlavorHadronFilter::m_NPass |
|
private |
◆ m_nPass
◆ m_NPDGIDPass
int xAODHeavyFlavorHadronFilter::m_NPDGIDPass |
|
private |
◆ m_PDGAntiParticleToo
Gaudi::Property<bool> xAODHeavyFlavorHadronFilter::m_PDGAntiParticleToo {this,"PDGAntiParticleToo",true,"Request PDG antiparticle"} |
|
private |
◆ m_PDGEtaMax
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_PDGEtaMax {this,"PDGEtaMax",2.5,"Max eta of PDG identified particle"} |
|
private |
◆ m_PDGID
Gaudi::Property<int> xAODHeavyFlavorHadronFilter::m_PDGID {this,"PDGID",0,"PDG ID of a given particle"} |
|
private |
◆ m_PDGPtMin
Gaudi::Property<double> xAODHeavyFlavorHadronFilter::m_PDGPtMin {this,"PDGPtMin",2000.,"Min Pt of PDG identified particle"} |
|
private |
◆ m_ppSvc
ServiceHandle<IPartPropSvc> GenBase::m_ppSvc {this, "PartPropSvc", "PartPropSvc"} |
|
privateinherited |
Handle on the particle property service.
Definition at line 160 of file GenBase.h.
◆ m_Request_bQuark
Gaudi::Property<bool> xAODHeavyFlavorHadronFilter::m_Request_bQuark {this,"Request_bQuark",true,"Request a b-quark"} |
|
private |
◆ m_Request_cQuark
Gaudi::Property<bool> xAODHeavyFlavorHadronFilter::m_Request_cQuark {this,"Request_cQuark",true,"Request a c-quark"} |
|
private |
◆ m_RequestBottom
Gaudi::Property<bool> xAODHeavyFlavorHadronFilter::m_RequestBottom {this,"RequestBottom",true,"Request a bottom"} |
|
private |
◆ m_RequestCharm
Gaudi::Property<bool> xAODHeavyFlavorHadronFilter::m_RequestCharm {this,"RequestCharm",true,"Request a charm"} |
|
private |
◆ m_RequestSpecificPDGID
Gaudi::Property<bool> xAODHeavyFlavorHadronFilter::m_RequestSpecificPDGID {this,"RequestSpecificPDGID",false,"Request a specific PDG ID"} |
|
private |
◆ m_RequireTruthJet
Gaudi::Property<bool> xAODHeavyFlavorHadronFilter::m_RequireTruthJet {this,"RequireTruthJet",false,"Require truth jets"} |
|
private |
◆ m_TruthJetContainerName
Gaudi::Property<std::string> xAODHeavyFlavorHadronFilter::m_TruthJetContainerName {this,"TruthContainerName","AntiKt4TruthJets","Truht jet container name"} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
Gaudi::Property< double > m_cPtMin
Const iterator class for DataVector/DataList.
Gaudi::Property< double > m_jetPtMin
Gaudi::Property< double > m_cEtaMax
Gaudi::Property< double > m_charmEtaMax
const McEventCollection * events_const() const
Access the current event's McEventCollection (const)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Gaudi::Property< bool > m_Request_cQuark
Gaudi::Property< double > m_bEtaMax
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Gaudi::Property< double > m_charmPtMin
std::vector< SG::VarHandleKeyArray * > m_vhka
virtual StatusCode filterEvent()=0
Gaudi::Property< bool > m_PDGAntiParticleToo
const std::string & key() const
Return the StoreGate ID for the referenced object.
Gaudi::Property< double > m_PDGPtMin
virtual StatusCode filterInitialize()
virtual void setOwner(IDataHandleHolder *o)=0
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
ServiceHandle< IPartPropSvc > m_ppSvc
Handle on the particle property service.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Gaudi::Property< std::string > m_TruthJetContainerName
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Gaudi::Property< double > m_jetEtaMax
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< McEventCollection > m_mcevents_const
Const handle to the MC event collection.
Class describing a truth particle in the MC record.
bool isBwithWeakDK(const int pID) const
#define CHECK(...)
Evaluate an expression and check for errors.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
const HepPDT::ParticleDataTable & particleTable() const
Get a particle data table.
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
bool isDwithWeakDK(const int pID) const
Gaudi::Property< bool > m_RequireTruthJet
Gaudi::Property< double > m_bottomEtaMax
Gaudi::Property< double > m_deltaRFromTruth
virtual StatusCode filterFinalize()
Gaudi::Property< bool > m_RequestSpecificPDGID
Gaudi::Property< bool > m_RequestBottom
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
tuple genpart
Check that the actual generators, tune, and main PDF are consistent with the JO name.
DataObjIDColl m_extendedExtraObjects
Gaudi::Property< bool > m_RequestCharm
#define ATH_MSG_WARNING(x)
const HepPDT::ParticleDataTable & pdt() const
Shorter alias to get a particle data table.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
filterPassed
now, add a sequencer: it will only execute seqalg1 and 2 and never 3
Gaudi::Property< bool > m_Request_bQuark
GenFilter(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< double > m_bPtMin
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Gaudi::Property< double > m_PDGEtaMax
Gaudi::Property< double > m_bottomPtMin
virtual StatusCode initialize() override
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
Gaudi::Property< int > m_PDGID