GeoObjectSorterStandard.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file GeoObjectSorterStandard.h
3 /// \brief Interface to algorithm class for standard sorting of geo::XXXGeo objects
4 /// \ingroup Geometry
5 ///
6 /// \author brebel@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef GEO_GEOOBJECTSORTERSTANDARD_H
9 #define GEO_GEOOBJECTSORTERSTANDARD_H
10 
11 #include <vector>
12 
14 #include "larcoreobj/SimpleTypesAndConstants/geo_types.h" // for DriftDirec...
15 #include "fhiclcpp/fwd.h"
16 
17 namespace geo{
18 
19  class AuxDetGeo;
20  class AuxDetSensitiveGeo;
21  class CryostatGeo;
22  class PlaneGeo;
23  class TPCGeo;
24  class WireGeo;
25 
26  /// @ingroup Geometry
28  public:
29 
31 
32  void SortAuxDets (std::vector<geo::AuxDetGeo> & adgeo) const override;
33  void SortAuxDetSensitive(std::vector<geo::AuxDetSensitiveGeo>& adsgeo) const override;
34  void SortCryostats (std::vector<geo::CryostatGeo> & cgeo) const override;
35  void SortTPCs (std::vector<geo::TPCGeo> & tgeo) const override;
36  void SortPlanes (std::vector<geo::PlaneGeo> & pgeo,
37  geo::DriftDirection_t driftDir) const override;
38  void SortWires (std::vector<geo::WireGeo> & wgeo) const override;
39  };
40 
41 }
42 
43 #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.
p
Definition: test.py:223
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
LArSoft geometry interface.
Definition: ChannelGeo.h:16