12#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13#include <framework/database/DBArray.h>
14#include <cdc/dbobjects/CDCChannelMap.h>
22 namespace TrackFindingCDC {
Database object of CDC channel map.
Class for accessing arrays of objects in the database.
The Module parameter list class.
Marks hits as background based on the result of a filter.
virtual void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
std::unique_ptr< DBArray< CDCChannelMap > > m_channelMapFromDB
Channel map retrieved from DB.
double m_deviation_from_median
distance from median TDC, to be considered as bg.
void initialize() final
Access database here:
void beginRun() final
Reload channel map if needed.
size_t m_nsignal_max
max. number of signal-like hits in ASIC for background check
std::map< int, std::pair< int, int > > m_map
map from ewire to board/channel ID
std::string getDescription() final
Short description of the findlet.
size_t m_max_asic_error_messages
max. number of logged error messages for number of hits per ASIC check
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
size_t m_minimal_hit_number
min. number of hits in ASIC for background check
AsicBackgroundDetector()=default
Default constructor.
void applyAsicFilter(std::vector< CDCWireHit * > &wireHits)
Algorithm marking hit as background for each CDC ASIC.
Class representing a hit wire in the central drift chamber.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Abstract base class for different kinds of events.