CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SortLayersByZR.h
Go to the documentation of this file.
1 #ifndef RECOTRACKER_SORTLAYERSBYZR_H
2 #define RECOTRACKER_SORTLAYERSBYZR_H
3 
4 //
5 // Package: RecoTracker/LayerRecord
6 // Class: SortLayersByZR
7 //
8 // Description: sort layers by ZR
9 //
10 // Original Author: Oliver Gutsche, gutsche@fnal.gov
11 // Created: Wed Dec 20 17:31:01 UTC 2006
12 //
13 // $Author: gutsche $
14 // $Date: 2007/02/05 19:10:03 $
15 // $Revision: 1.1 $
16 //
17 
19 
20 #include <vector>
21 
23 
24  public:
25 
28 
29  bool operator()(const std::vector<const Ring*> &layerA, const std::vector<const Ring*> &layerB) const {
30  return LayersSortedInZR(layerA,layerB);
31  }
32 
33  bool LayersSortedInZR(const std::vector<const Ring*> &layerA, const std::vector<const Ring*> &layerB) const;
34 
35  private:
36 
37 };
38 
39 #endif
bool operator()(const std::vector< const Ring * > &layerA, const std::vector< const Ring * > &layerB) const
bool LayersSortedInZR(const std::vector< const Ring * > &layerA, const std::vector< const Ring * > &layerB) const