test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignableTracker.h
Go to the documentation of this file.
1 #ifndef Alignment_TrackerAlignment_AlignableTracker_H
2 #define Alignment_TrackerAlignment_AlignableTracker_H
3 
4 // Original Author: ?
5 // Last Update: Max Stark
6 // Date: Mon, 15 Feb 2016 09:32:12 CET
7 
8 // alignment
12 
13 class TrackerGeometry;
14 class TrackerTopology;
15 
16 
17 
19 
22 
23 public:
24 
26  virtual ~AlignableTracker() { /* TODO: delete all tracker-alignables? */ };
27 
30  Alignables& subStructures(const std::string &subStructName) {
31  return alignableMap.find(subStructName);
32  }
33 
37  }
41  }
45  }
49  }
53  }
57  }
58 
61  this->outerBarrelGeomDets());}
64  this->TIDGeomDets());
65  }
69  }
73  }
77  }
81  }
85  }
89  }
90 
92  Alignables barrelRods() { return this->merge(this->innerBarrelRods(), this->outerBarrelRods());}
96  }
100  }
104  }
108  }
112  }
116  }
117 
119  Alignables barrelLayers() { return this->merge(this->innerBarrelLayers(),
120  this->outerBarrelLayers() );
121  }
125  }
129  }
133  }
137  }
141  }
145  }
146 
147 
148 
150  Alignments* alignments() const;
151 
154 
156  const TrackerTopology* trackerTopology() const { return tTopo_;}
157 
158 private:
159  Alignables merge( const Alignables& list1, const Alignables& list2 ) const;
160 
163 
164 };
165 
166 #endif //AlignableTracker_H
Alignables & pixelHalfBarrelGeomDets()
Return pixel barrel GeomDets.
std::vector< Alignable * > Alignables
Definition: Alignable.h:251
AlignmentErrorsExtended * alignmentErrors() const
Return alignment errors, sorted by DetId.
Alignables merge(const Alignables &list1, const Alignables &list2) const
Alignables & pixelHalfBarrelLayers()
Return pixel half barrel layers.
Alignables barrelGeomDets()
Return inner and outer barrel GeomDets together.
Alignables TIBTIDGeomDets()
Return inner barrel and TID GeomDets together.
const TrackerTopology * tTopo_
static std::string typeToName(align::StructureType type)
Convert type to name.
const TrackerTopology * trackerTopology() const
Return tracker topology used to build AlignableTracker.
AlignableTracker(const TrackerGeometry *, const TrackerTopology *)
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Alignables & endCaps()
Return TECs.
Alignables & TIDGeomDets()
Return TID GeomDets.
Alignables & outerBarrelRods()
Return outer barrel rods.
Alignables barrelRods()
Return inner and outer barrel rods.
Alignables & pixelEndcapPetals()
Return pixel endcap petals.
Alignables barrelLayers()
Return inner and outer barrel layers.
Alignables & find(const std::string &name="")
Definition: AlignableMap.cc:15
Alignables & endcapGeomDets()
Return endcap GeomDets.
Alignables & pixelEndcapGeomDets()
Return pixel endcap GeomDets.
Alignables & TIDs()
Return TIDs.
Alignables & outerBarrelLayers()
Return outer barrel layers.
Alignables & outerBarrelGeomDets()
Return outer barrel GeomDets.
Alignables & TIDLayers()
Return TID layers.
Alignables & TIDRings()
Return TID rings.
Alignables & pixelHalfBarrels()
Return Pixel half barrels.
Alignables & pixelEndCaps()
Return TPEs.
Alignables & subStructures(const std::string &subStructName)
Alignables & innerBarrelLayers()
Return inner barrel layers.
Alignables & pixelHalfBarrelLadders()
Return pixel half barrel ladders (implemented as AlignableRods)
Alignments * alignments() const
Return alignments, sorted by DetId.
Alignables & endcapPetals()
Return encap petals.
Alignables & innerHalfBarrels()
Return TIB half barrels.
Alignables & endcapLayers()
Return endcap layers.
align::Alignables Alignables
Definition: Alignable.h:39
AlignableMap alignableMap
Alignables & pixelEndcapLayers()
Return pixel endcap layers.
virtual ~AlignableTracker()
Alignables & outerHalfBarrels()
Return TOB half barrels.
Alignables & innerBarrelRods()
Return inner barrel rods.