All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GeoObjectSorterSBND.h
Go to the documentation of this file.
1 /**
2  * @file GeoObjectSortersbnd.h
3  * @brief Algorithm class for sorting standard geo::XXXGeo objects for SBND.
4  * @date April 6, 2017
5  * @author petrillo@fnal.gov
6  */
7 
8 #ifndef GEO_GEOOBJECTSORTERSBND_H
9 #define GEO_GEOOBJECTSORTERSBND_H
10 
11 // Framework libraries
12 #include "fhiclcpp/fwd.h"
13 
14 // LArSoft libraries
18 
19 // C/C++ standard libraries
20 #include <vector>
21 #include <string>
22 
23 
24 namespace geo {
25 
27  public:
28 
29  GeoObjectSorterSBND(fhicl::ParameterSet const& p);
30 
31  virtual void SortCryostats(std::vector<geo::CryostatGeo> & cgeo) const override;
32  virtual void SortOpDets (std::vector<geo::OpDetGeo> & opdet) const override;
33  virtual void SortTPCs (std::vector<geo::TPCGeo> & tgeo) const override;
34  virtual void SortPlanes (std::vector<geo::PlaneGeo> & pgeo,
35  geo::DriftDirection_t driftDir) const override;
36  virtual void SortWires (std::vector<geo::WireGeo> & wgeo) const override;
37  virtual void SortAuxDets (std::vector<geo::AuxDetGeo> & adgeo) const override;
38  virtual void SortAuxDetSensitive(std::vector<geo::AuxDetSensitiveGeo> & adsgeo) const override;
39 
40  private:
41 
42  std::string fDetVersion; ///< String of the detector version.
43 
44  }; // class GeoObjectSorterSBND
45 
46 } // namespace geo
47 
48 #endif // GEO_GEOOBJECTSORTERSBND_H
virtual void SortAuxDetSensitive(std::vector< geo::AuxDetSensitiveGeo > &adsgeo) const override
pdgs p
Definition: selectors.fcl:22
virtual void SortCryostats(std::vector< geo::CryostatGeo > &cgeo) const override
virtual void SortAuxDets(std::vector< geo::AuxDetGeo > &adgeo) const override
virtual void SortWires(std::vector< geo::WireGeo > &wgeo) const override
GeoObjectSorterSBND(fhicl::ParameterSet const &p)
virtual void SortPlanes(std::vector< geo::PlaneGeo > &pgeo, geo::DriftDirection_t driftDir) const override
Interface to algorithm class for sorting geo::XXXGeo objects.
virtual void SortOpDets(std::vector< geo::OpDetGeo > &opdet) const override
enum geo::driftdir DriftDirection_t
Drift direction: positive or negative.
Definition of data types for geometry description.
Encapsulate the geometry of an auxiliary detector.
virtual void SortTPCs(std::vector< geo::TPCGeo > &tgeo) const override
std::string fDetVersion
String of the detector version.