GeoModel - GeoModelCore
GeoSerialDenominator.h
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GEOMODELKERNEL_GEOSERIALDENOMINATOR_H
6 #define GEOMODELKERNEL_GEOSERIALDENOMINATOR_H
7 
19 #include "GeoModelKernel/GeoGraphNode.h"
20 #include <string>
21 
23 {
24  public:
25  GeoSerialDenominator (const std::string &BaseName);
26 
27  // Executes a GeoNodeAction.
28  virtual void exec (GeoNodeAction *action) const;
29 
30  // Specifies the name of the next physical volume in the
31  // node tree.
32  const std::string& getBaseName () const;
33 
34  protected:
35  virtual ~GeoSerialDenominator();
36 
37  private:
39  GeoSerialDenominator & operator=(const GeoSerialDenominator &right);
40 
41  std::string m_baseName;
42 
43 };
44 
45 inline const std::string& GeoSerialDenominator::getBaseName () const
46 {
47  return m_baseName;
48 }
49 
50 #endif
This class generates a name for all physical volumes following it. The name is a prefix string follow...
This type of action sees the geometry graph in full detail, including each transformation and propert...
Definition: GeoNodeAction.h:30
Represents Nodes that can be assembled together to make a graph. Subclasses (for now): ...
Definition: GeoGraphNode.h:28