Class NeutralPolicy

Class Documentation

class Acts::NeutralPolicy

policy class for neutral particles/tracks

This type is meant to be used as template parameter to the SingleTrackParameters class and its derived classes in order to provide a distinction between charged and neutral track (parameters) at the C++ type level. This allows other class to employ optimized algorithms for either case by using template specializations.

Public Functions

double getCharge() const

get electric charge

Return

always 0

bool operator!=(const NeutralPolicy &rhs) const

inequality operator

Return

always false

bool operator==(const NeutralPolicy&) const

equality operator

Return

always true