#include "../Paths.hpp" //Overloaded in case year is int or string //g++ getPathForPython.cc `root-config --libs --cflags` -o getPathForPython int main(int argc, char* argv[]) { char *command = argv[1]; string year(argv[2]); int Run = int(argv[3][0]-48); //48 is zero, not ideall, but if it works... string magnet(argv[4]); int Preselected = int(argv[5][0]-48); int MC = int(argv[6][0]-48); int ReferenceChannel = int(argv[7][0]-48); int PHSP = int(argv[8][0]-48); int KshortDecayInVelo = int(argv[9][0]-48); int Selection = int(argv[10][0]-48); int UseLowQ2Range = int(argv[11][0]-48); // ofstream myfileOutput(thePath+"/tmpPathForPython.txt",ios::trunc); //rewrites the old content if (strcmp(command, "input") == 0){ cout << GetInputFile(year,magnet,Preselected,MC,ReferenceChannel,PHSP,false, false, false, false) <