11#include <framework/core/Module.h>
12#include <framework/datastore/StoreArray.h>
13#include <framework/datastore/SelectSubset.h>
14#include <ecl/dataobjects/ECLShower.h>
15#include <ecl/dataobjects/ECLCalDigit.h>
46 virtual void event()
override;
Class to store calibrated ECLDigits: ECLCalDigits.
Class to store ECL Showers.
Create new dataobjects containing only the ECLShower and ECLCalDigits associated with the selected EC...
StoreArray< MCParticle > m_mcParticleArray
Array of MCParticles.
StoreArray< ECLShower > m_eclShowerArray
Array of ECLShowers.
std::string m_DigitArrayName
Name of new ECLCalDigit StoreArray.
virtual void initialize() override
Register input and output data.
virtual void event() override
Event.
StoreArray< ECLCluster > m_eclClusterArray
Array of ECLClusters.
bool selectShower(const ECLShower *shower)
keep the ECLShower or not
std::string m_ShowerArrayName
Name of new ECLShower StoreArray.
bool selectDigit(const ECLCalDigit *digit)
keep the ECLCalDigit or not
virtual void terminate() override
Terminate.
ECLTrimShowersAndDigitsModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreArray< ECLCalDigit > m_eclCalDigitArray
Array of ECLCalDigits.
SelectSubset< ECLCalDigit > m_selectedDigits
selected ECLCalDigits
unsigned short maxCellID
used to identify the cluster of interest
SelectSubset< ECLShower > m_selectedShowers
selected ECLShowers
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.