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
AlignedVolumePrinter.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_DDCORE_ALIGNEDVOLUMEPRINTER_H
14 #define DD4HEP_DDCORE_ALIGNEDVOLUMEPRINTER_H
15 
16 // Framework includes
18 
20 namespace DD4hep {
21 
23  namespace Alignments {
24 
26 
37  public:
39  std::string name;
41  std::string prefix;
42  protected:
44  int m_flag;
45 
46  public:
48  AlignedVolumePrinter(const std::string& prefix="",int flags=0);
50  virtual ~AlignedVolumePrinter() = default;
52  void setName(const std::string& value) { name = value; }
54  void setPrefix(const std::string& value) { prefix = value; }
56  virtual int operator()(Alignment cond);
58  virtual int operator()(Container container);
60  virtual int processElement(DetElement de);
61  };
62  } /* End namespace Alignments */
63 } /* End namespace DD4hep */
64 #endif /* DD4HEP_DDCORE_ALIGNEDVOLUMEPRINTER_H */
virtual int processElement(DetElement de)
Callback to output alignments information of an entire DetElement.
Geometry::DetElement DetElement
Make DetElement type local.
void setPrefix(const std::string &value)
Set prefix for printouts.
AlignedVolumePrinter(const std::string &prefix="", int flags=0)
Initializing constructor.
Main handle class to hold an alignment object.
Definition: Alignments.h:65
Generic Alignments processor.
std::string name
Printer name. Want to know who is printing what.
void setName(const std::string &value)
Set name for printouts.
Generic Alignments data dumper.
virtual ~AlignedVolumePrinter()=default
Default destructor.
int m_flag
Printout processing and customization flag.
Container class for alignment handles aggregated by a detector element.
Definition: Alignments.h:206
virtual int operator()(Alignment cond)
Callback to output alignments information.