HerdSoftware  0.3.2
Public Member Functions | Private Attributes | List of all members
Herd::StkIntersectionsCut Class Reference

A cut about the number of intersections of a track with STK. More...

#include <algorithms/geometry/StkIntersectionsCut.h>

Inheritance diagram for Herd::StkIntersectionsCut:

Public Member Functions

 StkIntersectionsCut (const std::string &name)
 Constructor. More...
 
bool Initialize () override
 Initializes the cut. More...
 
bool Process () override
 Applies the cut. More...
 
bool Finalize () override
 Do nothing. More...
 

Private Attributes

observer_ptr< EventDataStore > _evStore
 
unsigned int _nOfStkInt
 Pointer to the event data store. More...
 

Detailed Description

A cut about the number of intersections of a track with STK.

This cut rejects events with a number of intersection less than a given threshold

Needed event objects:

name type store optional description
stkIntersectionsMC StkIntersections evStore no Info about the track intersections with STK.

Parameters:

name type default value description
nOfStkInt int 12 The number of intersections.

Constructor & Destructor Documentation

◆ StkIntersectionsCut()

Herd::StkIntersectionsCut::StkIntersectionsCut ( const std::string &  name)

Constructor.

Parameters
nameThe name of the algorithm object.

Member Function Documentation

◆ Finalize()

bool Herd::StkIntersectionsCut::Finalize ( )
override

Do nothing.

Returns
true if no error occurs during finalization, false otherwise.

◆ Initialize()

bool Herd::StkIntersectionsCut::Initialize ( )
override

Initializes the cut.

Returns
true if initialization is done without errors, false otherwise.

◆ Process()

bool Herd::StkIntersectionsCut::Process ( )
override

Applies the cut.

Returns
true if no error occurs during processing, false otherwise.

Member Data Documentation

◆ _evStore

observer_ptr<EventDataStore> Herd::StkIntersectionsCut::_evStore
private

◆ _nOfStkInt

unsigned int Herd::StkIntersectionsCut::_nOfStkInt
private

Pointer to the event data store.

The threshold for the cut, i.e. the minimum number of interesections.


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