#include "DetectorDescription/Core/interface/DDName.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include "DetectorDescription/Core/interface/DDBase.h"
#include "DetectorDescription/Core/interface/DDAxes.h"
#include "DetectorDescription/Base/interface/Singleton.h"
Go to the source code of this file.
Classes | |
class | DDDivision |
Namespaces | |
namespace | DDI |
A DDDivision contains the parameterization that Geant4 needs in order to do its divisions. | |
Typedefs | |
typedef DDI::Singleton < std::map< std::string, std::vector< DDName > > > | DIVNAMES |
Functions | |
std::ostream & | operator<< (std::ostream &, const DDDivision &) |
typedef DDI::Singleton<std::map<std::string,std::vector<DDName> > > DIVNAMES |
Definition at line 127 of file DDDivision.h.
std::ostream& operator<< | ( | std::ostream & | , |
const DDDivision & | |||
) |
Definition at line 24 of file DDDivision.cc.
References DDBase< N, C >::isDefined(), and DDBase< N, C >::rep().
{ DDBase<DDName,Division*>::def_type defined(div.isDefined()); if (defined.first) { os << *(defined.first) << " "; if (defined.second) { div.rep().stream(os); } else { os << "* division not defined * "; } } else { os << "* division not declared * "; } return os; }