Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hddm2root.cc File Reference
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <stack>
#include <sys/stat.h>
#include <time.h>
#include <expat.h>
#include <string.h>
#include "DClassDef.h"

Go to the source code of this file.

Functions

void startElement (void *data, const char *el, const char **attr)
 
void endElement (void *data, const char *el)
 
void CreateCopyRoutines (void)
 
void CreateHDDM2ROOT_tool (void)
 
string NameToHDDMname (string name)
 
string HDDMPlural (string name_hddm)
 
void Usage (void)
 
void ParseCommandLineArguments (int narg, char *argv[])
 
int main (int narg, char *argv[])
 

Variables

string XML_FILENAME = "/home/davidl/work/latest/sim-recon/src/libraries/HDDM/event.xml"
 
string HDDM_CLASS = "x"
 
string CXXFLAGS = ""
 
map< string, DClassDefCLASSES
 
unsigned int MAX_DEPTH =0
 
unsigned int TARGET_DEPTH =1
 

Function Documentation

void CreateCopyRoutines ( void  )

Definition at line 296 of file hddm2root.cc.

References CLASSES, HDDM_CLASS, HDDMPlural(), MAX_DEPTH, NameToHDDMname(), and XML_FILENAME.

Referenced by main().

void CreateHDDM2ROOT_tool ( void  )

Definition at line 481 of file hddm2root.cc.

References CLASSES, HDDM_CLASS, NameToHDDMname(), string, TARGET_DEPTH, and XML_FILENAME.

Referenced by main().

void endElement ( void *  data,
const char *  el 
)

Definition at line 286 of file hddm2root.cc.

Referenced by main().

string HDDMPlural ( string  name_hddm)

Definition at line 626 of file hddm2root.cc.

Referenced by CreateCopyRoutines().

int main ( int  narg,
char *  argv[] 
)
string NameToHDDMname ( string  name)

Definition at line 613 of file hddm2root.cc.

Referenced by CreateCopyRoutines(), and CreateHDDM2ROOT_tool().

void ParseCommandLineArguments ( int  narg,
char *  argv[] 
)
void startElement ( void *  data,
const char *  el,
const char **  attr 
)
void Usage ( void  )

Variable Documentation

map<string, DClassDef> CLASSES

Definition at line 22 of file hddm2root.cc.

Referenced by CreateCopyRoutines(), CreateHDDM2ROOT_tool(), main(), and startElement().

string CXXFLAGS = ""

Definition at line 19 of file hddm2root.cc.

Referenced by main().

string HDDM_CLASS = "x"

Definition at line 18 of file hddm2root.cc.

Referenced by CreateCopyRoutines(), CreateHDDM2ROOT_tool(), main(), and startElement().

unsigned int MAX_DEPTH =0

Definition at line 23 of file hddm2root.cc.

Referenced by CreateCopyRoutines(), and startElement().

unsigned int TARGET_DEPTH =1

Definition at line 24 of file hddm2root.cc.

Referenced by CreateHDDM2ROOT_tool().

string XML_FILENAME = "/home/davidl/work/latest/sim-recon/src/libraries/HDDM/event.xml"