Belle II Software
release-05-01-25
AllWireHitFilter.cc
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2019 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Oliver Frost, Cyrille Praz *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#include <tracking/trackFindingCDC/filters/wireHit/AllWireHitFilter.h>
11
12
#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
13
#include <cdc/dataobjects/CDCHit.h>
14
15
using namespace
Belle2
;
16
using namespace
TrackFindingCDC;
17
18
Weight
AllWireHitFilter::operator()
(
const
CDCWireHit
& wireHit)
19
{
20
return
(*wireHit.
getHit
()).getADCCount();
21
}
Belle2::TrackFindingCDC::AllWireHitFilter::operator()
Weight operator()(const CDCWireHit &wireHit) final
Basic filter method to override. All implementation accepts all hits.
Definition:
AllWireHitFilter.cc:18
Belle2::TrackFindingCDC::CDCWireHit::getHit
const CDCHit * getHit() const
Getter for the CDCHit pointer into the StoreArray.
Definition:
CDCWireHit.h:167
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::CDCWireHit
Class representing a hit wire in the central drift chamber.
Definition:
CDCWireHit.h:65
tracking
trackFindingCDC
filters
wireHit
src
AllWireHitFilter.cc
Generated on Fri Nov 5 2021 04:02:46 for Belle II Software by
1.8.17