Last active
September 29, 2017 19:21
-
-
Save douglasdavis/c1f1436c51fdb858280f9a822abdf72b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char* argv[]) { | |
if ( argc < 3 ) { | |
std::cout << "give arguments" << std::endl; | |
return 0; | |
} | |
std::string inputDS = argv[1]; | |
std::string outputDS = argv[2]; | |
// use would be: | |
// $ runMyAlgorithm <input> <output> | |
//.... | |
//.... | |
EL::Job job; | |
SH::SampleHandler sh; | |
sh.setMetaString("nc_tree","CollectionTree"); | |
SH::scanRucio(sh,inputDS); | |
job.sampleHandler(sh); | |
EL::PrunDriver driver; | |
driver.options()->setString("nc_outputSampleName",outputDS); | |
driver.submitOnly(job,"foo"); | |
//.... | |
//.... | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment