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()
86 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
94 ss <<
"_stream" << stream
101 std::stringstream
ss;
104 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
110 std::stringstream
ss;
119 std::stringstream
ss;
122 <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid()
128 std::stringstream
ss;
141 std::stringstream
ss;
144 if (typePrefix.size())
147 ss << std::setfill(
'0') << std::setw(typeWidth);
149 if (instanceSuffix.size()) {
151 if (instancePrefix.size())
152 ss << instancePrefix;
154 ss << std::setfill(
'0') << std::setw(instanceWidth);
155 ss << instanceSuffix;
157 if (fileExtension.size())
158 ss <<
"." << fileExtension;
std::string protocolBufferHistogramFileNameWithInstance(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)