1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef Alignment_CommonAlignment_TrackerAlignableId_H
#define Alignment_CommonAlignment_TrackerAlignableId_H
/// \class TrackerAlignableId
///
/// Helper class to provide unique numerical ID's for Alignables.
/// The unique ID is formed from:
/// - the AlignableObjectId (DetUnit, Det, Rod, Layer, etc.)
/// - the geographical ID of the first GeomDet in the composite.
/// A mapping between the AlignableObjectId and the string name
/// is also provided.
///
/// $Revision: 1.11 $
/// $Date: 2007/10/08 13:49:05 $
/// (last update by $Author: cklae $)
#include <utility>
class DetId;
class TrackerTopology;
class TrackerAlignableId {
public:
TrackerAlignableId() {}
/// Return type and layer of DetId
/// Keep this for now.
/// Concept of a "layer" in Alignment is obsolete.
/// Will be replaced by a more generic function.
std::pair<int, int> typeAndLayerFromDetId(const DetId& detId, const TrackerTopology* tTopo) const;
};
#endif
|