![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <TTbarPlusHeavyFlavorFilter.h>
|
| TTbarPlusHeavyFlavorFilter (const std::string &fname, ISvcLocator *pSvcLocator) |
|
virtual | ~TTbarPlusHeavyFlavorFilter () |
|
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 |
|
◆ StoreGateSvc_t
◆ TTbarPlusHeavyFlavorFilter()
TTbarPlusHeavyFlavorFilter::TTbarPlusHeavyFlavorFilter |
( |
const std::string & |
fname, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TTbarPlusHeavyFlavorFilter()
TTbarPlusHeavyFlavorFilter::~TTbarPlusHeavyFlavorFilter |
( |
| ) |
|
|
virtual |
◆ 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 TTbarPlusHeavyFlavorFilter::filterEvent |
( |
| ) |
|
|
virtual |
loop on particles
loop on events (only one at evgen - no PU)
Implements GenFilter.
Definition at line 49 of file TTbarPlusHeavyFlavorFilter.cxx.
63 const HepMC::GenEvent* genEvt = (*itr);
67 for(
const auto&
part: *genEvt) {
77 int pdgid = abs(
part->pdg_id());
100 if(isbhadron || ischadron){
117 if(ischadron && !ischadronfromb) ++nC;
148 if(
m_selectB && 5 == flavortype) pass=
true;
149 if(
m_selectC && 4 == flavortype) pass=
true;
150 if(
m_selectL && 0 == flavortype) pass=
true;
152 setFilterPassed(pass);
153 return StatusCode::SUCCESS;
◆ filterFinalize()
StatusCode TTbarPlusHeavyFlavorFilter::filterFinalize |
( |
| ) |
|
|
virtual |
◆ filterInitialize()
StatusCode TTbarPlusHeavyFlavorFilter::filterInitialize |
( |
| ) |
|
|
virtual |
◆ finalize()
StatusCode GenFilter::finalize |
( |
| ) |
|
|
inherited |
Definition at line 56 of file GenFilter.cxx.
59 return StatusCode::SUCCESS;
◆ findInitial()
Definition at line 331 of file TTbarPlusHeavyFlavorFilter.cxx.
333 auto prod =
part->production_vertex();
335 if(!prod)
return part;
337 for(
const auto& firstParent: prod->particles_in()){
338 if(
part->pdg_id() == firstParent->pdg_id() ){
343 HepMC::GenVertex::particle_iterator firstParent = prod->particles_begin(
HepMC::parents);
344 HepMC::GenVertex::particle_iterator endParent = prod->particles_end(
HepMC::parents);
345 for(;firstParent!=endParent; ++firstParent){
346 if(
part->pdg_id() == (*firstParent)->pdg_id() ){
◆ 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());
◆ hadronType()
int TTbarPlusHeavyFlavorFilter::hadronType |
( |
int |
pdgid | ) |
const |
|
private |
Definition at line 184 of file TTbarPlusHeavyFlavorFilter.cxx.
186 int rest1(std::abs(pdgid%1000));
187 int rest2(std::abs(pdgid%10000));
189 if ( rest2 >= 5000 && rest2 < 6000 )
return 5;
190 if( rest1 >= 500 && rest1 < 600 )
return 5;
192 if ( rest2 >= 4000 && rest2 < 5000 )
return 4;
193 if( rest1 >= 400 && rest1 < 500 )
return 4;
◆ 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.
◆ isBHadron()
◆ isCHadron()
◆ isCHadronFromB()
Definition at line 303 of file TTbarPlusHeavyFlavorFilter.cxx.
307 auto prod =
part->production_vertex();
308 if(!prod)
return false;
310 for(
const auto& firstParent:HepMC::ancestor_particles(prod)){
316 HepMC::GenVertex::particle_iterator firstParent = prod->particles_begin(HepMC::ancestors);
317 HepMC::GenVertex::particle_iterator endParent = prod->particles_end(HepMC::ancestors);
318 for(;firstParent!=endParent; ++firstParent){
◆ isDirectlyFromTop()
Definition at line 363 of file TTbarPlusHeavyFlavorFilter.cxx.
365 auto prod =
part->production_vertex();
367 if(!prod)
return false;
369 for (
auto firstParent: prod->particles_in()){
370 if( std::abs( firstParent->pdg_id() ) == 6 )
return true;
373 HepMC::GenVertex::particle_iterator firstParent = prod->particles_begin(
HepMC::parents);
374 HepMC::GenVertex::particle_iterator endParent = prod->particles_end(
HepMC::parents);
375 for(;firstParent!=endParent; ++firstParent){
376 if( std::abs( (*firstParent)->pdg_id() ) == 6 )
return true;
◆ isDirectlyFromWTop()
Definition at line 385 of file TTbarPlusHeavyFlavorFilter.cxx.
387 auto prod =
part->production_vertex();
389 if(!prod)
return false;
391 for(
const auto& firstParent: prod->particles_in()){
392 if( std::abs( firstParent->pdg_id() ) == 24 ){
393 if(
isFromTop(firstParent) )
return true;
397 HepMC::GenVertex::particle_iterator firstParent = prod->particles_begin(
HepMC::parents);
398 HepMC::GenVertex::particle_iterator endParent = prod->particles_end(
HepMC::parents);
399 for(;firstParent!=endParent; ++firstParent){
400 if( std::abs( (*firstParent)->pdg_id() ) == 24 ){
401 if(
isFromTop(*firstParent) )
return true;
◆ isFinalHadron()
Definition at line 250 of file TTbarPlusHeavyFlavorFilter.cxx.
253 if(!
end)
return true;
256 for(
const auto& firstChild:
end->particles_in()){
257 int childtype =
hadronType( firstChild->pdg_id() );
258 if( childtype ==
type ){
263 HepMC::GenVertex::particle_iterator firstChild =
end->particles_begin(
HepMC::children);
265 for(;firstChild!=endChild; ++firstChild){
266 int childtype =
hadronType( (*firstChild)->pdg_id() );
267 if( childtype ==
type ){
◆ isFromTop()
◆ isInitialHadron()
Definition at line 223 of file TTbarPlusHeavyFlavorFilter.cxx.
225 auto prod =
part->production_vertex();
226 if(!prod)
return true;
229 for(
const auto& firstParent: prod->particles_in()){
230 int mothertype =
hadronType( firstParent->pdg_id() );
231 if( mothertype ==
type ){
236 HepMC::GenVertex::particle_iterator firstParent = prod->particles_begin(
HepMC::parents);
237 HepMC::GenVertex::particle_iterator endParent = prod->particles_end(
HepMC::parents);
238 for(;firstParent!=endParent; ++firstParent){
239 int mothertype =
hadronType( (*firstParent)->pdg_id() );
240 if( mothertype ==
type ){
◆ isQuarkFromHadron()
Definition at line 278 of file TTbarPlusHeavyFlavorFilter.cxx.
280 auto prod =
part->production_vertex();
281 if(!prod)
return false;
283 for(
const auto& firstParent: HepMC::ancestor_particles(prod)){
284 int mothertype =
hadronType( firstParent->pdg_id() );
285 if( 4 == mothertype || 5 == mothertype ){
290 HepMC::GenVertex::particle_iterator firstParent = prod->particles_begin(HepMC::ancestors);
291 HepMC::GenVertex::particle_iterator endParent = prod->particles_end(HepMC::ancestors);
292 for(;firstParent!=endParent; ++firstParent){
293 int mothertype =
hadronType( (*firstParent)->pdg_id() );
294 if( 4 == mothertype || 5 == mothertype ){
◆ 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.
◆ passBSelection()
◆ passCSelection()
◆ 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_bEtaMaxCut
double TTbarPlusHeavyFlavorFilter::m_bEtaMaxCut |
|
private |
◆ m_bMultiCut
int TTbarPlusHeavyFlavorFilter::m_bMultiCut |
|
private |
◆ m_bPtMinCut
double TTbarPlusHeavyFlavorFilter::m_bPtMinCut |
|
private |
◆ m_cEtaMaxCut
double TTbarPlusHeavyFlavorFilter::m_cEtaMaxCut |
|
private |
◆ m_cMultiCut
int TTbarPlusHeavyFlavorFilter::m_cMultiCut |
|
private |
◆ m_cPtMinCut
double TTbarPlusHeavyFlavorFilter::m_cPtMinCut |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_excludeBFromTop
bool TTbarPlusHeavyFlavorFilter::m_excludeBFromTop |
|
private |
◆ m_excludeCFromTop
bool TTbarPlusHeavyFlavorFilter::m_excludeCFromTop |
|
private |
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ 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_nFail
◆ m_nNeeded
◆ m_nPass
◆ 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_selectB
bool TTbarPlusHeavyFlavorFilter::m_selectB |
|
private |
◆ m_selectC
bool TTbarPlusHeavyFlavorFilter::m_selectC |
|
private |
◆ m_selectL
bool TTbarPlusHeavyFlavorFilter::m_selectL |
|
private |
◆ m_useFinalStateHadrons
bool TTbarPlusHeavyFlavorFilter::m_useFinalStateHadrons |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
int hadronType(int pdgid) const
Const iterator class for DataVector/DataList.
bool isBHadron(const HepMC::ConstGenParticlePtr &part) const
Scalar eta() const
pseudorapidity method
const McEventCollection * events_const() const
Access the current event's McEventCollection (const)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
parents
print ("==> buf:",buf)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
virtual StatusCode filterEvent()=0
bool isDirectlyFromTop(const HepMC::ConstGenParticlePtr &part) const
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool isCHadron(const HepMC::ConstGenParticlePtr &part) const
virtual StatusCode filterInitialize()
bool passCSelection(const HepMC::ConstGenParticlePtr &part) const
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.
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
bool is_simulation_particle(const T &p)
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be s...
bool passBSelection(const HepMC::ConstGenParticlePtr &part) const
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< McEventCollection > m_mcevents_const
Const handle to the MC event collection.
bool m_useFinalStateHadrons
properties
#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 isInitialHadron(const HepMC::ConstGenParticlePtr &part) const
HepMC::ConstGenParticlePtr findInitial(const HepMC::ConstGenParticlePtr &part) const
bool isFinalHadron(const HepMC::ConstGenParticlePtr &part) const
virtual StatusCode filterFinalize()
DataObjIDColl m_extendedExtraObjects
#define ATH_MSG_WARNING(x)
bool isCHadronFromB(const HepMC::ConstGenParticlePtr &part) const
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
GenFilter(const std::string &name, ISvcLocator *pSvcLocator)
bool isFromTop(const HepMC::ConstGenParticlePtr &part) const
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
bool isDirectlyFromWTop(const HepMC::ConstGenParticlePtr &part) const
virtual StatusCode initialize() override
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.