ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::NeutralPolicy Class Reference

policy class for neutral particles/tracks More...

#include <acts/blob/master/Core/include/Acts/EventData/ChargePolicy.hpp>

Public Member Functions

bool operator== (const NeutralPolicy &) const
 equality operator
 
bool operator!= (const NeutralPolicy &rhs) const
 inequality operator
 
double getCharge () const
 get electric charge
 

Detailed Description

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.

Definition at line 72 of file ChargePolicy.hpp.

View newest version in sPHENIX GitHub at line 72 of file ChargePolicy.hpp

Member Function Documentation

double Acts::NeutralPolicy::getCharge ( ) const
inline

get electric charge

Returns
always 0

Definition at line 87 of file ChargePolicy.hpp.

View newest version in sPHENIX GitHub at line 87 of file ChargePolicy.hpp

bool Acts::NeutralPolicy::operator!= ( const NeutralPolicy rhs) const
inline

inequality operator

Returns
always false

Definition at line 82 of file ChargePolicy.hpp.

View newest version in sPHENIX GitHub at line 82 of file ChargePolicy.hpp

bool Acts::NeutralPolicy::operator== ( const NeutralPolicy ) const
inline

equality operator

Returns
always true

Definition at line 77 of file ChargePolicy.hpp.

View newest version in sPHENIX GitHub at line 77 of file ChargePolicy.hpp


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