Public Member Functions | List of all members
geo::GeoObjectSorter Class Referenceabstract

#include <GeoObjectSorter.h>

Inheritance diagram for geo::GeoObjectSorter:
geo::GeoObjectSorter35 geo::GeoObjectSorterAPA geo::GeoObjectSorterCRM geo::GeoObjectSorterCRU geo::GeoObjectSorterStandard

Public Member Functions

virtual ~GeoObjectSorter ()=default
 
virtual void SortAuxDets (std::vector< geo::AuxDetGeo > &adgeo) const =0
 
virtual void SortAuxDetSensitive (std::vector< geo::AuxDetSensitiveGeo > &adsgeo) const =0
 
virtual void SortCryostats (std::vector< geo::CryostatGeo > &cgeo) const =0
 
virtual void SortTPCs (std::vector< geo::TPCGeo > &tgeo) const =0
 
virtual void SortPlanes (std::vector< geo::PlaneGeo > &pgeo, geo::DriftDirection_t driftDir) const =0
 
virtual void SortWires (std::vector< geo::WireGeo > &wgeo) const =0
 
virtual void SortOpDets (std::vector< geo::OpDetGeo > &opdet) const
 

Detailed Description

Definition at line 25 of file GeoObjectSorter.h.

Constructor & Destructor Documentation

virtual geo::GeoObjectSorter::~GeoObjectSorter ( )
virtualdefault

Member Function Documentation

virtual void geo::GeoObjectSorter::SortAuxDets ( std::vector< geo::AuxDetGeo > &  adgeo) const
pure virtual
virtual void geo::GeoObjectSorter::SortAuxDetSensitive ( std::vector< geo::AuxDetSensitiveGeo > &  adsgeo) const
pure virtual
virtual void geo::GeoObjectSorter::SortCryostats ( std::vector< geo::CryostatGeo > &  cgeo) const
pure virtual
void geo::GeoObjectSorter::SortOpDets ( std::vector< geo::OpDetGeo > &  opdet) const
virtual

Reimplemented in geo::GeoObjectSorterAPA, geo::GeoObjectSorterCRM, and geo::GeoObjectSorterCRU.

Definition at line 31 of file GeoObjectSorter.cxx.

32  {
33  std::sort(opdet.begin(), opdet.end(), sortorderOpDets);
34  }
static bool sortorderOpDets(const OpDetGeo &t1, const OpDetGeo &t2)
virtual void geo::GeoObjectSorter::SortPlanes ( std::vector< geo::PlaneGeo > &  pgeo,
geo::DriftDirection_t  driftDir 
) const
pure virtual
virtual void geo::GeoObjectSorter::SortTPCs ( std::vector< geo::TPCGeo > &  tgeo) const
pure virtual
virtual void geo::GeoObjectSorter::SortWires ( std::vector< geo::WireGeo > &  wgeo) const
pure virtual

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