LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
GeoObjectSorterStandard.h
Go to the documentation of this file.
1 #ifndef GEO_GEOOBJECTSORTERSTANDARD_H
9 #define GEO_GEOOBJECTSORTERSTANDARD_H
10 
11 #include <vector>
12 
13 #include "fhiclcpp/fwd.h"
15 #include "larcoreobj/SimpleTypesAndConstants/geo_types.h" // for DriftDirec...
16 
17 namespace geo {
18 
19  class AuxDetGeo;
20  class AuxDetSensitiveGeo;
21  class CryostatGeo;
22  class PlaneGeo;
23  class TPCGeo;
24  class WireGeo;
25 
28  public:
30 
31  void SortAuxDets(std::vector<geo::AuxDetGeo>& adgeo) const override;
32  void SortAuxDetSensitive(std::vector<geo::AuxDetSensitiveGeo>& adsgeo) const override;
33  void SortCryostats(std::vector<geo::CryostatGeo>& cgeo) const override;
34  void SortTPCs(std::vector<geo::TPCGeo>& tgeo) const override;
35  void SortPlanes(std::vector<geo::PlaneGeo>& pgeo,
36  geo::DriftDirection_t driftDir) const override;
37  void SortWires(std::vector<geo::WireGeo>& wgeo) const override;
38  };
39 
40 }
41 
42 #endif // GEO_GEOOBJECTSORTERSTANDARD_H
void SortWires(std::vector< geo::WireGeo > &wgeo) const override
void SortTPCs(std::vector< geo::TPCGeo > &tgeo) const override
Interface to algorithm class for sorting geo::XXXGeo objects.
void SortPlanes(std::vector< geo::PlaneGeo > &pgeo, geo::DriftDirection_t driftDir) const override
enum geo::driftdir DriftDirection_t
Drift direction: positive or negative.
Definition of data types for geometry description.
void SortAuxDetSensitive(std::vector< geo::AuxDetSensitiveGeo > &adsgeo) const override
GeoObjectSorterStandard(fhicl::ParameterSet const &p)
void SortCryostats(std::vector< geo::CryostatGeo > &cgeo) const override
void SortAuxDets(std::vector< geo::AuxDetGeo > &adgeo) const override
Namespace collecting geometry-related classes utilities.