test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SymmetricLayerFinder.h
Go to the documentation of this file.
1 #ifndef TkNavigation_SymmetricLayerFinder_H
2 #define TkNavigation_SymmetricLayerFinder_H
3 
4 #include <vector>
5 #include <map>
7 
8 class DetLayer;
9 class BarrelDetLayer;
10 class ForwardDetLayer;
11 
18 
19  typedef std::vector<const ForwardDetLayer*> FDLC;
20  typedef FDLC::iterator FDLI;
21  typedef FDLC::const_iterator ConstFDLI;
22  typedef std::pair< const ForwardDetLayer*, const ForwardDetLayer*> PairType;
23 
24 public:
25 
26  SymmetricLayerFinder( const FDLC&);
27 
28  const ForwardDetLayer* mirror( const ForwardDetLayer* layer) {
29  return theForwardMap[layer];
30  }
31 
32  FDLC mirror( const FDLC& input);
33 
34 private:
35 
36  // typedef map< const ForwardDetLayer*, const ForwardDetLayer*, less<const ForwardDetLayer*> >
37  typedef std::map< const ForwardDetLayer*, const ForwardDetLayer*, std::less<const ForwardDetLayer*> >
39 
41 
42  const ForwardDetLayer* mirrorPartner( const ForwardDetLayer* layer,
43  const FDLC& rightLayers);
44 
45 
46 };
47 #endif // SymmetricLayerFinder_H
48 
std::map< const ForwardDetLayer *, const ForwardDetLayer *, std::less< const ForwardDetLayer * > > ForwardMapType
#define dso_hidden
std::pair< const ForwardDetLayer *, const ForwardDetLayer * > PairType
const ForwardDetLayer * mirror(const ForwardDetLayer *layer)
static std::string const input
Definition: EdmProvDump.cc:43
ForwardMapType theForwardMap
std::vector< const ForwardDetLayer * > FDLC
FDLC::const_iterator ConstFDLI