Class ParticleCollector
Defined in File ParticleCollector.h
Inheritance Relationships
Base Type
public Module
(Class Module)
Class Documentation
-
class ParticleCollector : public Module
A helper ouput mechanism to keep candidates in-memory and directly transfer them to Python.
Public Types
-
typedef tContainer::iterator iterator
iterator goodies
-
typedef tContainer::const_iterator const_iterator
Public Functions
-
ParticleCollector()
-
ParticleCollector(const std::size_t nBuffer)
-
ParticleCollector(const std::size_t nBuffer, const bool clone)
-
ParticleCollector(const std::size_t nBuffer, const bool clone, const bool recursive)
-
~ParticleCollector()
-
void dump(const std::string &filename) const
-
void load(const std::string &filename)
-
std::size_t size() const
-
void clearContainer()
-
virtual std::string getDescription() const
-
void setClone(bool b)
-
bool getClone() const
-
const_iterator begin() const
-
const_iterator end() const
-
void getTrajectory(ModuleList *mlist, std::size_t i, Module *output) const
Retrieves the trajectory of a detected particle Procedure: takes the initial state of the particle, re-runs the ModuleList for that particle and captures trajectory
-
void getTrajectory(ref_ptr<ModuleList> mlist, std::size_t i, ref_ptr<Module> output) const
-
void setDescription(const std::string &description)
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
typedef tContainer::iterator iterator