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;
28 ss <<
"run" << std::setfill(
'0') << std::setw(6) << run <<
"_ls0000" <<
"_EoR.jsn";
35 ss <<
"_index" << std::setfill(
'0') << std::setw(6) << index <<
".jsn";
42 ss <<
"_index" << std::setfill(
'0') << std::setw(6) << index <<
".raw";
50 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
68 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
95 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
101 std::stringstream
ss;
103 ss <<
"_stream" << stream
110 std::stringstream
ss;
113 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
119 std::stringstream
ss;
128 std::stringstream
ss;
131 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
137 std::stringstream
ss;
150 std::stringstream
ss;
153 if (typePrefix.size())
156 ss << std::setfill(
'0') << std::setw(typeWidth);
158 if (instanceSuffix.size()) {
160 if (instancePrefix.size())
161 ss << instancePrefix;
163 ss << std::setfill(
'0') << std::setw(instanceWidth);
164 ss << instanceSuffix;
166 if (fileExtension.size())
167 ss <<
"." << fileExtension;
std::string protocolBufferHistogramFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
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)