8#include <tracking/trackFindingCDC/filters/wireHit/CDCWireHitVarSet.h>
9#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
10#include <cdc/dataobjects/CDCHit.h>
12#include <framework/core/ModuleParamList.templateDetails.h>
15using namespace TrackFindingCDC;
17CDCWireHitVarSet::CDCWireHitVarSet() : Super()
28 const auto* cdcHit = wireHit->getHit();
29 var<
named(
"adc")>() = cdcHit->getADCCount();
30 var<
named(
"tot")>() = cdcHit->getTOT();
31 var<
named(
"tdc")>() = cdcHit->getTDCCount();
32 var<
named(
"slayer")>() = cdcHit->getISuperLayer() == 0 ? 0 : 1;
void initialize() override
Receive signal before the start of the event processing.
bool extract(const CDCWireHit *object) final
Generate and assign the variables from the object.
Class representing a hit wire in the central drift chamber.
void initialize() override
Receive and dispatch signal before the start of the event processing.
static constexpr int named(const char *name)
Getter for the index from the name.
Float_t & var()
Reference getter for the value of the ith variable. Static version.
Abstract base class for different kinds of events.