1 #ifndef FFFNAMINGSCHEMA_H_
2 #define FFFNAMINGSCHEMA_H_
11 ss <<
"run" << std::setfill(
'0') << std::setw(6) << run <<
"_ls" << std::setfill(
'0') << std::setw(4) <<
ls;
16 ss <<
"run" << std::setfill(
'0') << std::setw(6) << run <<
"_ls" << std::setfill(
'0') << std::setw(4) <<
ls;
35 ss <<
"run" << std::setfill(
'0') << std::setw(6) << run <<
"_ls0000" <<
"_EoR.jsn";
42 ss <<
"_index" << std::setfill(
'0') << std::setw(6) << index <<
".jsn";
49 ss <<
"_index" << std::setfill(
'0') << std::setw(6) << index <<
".raw";
57 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
75 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
102 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
108 std::stringstream
ss;
110 ss <<
"_stream" << stream
117 std::stringstream
ss;
120 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
126 std::stringstream
ss;
135 std::stringstream
ss;
138 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
144 std::stringstream
ss;
157 std::stringstream
ss;
160 if (typePrefix.size())
163 ss << std::setfill(
'0') << std::setw(typeWidth);
165 if (instanceSuffix.size()) {
167 if (instancePrefix.size())
168 ss << instancePrefix;
170 ss << std::setfill(
'0') << std::setw(instanceWidth);
171 ss << instanceSuffix;
173 if (fileExtension.size())
174 ss <<
"." << fileExtension;
std::string protocolBufferHistogramFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string bolsFileName(const unsigned int run, const unsigned int ls)
std::string streamerDataChecksumFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string inputRawFileName(const unsigned int run, const unsigned int ls, const unsigned int index)
std::string runLumiPrefix(const unsigned int run, const unsigned int ls)
std::string streamerDataFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string genericFileName(const unsigned int run, const unsigned int ls, std::string const &typePrefix, std::string const &typeSuffix, unsigned int typeWidth, std::string const &instancePrefix, std::string const &instanceSuffix, unsigned int instanceWidth, std::string const &fileExtension)
std::string streamerJsonFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string inputJsonFileName(const unsigned int run, const unsigned int ls, const unsigned int index)
std::string streamerJsonFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)
std::string eorFileName(const unsigned int run)
std::string initFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string rootHistogramFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)
std::string initFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)
std::string rootHistogramFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string protocolBufferHistogramFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)
std::string eolsFileName(const unsigned int run, const unsigned int ls)
std::string streamerDataFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)