DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AlignmentTools.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation for LCD
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 #ifndef DD4HEP_ALIGMENTS_ALIGNMENTTOOLS_H
14 #define DD4HEP_ALIGMENTS_ALIGNMENTTOOLS_H
15 
16 // Framework include files
17 #include "DD4hep/Alignments.h"
18 
20 namespace DD4hep {
21 
23  namespace Alignments {
24 
25  namespace AlignmentTools {
26 
28  void copy(Alignment from, Alignment to);
29 
31 
34  void computeIdeal(Alignment alignment);
35 
37 
40  void computeIdeal(Alignment alignment, const Alignment::NodeList& node_list);
41 
43 
49  void computeSurvey(Alignment alignment);
50 
51 
52  }
53 
54  } /* End namespace Aligments */
55 } /* End namespace DD4hep */
56 #endif /* DD4HEP_ALIGMENTS_ALIGNMENTTOOLS_H */
Main handle class to hold an alignment object.
Definition: Alignments.h:65
void computeIdeal(Alignment alignment)
Compute the ideal/nominal to-world transformation from the detector element placement.
void copy(Alignment from, Alignment to)
Copy alignment object from source object.
std::vector< PlacedVolume > NodeList
Forward definition of the nodelist leading to the world.
Definition: Alignments.h:90
void computeSurvey(Alignment alignment)
Compute the survey to-world transformation.