LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
TPCwithArea_t Struct Reference
Inheritance diagram for TPCwithArea_t:
geo::part::AreaOwner

Public Types

using Area_t = geo::part::AreaOwner::Area_t
 
using AreaRangeMember_t = Area_t::Range_t(Area_t::*)
 Type of pointer to Area_t data member of type Range_t. More...
 

Public Member Functions

 TPCwithArea_t (Area_t area, geo::TPCGeo const *TPC)
 
bool contains (double w, double d) const
 Returns whether the specified point is covered by this object. More...
 
Area_t const & area () const
 Returns the covered area. More...
 
template<typename Stream >
void dumpArea (Stream &&out) const
 Output the owned area into an output stream. More...
 

Public Attributes

geo::TPCGeo const * TPC = nullptr
 

Detailed Description

Definition at line 392 of file DriftPartitions.cxx.

Member Typedef Documentation

Type of pointer to Area_t data member of type Range_t.

Definition at line 46 of file Partitions.h.

Constructor & Destructor Documentation

TPCwithArea_t::TPCwithArea_t ( Area_t  area,
geo::TPCGeo const *  TPC 
)
inline

Definition at line 397 of file DriftPartitions.cxx.

References TPCarea().

A basic interface for objects owning an area.
Definition: Partitions.h:39
geo::TPCGeo const * TPC
Area_t const & area() const
Returns the covered area.
Definition: Partitions.h:56

Member Function Documentation

bool geo::part::AreaOwner::contains ( double  w,
double  d 
) const
inlineinherited

Returns whether the specified point is covered by this object.

Definition at line 52 of file Partitions.h.

References geo::part::AreaOwner::area(), and lar::util::simple_geo::Rectangle< Data >::contains().

53  { return area().contains(w, d); }
bool contains(Data_t w, Data_t d) const
Returns whether the specified point is in the area.
Definition: SimpleGeo.h:408
Float_t d
Definition: plot.C:237
Area_t const & area() const
Returns the covered area.
Definition: Partitions.h:56
Float_t w
Definition: plot.C:23
template<typename Stream >
void geo::part::AreaOwner::dumpArea ( Stream &&  out) const
inlineinherited

Output the owned area into an output stream.

Definition at line 60 of file Partitions.h.

References geo::part::AreaOwner::area().

Referenced by geo::part::PartitionBase::describeArea().

60 { std::forward<Stream>(out) << area(); }
Area_t const & area() const
Returns the covered area.
Definition: Partitions.h:56

Member Data Documentation

geo::TPCGeo const* TPCwithArea_t::TPC = nullptr

Definition at line 395 of file DriftPartitions.cxx.

Referenced by makeTPCPartitionElement().


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