1 #ifndef EVENT_LCCOLLECTIONVEC_H
2 #define EVENT_LCCOLLECTIONVEC_H 1
The generic object that is held in an LCCollection.
virtual EVENT::LCParameters & parameters()
Parameters defined for this run.
virtual int getNumberOfElements() const
Returns the number of entries in the collection.
void setSubset(bool val=true)
Sets the subset flag for this collection.
virtual EVENT::LCObject * getElementAt(int index) const
Returns pointer to element at index - no range check !.
void setDefault(bool val=true)
Sets the default flag for this collection.
Implementation of the LCCollection using (inheriting from) an STL vector of LCObjects.
LCCollectionVec()
Default Constructor - don't use - only public for auto-generated streamers in the ROOT dictionary !! ...
virtual const EVENT::LCParameters & getParameters() const
Parameters defined for this run.
virtual bool isDefault() const
True if collection is the default collection for the given type.
void setTransient(bool val=true)
Sets the transient flag for this collection.
void setFlag(int flag)
Sets the flag word for this collection.
void setReadOnly(bool readOnly)
virtual ~LCCollectionVec()
Destructor.
Implementation of Simple interface to store generic named parameters of type int, float and string...
virtual const std::string & getTypeName() const
Returns the type name of the collection - valid names are defined in LCIO.
Simple interface to store generic named parameters of type int, float and string. ...
virtual bool isSubset() const
True if the collection holds a subset of objects from other collections.
virtual void addElement(EVENT::LCObject *obj)
Adds the given element to (end of) the collection.
The generic collection used in LCIO.
virtual int getFlag() const
Returns flag word for collection.
virtual void removeElementAt(int i)
Removes the i-th element from the collection.
Controls access to objects.
virtual bool isTransient() const
True if collection is transient, i.e.