EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TestHostCuts Class Reference

Custom selection cuts for the test, used on the host. More...

#include <acts/blob/sPHENIX/Tests/UnitTests/Plugins/Cuda/Seeding2/TestHostCuts.hpp>

+ Inheritance diagram for TestHostCuts:
+ Collaboration diagram for TestHostCuts:

Public Member Functions

float seedWeight (const Acts::InternalSpacePoint< TestSpacePoint > &bottom, const Acts::InternalSpacePoint< TestSpacePoint > &middle, const Acts::InternalSpacePoint< TestSpacePoint > &top) const
 
bool singleSeedCut (float weight, const Acts::InternalSpacePoint< TestSpacePoint > &bottom, const Acts::InternalSpacePoint< TestSpacePoint > &, const Acts::InternalSpacePoint< TestSpacePoint > &) const
 
std::vector< std::pair< float,
std::unique_ptr< const
Acts::InternalSeed
< TestSpacePoint > > > > 
cutPerMiddleSP (std::vector< std::pair< float, std::unique_ptr< const Acts::InternalSeed< TestSpacePoint >>>> seeds) const
 
- Public Member Functions inherited from Acts::IExperimentCuts< TestSpacePoint >
virtual ~IExperimentCuts ()=default
 

Detailed Description

Custom selection cuts for the test, used on the host.

Definition at line 18 of file TestHostCuts.hpp.

View newest version in sPHENIX GitHub at line 18 of file TestHostCuts.hpp

Member Function Documentation

std::vector< std::pair< float, std::unique_ptr< const Acts::InternalSeed< TestSpacePoint > > > > TestHostCuts::cutPerMiddleSP ( std::vector< std::pair< float, std::unique_ptr< const Acts::InternalSeed< TestSpacePoint >>>>  seeds) const
virtual
Parameters
seedscontains pairs of weight and seed created for one middle space point
Returns
vector of seeds that pass the cut

Implements Acts::IExperimentCuts< TestSpacePoint >.

Definition at line 35 of file TestHostCuts.cpp.

View newest version in sPHENIX GitHub at line 35 of file TestHostCuts.cpp

References min, and vector().

+ Here is the call graph for this function:

float TestHostCuts::seedWeight ( const Acts::InternalSpacePoint< TestSpacePoint > &  bottom,
const Acts::InternalSpacePoint< TestSpacePoint > &  middle,
const Acts::InternalSpacePoint< TestSpacePoint > &  top 
) const
virtual

Returns seed weight bonus/malus depending on detector considerations.

Parameters
bottombottom space point of the current seed
middlemiddle space point of the current seed
toptop space point of the current seed
Returns
seed weight to be added to the seed's weight

Implements Acts::IExperimentCuts< TestSpacePoint >.

Definition at line 12 of file TestHostCuts.cpp.

View newest version in sPHENIX GitHub at line 12 of file TestHostCuts.cpp

References Acts::InternalSpacePoint< SpacePoint >::radius().

+ Here is the call graph for this function:

bool TestHostCuts::singleSeedCut ( float  weight,
const Acts::InternalSpacePoint< TestSpacePoint > &  bottom,
const Acts::InternalSpacePoint< TestSpacePoint > &  ,
const Acts::InternalSpacePoint< TestSpacePoint > &   
) const
virtual
Parameters
weightthe current seed weight
bottombottom space point of the current seed
middlemiddle space point of the current seed
toptop space point of the current seed
Returns
true if the seed should be kept, false if the seed should be discarded

Implements Acts::IExperimentCuts< TestSpacePoint >.

Definition at line 26 of file TestHostCuts.cpp.

View newest version in sPHENIX GitHub at line 26 of file TestHostCuts.cpp

References Acts::InternalSpacePoint< SpacePoint >::radius().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: