CMS 3D CMS Logo

Macros
CTPPSRPAlignmentCorrectionsMethods.cc File Reference
#include "CondFormats/PPSObjects/interface/CTPPSRPAlignmentCorrectionsMethods.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interface/typelookup.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/CTPPSDetId/interface/CTPPSDetId.h"
#include "DataFormats/CTPPSDetId/interface/TotemRPDetId.h"
#include "DataFormats/CTPPSDetId/interface/CTPPSPixelDetId.h"
#include "DataFormats/CTPPSDetId/interface/CTPPSDiamondDetId.h"
#include "Utilities/Xerces/interface/XercesStrUtils.h"
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/sax/HandlerBase.hpp>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/util/PlatformUtils.hpp>
#include <map>
#include <set>

Go to the source code of this file.

Macros

#define WRITE(q, tag, dig, lim)
 

Macro Definition Documentation

◆ WRITE

#define WRITE (   q,
  tag,
  dig,
  lim 
)
Value:
if (precise) \
fprintf(f, " " tag "=\"%.15E\"", q * 1E3); \
else if (fabs(q * 1E3) < lim && q != 0) \
fprintf(f, " " tag "=\"%+8.1E\"", q * 1E3); \
else \
fprintf(f, " " tag "=\"%+8." #dig "f\"", q * 1E3);
double f[11][100]

Definition at line 423 of file CTPPSRPAlignmentCorrectionsMethods.cc.

Referenced by CTPPSRPAlignmentCorrectionsMethods::writeXML().