Belle II Software
release-05-01-25
HitReclaimer.cc
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2018 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Dmitrii Neverov *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#include <tracking/trackFindingCDC/findlets/minimal/HitReclaimer.h>
12
#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
13
14
using namespace
Belle2
;
15
using namespace
TrackFindingCDC;
16
17
HitReclaimer::HitReclaimer
() =
default
;
18
19
void
HitReclaimer::initialize
()
20
{
21
Super::initialize
();
22
}
23
24
std::string
HitReclaimer::getDescription
()
25
{
26
return
"A small findlet that removes flags from hits not accepted by conventional tracking."
;
27
}
28
29
void
HitReclaimer::apply
(
const
std::vector<CDCWireHit>& wireHits)
30
{
31
for
(
const
CDCWireHit
& wireHit : wireHits) {
32
if
(wireHit->hasBackgroundFlag() or wireHit->hasMaskedFlag()) {
33
wireHit->unsetTakenFlag();
34
}
35
}
36
}
Belle2::TrackFindingCDC::HitReclaimer::initialize
void initialize() final
Initialisation before the event processing starts.
Definition:
HitReclaimer.cc:19
Belle2::TrackFindingCDC::CompositeProcessingSignalListener::initialize
void initialize() override
Receive and dispatch signal before the start of the event processing.
Definition:
CompositeProcessingSignalListener.cc:17
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::HitReclaimer::apply
void apply(const std::vector< CDCWireHit > &wireHits)
Execute over wireHits.
Definition:
HitReclaimer.cc:29
Belle2::TrackFindingCDC::HitReclaimer::getDescription
std::string getDescription() final
Short description of the findlet.
Definition:
HitReclaimer.cc:24
Belle2::TrackFindingCDC::CDCWireHit
Class representing a hit wire in the central drift chamber.
Definition:
CDCWireHit.h:65
Belle2::TrackFindingCDC::HitReclaimer::HitReclaimer
HitReclaimer()
Constructor.
tracking
trackFindingCDC
findlets
minimal
src
HitReclaimer.cc
Generated on Fri Nov 5 2021 04:03:03 for Belle II Software by
1.8.17