CMS 3D CMS Logo

Functions
HtrXmlPatternWriter.cc File Reference
#include "HtrXmlPatternWriter.h"

Go to the source code of this file.

Functions

static const char * tabbing (int level)
 

Function Documentation

◆ tabbing()

static const char* tabbing ( int  level)
static

Definition at line 3 of file HtrXmlPatternWriter.cc.

References mps_fire::i, and gammaJetAnalysis_CHSJECs_cff::level.

Referenced by HtrXmlPatternWriter::writePattern().

3  {
4  static char tab[50];
5  for (int i = 0; i < level * 2; i++)
6  tab[i] = ' ';
7  tab[level * 2] = 0;
8  return tab;
9 }