All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
30  GeoObjectSorterStandard(fhicl::ParameterSet const& p);
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 SortTPCs(std::vector< geo::TPCGeo > &tgeo) const override
void SortAuxDetSensitive(std::vector< geo::AuxDetSensitiveGeo > &adsgeo) const override
void SortCryostats(std::vector< geo::CryostatGeo > &cgeo) const override
void SortAuxDets(std::vector< geo::AuxDetGeo > &adgeo) const override
pdgs p
Definition: selectors.fcl:22
Interface to algorithm class for sorting geo::XXXGeo objects.
enum geo::driftdir DriftDirection_t
Drift direction: positive or negative.
Definition of data types for geometry description.
GeoObjectSorterStandard(fhicl::ParameterSet const &p)
void SortPlanes(std::vector< geo::PlaneGeo > &pgeo, geo::DriftDirection_t driftDir) const override
void SortWires(std::vector< geo::WireGeo > &wgeo) const override