ATLAS Offline Software
Public Member Functions | List of all members
TrkDriftCircleMath::DCSLHitSelector Class Reference

#include <DCSLHitSelector.h>

Collaboration diagram for TrkDriftCircleMath::DCSLHitSelector:

Public Member Functions

 DCSLHitSelector ()=default
 
const HitSelection selectHitsOnTrack (const DCOnTrackVec &dcs) const
 

Detailed Description

Definition at line 13 of file DCSLHitSelector.h.

Constructor & Destructor Documentation

◆ DCSLHitSelector()

TrkDriftCircleMath::DCSLHitSelector::DCSLHitSelector ( )
default

Member Function Documentation

◆ selectHitsOnTrack()

const HitSelection TrkDriftCircleMath::DCSLHitSelector::selectHitsOnTrack ( const DCOnTrackVec dcs) const
inline

Definition at line 20 of file DCSLHitSelector.h.

20  {
22  selection.resize(dcs.size(), 1);
23  for (unsigned int i = 0; i < dcs.size(); ++i) {
24  if (dcs[i].state() == DCOnTrack::OnTrack) selection[i] = 0;
25  }
26  return selection;
27  }

The documentation for this class was generated from the following file:
TrkDriftCircleMath::HitSelection
std::vector< bool > HitSelection
Definition: HitSelection.h:9
lumiFormat.i
int i
Definition: lumiFormat.py:85
selection
std::string selection
Definition: fbtTestBasics.cxx:75
TrkDriftCircleMath::DCOnTrack::OnTrack
@ OnTrack
Definition: DCOnTrack.h:20