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

#include <acts/blob/master/Core/include/Acts/Surfaces/DiscBounds.hpp>

+ Inheritance diagram for Acts::DiscBounds:
+ Collaboration diagram for Acts::DiscBounds:

Public Member Functions

virtual double rMin () const =0
 Return method for inner Radius.
 
virtual double rMax () const =0
 Return method for outer Radius.
 
virtual std::vector< Vector2Dvertices (unsigned int lseg) const =0
 
virtual double binningValueR () const =0
 Returns a reference radius for binning.
 
virtual double binningValuePhi () const =0
 Returns a refererance phi for binning.
 
virtual bool coversFullAzimuth () const =0
 Returns true for full phi coverage.
 
virtual bool insideRadialBounds (double R, double tolerance=0.) const =0
 Checks if it's inside the radius.
 
- Public Member Functions inherited from Acts::SurfaceBounds
virtual ~SurfaceBounds ()=default
 
virtual BoundsType type () const =0
 
virtual std::vector< double > values () const =0
 
virtual bool inside (const Vector2D &lposition, const BoundaryCheck &bcheck) const =0
 
virtual double distanceToBoundary (const Vector2D &lposition) const =0
 
virtual std::ostream & toStream (std::ostream &os) const =0
 

Additional Inherited Members

- Public Types inherited from Acts::SurfaceBounds
enum  BoundsType : int {
  eCone = 0, eCylinder = 1, eDiamond = 2, eDisc = 3,
  eEllipse = 5, eLine = 6, eRectangle = 7, eTrapezoid = 8,
  eTriangle = 9, eDiscTrapezoid = 10, eConvexPolygon = 11, eAnnulus = 12,
  eBoundless = 13, eOther = 14
}
 

Detailed Description

common base class for all bounds that are in a r/phi frame

  • simply introduced to avoid wrong bound assigments to surfaces

Definition at line 20 of file DiscBounds.hpp.

View newest version in sPHENIX GitHub at line 20 of file DiscBounds.hpp

Member Function Documentation

virtual double Acts::DiscBounds::binningValuePhi ( ) const
pure virtual

Returns a refererance phi for binning.

Implemented in Acts::AnnulusBounds, Acts::DiscTrapezoidBounds, and Acts::RadialBounds.

virtual double Acts::DiscBounds::binningValueR ( ) const
pure virtual

Returns a reference radius for binning.

Implemented in Acts::AnnulusBounds, Acts::DiscTrapezoidBounds, and Acts::RadialBounds.

virtual bool Acts::DiscBounds::coversFullAzimuth ( ) const
pure virtual

Returns true for full phi coverage.

Implemented in Acts::AnnulusBounds, Acts::DiscTrapezoidBounds, and Acts::RadialBounds.

virtual bool Acts::DiscBounds::insideRadialBounds ( double  R,
double  tolerance = 0. 
) const
pure virtual

Checks if it's inside the radius.

Implemented in Acts::AnnulusBounds, Acts::DiscTrapezoidBounds, and Acts::RadialBounds.

virtual double Acts::DiscBounds::rMax ( ) const
pure virtual

Return method for outer Radius.

Implemented in Acts::AnnulusBounds, Acts::DiscTrapezoidBounds, and Acts::RadialBounds.

virtual double Acts::DiscBounds::rMin ( ) const
pure virtual

Return method for inner Radius.

Implemented in Acts::AnnulusBounds, Acts::DiscTrapezoidBounds, and Acts::RadialBounds.

virtual std::vector<Vector2D> Acts::DiscBounds::vertices ( unsigned int  lseg) const
pure virtual

Return the vertices

Parameters
lsegthe number of segments used to approximate and eventually curved line, the number referrs to full 2*PI
Note
that the extremas are given, which may slightly alter the number of segments returned
Returns
vector for vertices in 2D

Implemented in Acts::AnnulusBounds, Acts::RadialBounds, and Acts::DiscTrapezoidBounds.


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