ProtoDUNESPCRTSorter.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file CRTSorter.h
3 /// \brief A function to sort the CRTs for ProtoDUNESP
4 /// \version $Id: $
5 /// \author e.tyley@sheffield.ac.uk
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef CRT_CRTSORTER_H
8 #define CRT_CRTSORTER_H
9 
10 #include <vector>
12 
13 namespace CRTSorter{
14 
15  std::vector<size_t> Mapping(std::vector<geo::AuxDetGeo*>& adgeo); //Overload for validation via geometry sorting
16 
17  std::vector<size_t> Mapping(std::vector<const geo::AuxDetGeo*>& adgeo); //Overload for kludge after geometry sorting where only
18  //const geo::AuxDetGeo& is available. You're probably using
19  //this one.
20 }
21 
22 #endif // CRT_CRTSORTER_H
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
Interface to algorithm class for standard sorting of geo::XXXGeo objects.
std::vector< size_t > Mapping(std::vector< geo::AuxDetGeo * > &adgeo)