10#include <framework/core/Module.h>
12#include <analysis/VariableManager/Utility.h>
13#include <analysis/dataobjects/RestOfEvent.h>
14#include <analysis/dataobjects/Particle.h>
16#include <analysis/dataobjects/ParticleList.h>
17#include <framework/datastore/StoreObjPtr.h>
48 virtual void event()
override;
61 std::shared_ptr<Variable::Cut>
m_cut;
EParticleSourceObject
particle source enumerators
Updates an existing mask (map of boolean values) for tracks or eclClusters in RestOfEvent with an ava...
std::string m_selection
Cut string which will be used for updating masks.
virtual void initialize() override
Overridden initialize method.
virtual void event() override
Overridden event method.
std::shared_ptr< Variable::Cut > m_cut
Cut object which performs the cuts.
std::vector< std::string > m_maskNamesForUpdating
Container for all mask names which will be updated.
std::map< unsigned int, unsigned int > intAndIntMap
Type definition helper for a map of integer and integer.
StoreObjPtr< ParticleList > m_inputList
ParticleList which contains information that will be used for updating.
void updateMasksWithParticles(const StoreObjPtr< RestOfEvent > &roe, std::vector< const Particle * > &particlesToUpdate, Particle::EParticleSourceObject listType)
Update ROE masks by excluding or keeping particles.
std::map< unsigned int, bool > intAndBoolMap
Type definition helper for a map of integer and boolean.
void updateMasksWithV0(const StoreObjPtr< RestOfEvent > &roe, const std::vector< const Particle * > &particlesToUpdate)
Update ROE masks with provided composite particle collection.
RestOfEventUpdaterModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::string m_inputListName
Name of the ParticleList which contains information that will be used for updating.
bool m_discard
Update the ROE mask by passing or discarding particles in the provided particle list.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.