All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
icaruscode/icaruscode/CRT/CRTGeoObjectSorter.h
Go to the documentation of this file.
1 ///////////////////////////////////////////////////////////////////////////////
2 /// \file CRTGeoObjectSorter.h
3 /// \brief Interface to algorithm class for sorting of AuxDetGeo objects
4 ///
5 /// Originally ported from AuxDetGeoObjectSorterLArIAT.h (Author: brebel@fnal.gov)
6 /// and modified for SBND (Author: mastbaum@uchicago.edu)
7 ///
8 /// \version $Id: 0.0 $
9 /// \author chilge@rams.colostate.edu
10 ///////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef ICARUS_CRTGeoObjectSorter_h
13 #define ICARUS_CRTGeoObjectSorter_h
14 
15 #include <vector>
16 
18 
19 //namespace icarus {
20 //namespace crt {
21 namespace geo{
22 
24  public:
25 
26  CRTGeoObjectSorter(fhicl::ParameterSet const& p);
27 
28  void SortAuxDets (std::vector<geo::AuxDetGeo>& adgeo) const;
29  void SortAuxDetSensitive(std::vector<geo::AuxDetSensitiveGeo>& adsgeo) const;
30  void SortCRTs (std::vector<geo::AuxDetGeo>& adgeo) const;
31  void SortCRTSensitive (std::vector<std::pair< int, geo::AuxDetSensitiveGeo> >& adsgeo) const;
32 
33  };
34 
35 } //namespace crt
36 //} //namespace icarus
37 
38 #endif // ICARUS_CRTGeoObjectSorter_h
void SortCRTSensitive(std::vector< std::pair< int, geo::AuxDetSensitiveGeo > > &adsgeo) const
void SortAuxDets(std::vector< geo::AuxDetGeo > &adgeo) const
pdgs p
Definition: selectors.fcl:22
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
void SortCRTs(std::vector< geo::AuxDetGeo > &adgeo) const
void SortAuxDetSensitive(std::vector< geo::AuxDetSensitiveGeo > &adsgeo) const