ATLAS Offline Software
Loading...
Searching...
No Matches
DCSTxtToCool.cxx File Reference
#include <utility>
#include <vector>
#include <string>
#include <map>
#include <fstream>
#include <iostream>
#include <sstream>
#include "CoolKernel/DatabaseId.h"
#include "CoolKernel/Exception.h"
#include "CoolKernel/IDatabaseSvc.h"
#include "CoolKernel/IDatabase.h"
#include "CoolKernel/IFolder.h"
#include "CoolKernel/FolderSpecification.h"
#include "CoolKernel/IObject.h"
#include "CoolKernel/Record.h"
#include "CoolApplication/DatabaseSvcFactory.h"
#include "DataPointInfo.h"
#include "SealBase/Time.h"

Go to the source code of this file.

Classes

class  DCSTxtToCool

Functions

int main (int argc, const char *argv[])

Function Documentation

◆ main()

int main ( int argc,
const char * argv[] )

Definition at line 289 of file DCSTxtToCool.cxx.

289 {
290 if (argc<4) {
291 std::cout << "Syntax: DCSTxtToCool,exe <coolDBconnection> <configfile> <datafile> {<offset>}" << std::endl;
292 return 1;
293 }
294 std::string coolstr=argv[1];
295 std::string configfile=argv[2];
296 std::string datafile=argv[3];
297 int offset=0;
298 if (argc>4) offset=atoi(argv[4]);
299 DCSTxtToCool convert(coolstr,configfile,datafile,offset);
300 return convert.execute();
301}
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...
std::unique_ptr< MVAUtils::BDT > convert(TMVA::MethodBDT *bdt, bool isRegression=true, bool useYesNoLeaf=false)