1 #ifndef FFFNAMINGSCHEMA_H_
2 #define FFFNAMINGSCHEMA_H_
12 ss <<
"run" << std::setfill(
'0') << std::setw(6) << run <<
"_ls" << std::setfill(
'0') << std::setw(4) <<
ls;
17 ss <<
"run" << std::setfill(
'0') << std::setw(6) << run <<
"_ls" << std::setfill(
'0') << std::setw(4) <<
ls;
36 ss <<
"run" << std::setfill(
'0') << std::setw(6) << run <<
"_ls0000"
44 ss <<
"_index" << std::setfill(
'0') << std::setw(6) << index <<
".jsn";
51 ss <<
"_index" << std::setfill(
'0') << std::setw(6) << index <<
".raw";
58 ss <<
"_" << stream <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid() <<
".ini";
63 const unsigned int ls,
68 ss <<
"_" << stream <<
"_" << instance <<
".ini";
73 const unsigned int ls,
77 ss <<
"_" << stream <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid() <<
".dat";
82 const unsigned int ls,
87 ss <<
"_" << stream <<
"_" << instance <<
".dat";
92 const unsigned int ls,
97 ss <<
"_" << stream <<
"_" << instance <<
".checksum";
102 const unsigned int ls,
104 std::stringstream
ss;
106 ss <<
"_" << stream <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid() <<
".jsn";
111 const unsigned int ls,
114 std::stringstream
ss;
116 ss <<
"_stream" << stream <<
"_" << instance <<
".jsn";
121 const unsigned int ls,
123 std::stringstream
ss;
125 ss <<
"_" << stream <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid() <<
".pb";
130 const unsigned int ls,
133 std::stringstream
ss;
135 ss <<
"_" << stream <<
"_" << instance <<
".pb";
140 const unsigned int ls,
142 std::stringstream
ss;
144 ss <<
"_" << stream <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid() <<
".root";
149 const unsigned int ls,
152 std::stringstream
ss;
154 ss <<
"_" << stream <<
"_" << instance <<
".root";
159 const unsigned int ls,
162 unsigned int typeWidth,
165 unsigned int instanceWidth,
167 std::stringstream
ss;
170 if (!typePrefix.empty())
173 ss << std::setfill(
'0') << std::setw(typeWidth);
175 if (!instanceSuffix.empty()) {
177 if (!instancePrefix.empty())
178 ss << instancePrefix;
180 ss << std::setfill(
'0') << std::setw(instanceWidth);
181 ss << instanceSuffix;
183 if (!fileExtension.empty())
184 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)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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)