8 #include "HGCal/TBStandaloneSimulator/interface/TBConfig.h"
17 ifstream fin(ctrlfile.c_str());
19 cout <<
"** TConfig ** cannot open control file "
25 while (getline(fin, line)) {
26 if ( line ==
"" )
continue;
27 if ( line.substr(0, 1) ==
"#" )
continue;
28 if ( line.substr(0, 1) ==
"%" )
continue;
29 if ( line.substr(0, 2) ==
"//" )
continue;
31 istringstream sin(line);
33 if ( token.substr(0, 3) ==
"mac" )
35 else if ( token.substr(0, 3) ==
"geo" )
37 else if ( token.substr(0, 5) ==
"savet" ) {
38 istringstream sinn(line);
47 os <<
"TBStandaloneSimulator configuration" << endl;
48 os <<
" macro " << config.
macro << endl;
49 os <<
" geometry " << config.
geometry << endl;
std::ostream & operator<<(std::ostream &, const HGCalTBDetId &id)