|
|
Go to the documentation of this file. 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,
73 const unsigned int ls,
77 ss <<
"_" <<
stream <<
"_pid" << std::setfill(
'0') << std::setw(5) << getpid() <<
".dat";
82 const unsigned int ls,
92 const unsigned int ls,
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;
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;
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;
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 streamerDataFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)
std::string streamerDataChecksumFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string protocolBufferHistogramFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string inputRawFileName(const unsigned int run, const unsigned int ls, const unsigned int index)
std::string eorFileName(const unsigned int run)
std::string eolsFileName(const unsigned int run, const unsigned int ls)
std::string initFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
std::string streamerDataFileNameWithInstance(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 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 streamerJsonFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)
std::string streamerJsonFileNameWithInstance(const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
static PFTauRenderPlugin instance
std::string rootHistogramFileNameWithInstance(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 bolsFileName(const unsigned int run, const unsigned int ls)
std::string protocolBufferHistogramFileNameWithPid(const unsigned int run, const unsigned int ls, std::string const &stream)
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string runLumiPrefix(const unsigned int run, const unsigned int ls)