#include <PurgeUnstableParticles.h>
◆ PurgeUnstableParticles() [1/2]
PurgeUnstableParticles::PurgeUnstableParticles |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ PurgeUnstableParticles() [2/2]
PurgeUnstableParticles::PurgeUnstableParticles |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ execute() [1/2]
StatusCode PurgeUnstableParticles::execute |
( |
| ) |
|
Definition at line 35 of file PurgeUnstableParticles.cxx.
35 {
36
37 SmartDataPtr<McEventCollection> mcCollptr(eventDataService(),
38 m_mcEventColl);
39 if(mcCollptr) {
40 McEventCollection::iterator it;
41 for(it=mcCollptr->begin(); it!=mcCollptr->end(); it++) {
42 (*it)->purgeUnstableParticles();
43
44 }
45 }
46
47 return StatusCode::SUCCESS;
48
49}
◆ execute() [2/2]
StatusCode PurgeUnstableParticles::execute |
( |
| ) |
|
◆ finalize() [1/2]
StatusCode PurgeUnstableParticles::finalize |
( |
| ) |
|
◆ finalize() [2/2]
StatusCode PurgeUnstableParticles::finalize |
( |
| ) |
|
◆ initialize() [1/2]
StatusCode PurgeUnstableParticles::initialize |
( |
| ) |
|
Definition at line 20 of file PurgeUnstableParticles.cxx.
20 {
21
22 IDataManagerSvc* m_DMS;
23 StatusCode sc = serviceLocator()->getService("EventDataSvc",
24 IID_IDataManagerSvc,
25 (IInterface*&)m_DMS);
26 if (sc.isFailure()) { return sc; }
27
28 std::string rootEventName = m_DMS->rootEventName();
29 m_mcEventColl = rootEventName + "/McEventCollection";
30
31 return StatusCode::SUCCESS;
32
33}
◆ initialize() [2/2]
StatusCode PurgeUnstableParticles::initialize |
( |
| ) |
|
The documentation for this class was generated from the following files: