#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <cstdlib>
#include <iostream>
#include <string>
Go to the source code of this file.
Defines | |
#define | DCOUT(M_v_Y, M_v_S) { for(std::string::size_type M_v_i=0; M_v_i < ddDebugS().size(); ++M_v_i) if(ddDebugS()[M_v_i]==M_v_Y) LogDebug("DDdebug") << ddDebugS()[M_v_i] << " : " << M_v_S << std::endl; } |
#define | DCOUT_V(M_v_Y, M_v_S) { for(std::string::size_type M_v_i=0; M_v_i < ddDebugVS().size(); ++M_v_i) if(ddDebugVS()[M_v_i]==M_v_Y) LogDebug("DDdebug") << ddDebugVS()[M_v_i] << "v: " << M_v_S << std::endl; } |
#define | DDEBUG |
#define | DEBUGOUT(s) if (ddDebug()) { LogDebug("DDdebug") << s << std::endl; } |
#define | DEBUGOUT_V(s) if (ddDebugV()) { LogDebug("DDdebug") << s << std::endl; } |
Functions | |
const char * | ddDebug () |
const std::string & | ddDebugS () |
const char * | ddDebugV () |
const std::string & | ddDebugVS () |
int | DDmem () |
only for LINUX returns the size of the running program in kbytes | |
int | DDtime () |
#define DCOUT | ( | M_v_Y, | |||
M_v_S | ) | { for(std::string::size_type M_v_i=0; M_v_i < ddDebugS().size(); ++M_v_i) if(ddDebugS()[M_v_i]==M_v_Y) LogDebug("DDdebug") << ddDebugS()[M_v_i] << " : " << M_v_S << std::endl; } |
Definition at line 53 of file DDdebug.h.
Referenced by DDMaterial::addMaterial(), DDLogicalPart::addSpecifics(), DDI::LogicalPart::addSpecifics(), AlgoCheck::check(), AlgoCheck::checkBounds(), global_angular_0::checkParameters(), AlgoCheck::checkStrings(), dd_get_boolean_params(), dd_rot_out(), DDDivision::DDDivision(), DDExpandedView::DDExpandedView(), DDLogicalPart::DDLogicalPart(), DDSpecifics::DDSpecifics(), global_angular_0::global_angular_0(), DDStreamer::materials_read(), DDStreamer::materials_write(), DDStreamer::names_read(), DDStreamer::names_write(), DDLParser::parse(), DDLParser::parseFile(), DDLParser::parseOneFile(), DDStreamer::parts_read(), DDStreamer::parts_write(), DDStreamer::pos_read(), DDStreamer::pos_write(), preshPrepareTubs(), DDLConfiguration::readConfig(), FIPConfiguration::readConfig(), DDStreamer::rots_read(), DDStreamer::rots_write(), DDRoot::set(), DDStreamer::solids_read(), DDStreamer::solids_write(), DDStreamer::specs_read(), DDStreamer::specs_write(), DDLSAX2ConfigHandler::startElement(), global_angular_0::translation(), DDStreamer::vars_read(), DDI::Trap::volume(), DDI::Polycone::volume(), DDI::Polyhedra::volume(), and DDCompactViewImpl::walker().
#define DCOUT_V | ( | M_v_Y, | |||
M_v_S | ) | { for(std::string::size_type M_v_i=0; M_v_i < ddDebugVS().size(); ++M_v_i) if(ddDebugVS()[M_v_i]==M_v_Y) LogDebug("DDdebug") << ddDebugVS()[M_v_i] << "v: " << M_v_S << std::endl; } |
Definition at line 54 of file DDdebug.h.
Referenced by DDDividedGeometryObject::calculateNDiv(), DDDividedGeometryObject::calculateWidth(), DDLSAX2FileHandler::characters(), DDDividedGeometryObject::checkNDivAndWidth(), DDDividedGeometryObject::checkOffset(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedGeometryObject::DDDividedGeometryObject(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), DDLParser::DDLParser(), DDTokenize(), DDLSAX2FileHandler::endElement(), DDDividedGeometryObject::execute(), DDXMLElement::get(), DDLElementRegistry::getElement(), DDXMLElementRegistry::getElement(), DDXMLElement::getVectorAttribute(), DDLRotationAndReflection::isLeftHanded(), DDXMLElement::loadAttributes(), DDDividedConsRho::makeDDLogicalPart(), DDDividedBoxX::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedTubsPhi::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedTrdY::makeDDLogicalPart(), DDDividedConsPhi::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedTrdX::makeDDLogicalPart(), DDDividedBoxZ::makeDDLogicalPart(), DDDividedPolyhedraZ::makeDDLogicalPart(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedBoxY::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), DDDividedTubsZ::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDRotation(), DDDividedConsPhi::makeDDRotation(), DDDividedPolyconeRho::makeDDRotation(), DDDividedTubsZ::makeDDRotation(), DDDividedPolyhedraPhi::makeDDRotation(), DDDividedConsRho::makeDDRotation(), DDDividedConsZ::makeDDRotation(), DDDividedPolyconeZ::makeDDRotation(), DDDividedTubsRho::makeDDRotation(), DDDividedTubsRho::makeDDTranslation(), DDDividedTrdZ::makeDDTranslation(), DDDividedTrdY::makeDDTranslation(), DDDividedConsZ::makeDDTranslation(), DDDividedBoxX::makeDDTranslation(), DDDividedTubsZ::makeDDTranslation(), DDDividedConsRho::makeDDTranslation(), DDDividedBoxZ::makeDDTranslation(), DDDividedPolyhedraZ::makeDDTranslation(), DDDividedTrdX::makeDDTranslation(), DDDividedBoxY::makeDDTranslation(), DDDividedConsPhi::makeDDTranslation(), DDDividedTubsPhi::makeDDTranslation(), operator<<(), DDLParser::parseOneFile(), DDLPosPart::preProcessElement(), DDXMLElement::preProcessElement(), DDLBooleanSolid::processElement(), DDLRotationSequence::processElement(), DDLSpecPar::processElement(), DDLTrapezoid::processElement(), DDLVector::processElement(), DDLCone::processElement(), DDLDivision::processElement(), DDLCompositeMaterial::processElement(), DDLShapelessSolid::processElement(), DDLLogicalPart::processElement(), DDLReflectionSolid::processElement(), DDLRotationAndReflection::processElement(), DDLPseudoTrap::processElement(), DDLString::processElement(), DDLNumeric::processElement(), DDLPosPart::processElement(), DDLRotationByAxis::processElement(), DDLAlgorithm::processElement(), DDLElementaryMaterial::processElement(), DDLTubs::processElement(), DDLBox::processElement(), DDLAlgoPosPart::processElement(), DDLPolyGenerator::processElement(), DDLTorus::processElement(), DDXMLElement::processElement(), DDLMap::processElement(), DDXMLElementRegistry::registerElement(), ClhepEvaluator::set(), DDLSolid::setReference(), DDLMaterial::setReference(), DDLSAX2ExpressionHandler::startElement(), DDLSAX2FileHandler::startElement(), DDLSAX2ConfigHandler::startElement(), DDCompactViewImpl::weight(), DDCompactView::~DDCompactView(), and DDLParser::~DDLParser().
#define DEBUGOUT | ( | s | ) | if (ddDebug()) { LogDebug("DDdebug") << s << std::endl; } |
#define DEBUGOUT_V | ( | s | ) | if (ddDebugV()) { LogDebug("DDdebug") << s << std::endl; } |
const char* ddDebug | ( | ) | [inline] |
Definition at line 32 of file DDdebug.h.
References c.
Referenced by ddDebugS().
00032 { 00033 static const char* c = getenv("DDEBUG"); 00034 return c; 00035 }
const std::string& ddDebugS | ( | ) | [inline] |
const char* ddDebugV | ( | ) | [inline] |
Definition at line 37 of file DDdebug.h.
References c.
Referenced by ddDebugVS().
00037 { 00038 static const char* c = getenv("DDEBUG_V"); 00039 return c; 00040 }
const std::string& ddDebugVS | ( | ) | [inline] |
int DDmem | ( | ) |
only for LINUX returns the size of the running program in kbytes
int DDtime | ( | ) |