8 #include <tracking/modules/trackFinderCDC/CDCTrackingEventLevelMdstInfoFillerModule.h>
11 using namespace TrackFindingCDC;
14 REG_MODULE(CDCTrackingEventLevelMdstInfoFiller);
19 return "This module adds additional global event level information about CDC track finding results to the MDST object CDCTrackingEventLevelTrackingInfo";
30 const std::vector<CDCSegment2D>& inputWireHitSegments)
32 int nhitTotal = inputWireHits.size();
45 int nSignal = nTaken - nBg;
47 B2ASSERT(
"More background than taken CDC Wire hits", nSignal >= 0);
49 int nRest = nhitTotal - nSignal;
51 int nRestCleaned = nhitTotal - nTaken;
56 B2DEBUG(10,
"Total " << nhitTotal <<
" taken " << nTaken <<
" background " << nBg <<
" signal " << nTaken - nBg <<
57 " Not assigned " << nRestCleaned);
69 B2DEBUG(10,
"Total number of segments =" << inputWireHitSegments.size() <<
" Taken " << nTaken <<
" BG " << nBg);
Cell used by the cellular automata.
bool hasBackgroundFlag() const
Gets the current state of the do not use flag marker flag.
bool hasTakenFlag() const
Gets the current state of the taken marker flag.
A reconstructed sequence of two dimensional hits in one super layer.
void apply(const std::vector< CDCWireHit > &inputWireHits, const std::vector< CDCSegment2D > &inputWireHitSegments) final
Main method to make the heavy lifting.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
Acccess to the CDCTrackingEventLevelTrackingInfo object in the datastore.
void initialize() final
Signal the begining of the event processing.
std::string getDescription() final
Getter for the module description.
Class representing a hit wire in the central drift chamber.
void initialize() override
Receive and dispatch signal before the start of the event processing.
REG_MODULE(arichBtest)
Register the Module.
Abstract base class for different kinds of events.