CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/IORawData/CaloPatterns/src/HtrXmlPatternWriter.cc File Reference

#include "HtrXmlPatternWriter.h"

Go to the source code of this file.

Functions

static const char * tabbing (int level)

Function Documentation

static const char* tabbing ( int  level) [static]

Definition at line 3 of file HtrXmlPatternWriter.cc.

References i.

Referenced by HtrXmlPatternWriter::writePattern().

                                      {
  static char tab[50];
  for (int i=0; i<level*2; i++)
    tab[i]=' ';
  tab[level*2]=0;
  return tab;
}