Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:25

0001 #ifndef Alignment_CommonAlignment_TrackerAlignableId_H
0002 #define Alignment_CommonAlignment_TrackerAlignableId_H
0003 
0004 /// \class TrackerAlignableId
0005 ///
0006 /// Helper class to provide unique numerical ID's for Alignables.
0007 /// The unique ID is formed from:
0008 ///  - the AlignableObjectId (DetUnit, Det, Rod, Layer, etc.)
0009 ///  - the geographical ID of the first GeomDet in the composite.
0010 /// A mapping between the AlignableObjectId and the string name
0011 /// is also provided.
0012 ///
0013 ///  $Revision: 1.11 $
0014 ///  $Date: 2007/10/08 13:49:05 $
0015 ///  (last update by $Author: cklae $)
0016 
0017 #include <utility>
0018 
0019 class DetId;
0020 class TrackerTopology;
0021 
0022 class TrackerAlignableId {
0023 public:
0024   TrackerAlignableId() {}
0025 
0026   /// Return type and layer of DetId
0027   /// Keep this for now.
0028   /// Concept of a "layer" in Alignment is obsolete.
0029   /// Will be replaced by a more generic function.
0030   std::pair<int, int> typeAndLayerFromDetId(const DetId& detId, const TrackerTopology* tTopo) const;
0031 };
0032 
0033 #endif