CMS 3D CMS Logo

main_all.cc File Reference

#include <iostream>
#include "CalibTracker/SiStripRunSummary/interface/GlobalFlagXML.h"
#include "CalibTracker/SiStripRunSummary/interface/GlobalFlagTxt.h"
#include "CalibTracker/SiStripRunSummary/interface/getFlagTree.h"

Go to the source code of this file.

Functions

int main (int nArgc, char *pcArgv[])
void TXTtoXML ()
void XMLtoTXT ()


Function Documentation

int main ( int  nArgc,
char *  pcArgv[] 
)

Definition at line 43 of file main_all.cc.

References TXTtoXML(), and XMLtoTXT().

00043                                      {
00044   XMLtoTXT();
00045   TXTtoXML();
00046 
00047   return 0;
00048 }

void TXTtoXML (  ) 

Definition at line 13 of file main_all.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), and getTXTFlagTree().

Referenced by main().

00013                 {
00014   std::cout << "--[ \033[1mTXTtoXML\033[0m ]----------------" << std::endl;
00015 
00016   std::cout << "\033[1mTxt\033[0m Flags Tree: " << std::endl;
00017   GlobalFlagTxt oFlagTxt( getTXTFlagTree());
00018   std::cout << "\033[1;32m" << oFlagTxt << "\033[0m" << std::endl;
00019   std::cout << std::endl;
00020 
00021   std::cout << "\033[1mXML\033[0m Flags Tree: " << std::endl;
00022   GlobalFlagXML oFlagXML( &oFlagTxt);
00023   std::cout << "\033[1;32m" << oFlagXML << "\033[0m" << std::endl;
00024 
00025   std::cout << std::endl;
00026 }

void XMLtoTXT (  ) 

Definition at line 28 of file main_all.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), and getXMLFlagTree().

Referenced by main().

00028                 {
00029   std::cout << "--[ \033[1mXMLtoTXT\033[0m ]----------------" << std::endl;
00030 
00031   std::cout << "\033[1mXML\033[0m Flags Tree: " << std::endl;
00032   GlobalFlagXML oFlagXML( getXMLFlagTree());
00033   std::cout << "\033[1;32m" << oFlagXML << "\033[0m" << std::endl;
00034   std::cout << std::endl;
00035 
00036   std::cout << "\033[1mTxt\033[0m Flags Tree: " << std::endl;
00037   GlobalFlagTxt oFlagTxt( &oFlagXML);
00038   std::cout << "\033[1;32m" << oFlagTxt << "\033[0m" << std::endl;
00039 
00040   std::cout << std::endl;
00041 }


Generated on Tue Jun 9 17:51:15 2009 for CMSSW by  doxygen 1.5.4