CMS 3D CMS Logo

Functions
fffnaming Namespace Reference

Functions

std::string bolsFileName (const unsigned int run, const unsigned int ls)
 
std::string eolsFileName (const unsigned int run, const unsigned int ls)
 
std::string eorFileName (const unsigned int run)
 
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 initFileNameWithInstance (const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
 
std::string initFileNameWithPid (const unsigned int run, const unsigned int ls, std::string const &stream)
 
std::string inputJsonFileName (const unsigned int run, const unsigned int ls, const unsigned int index)
 
std::string inputRawFileName (const unsigned int run, const unsigned int ls, const unsigned int index)
 
std::string protocolBufferHistogramFileNameWithInstance (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 rootHistogramFileNameWithInstance (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 runLumiPrefix (const unsigned int run, const unsigned int ls)
 
void runLumiPrefixFill (std::stringstream &ss, 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)
 
std::string streamerDataFileNameWithInstance (const unsigned int run, const unsigned int ls, std::string const &stream, std::string const &instance)
 
std::string streamerDataFileNameWithPid (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)
 
std::string streamerJsonFileNameWithPid (const unsigned int run, const unsigned int ls, std::string const &stream)
 

Function Documentation

◆ bolsFileName()

std::string fffnaming::bolsFileName ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 27 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), and contentValuesCheck::ss.

Referenced by evf::EvFDaqDirector::getBoLSFilePathOnFU().

27  {
28  std::stringstream ss;
30  ss << "_BoLS.jsn";
31  return ss.str();
32  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
Definition: eostools.py:349

◆ eolsFileName()

std::string fffnaming::eolsFileName ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 20 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), and contentValuesCheck::ss.

Referenced by evf::EvFDaqDirector::getEoLSFilePathOnBU(), and evf::EvFDaqDirector::getEoLSFilePathOnFU().

20  {
21  std::stringstream ss;
23  ss << "_EoLS.jsn";
24  return ss.str();
25  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
Definition: eostools.py:349

◆ eorFileName()

std::string fffnaming::eorFileName ( const unsigned int  run)
inline

Definition at line 34 of file FFFNamingSchema.h.

References writedatasetfile::run, and contentValuesCheck::ss.

Referenced by evf::EvFDaqDirector::getEoRFilePath(), and evf::EvFDaqDirector::getEoRFilePathOnFU().

34  {
35  std::stringstream ss;
36  ss << "run" << std::setfill('0') << std::setw(6) << run << "_ls0000"
37  << "_EoR.jsn";
38  return ss.str();
39  }

◆ genericFileName()

std::string fffnaming::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 
)
inline

Definition at line 158 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), and contentValuesCheck::ss.

166  {
167  std::stringstream ss;
169  ss << "_";
170  if (!typePrefix.empty())
171  ss << typePrefix;
172  if (typeWidth)
173  ss << std::setfill('0') << std::setw(typeWidth);
174  ss << typeSuffix;
175  if (!instanceSuffix.empty()) {
176  ss << "_";
177  if (!instancePrefix.empty())
178  ss << instancePrefix;
179  if (instanceWidth)
180  ss << std::setfill('0') << std::setw(instanceWidth);
181  ss << instanceSuffix;
182  }
183  if (!fileExtension.empty())
184  ss << "." << fileExtension;
185  return ss.str();
186  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
Definition: eostools.py:349

◆ initFileNameWithInstance()

std::string fffnaming::initFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 62 of file FFFNamingSchema.h.

References instance, eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

65  {
66  std::stringstream ss;
68  ss << "_" << stream << "_" << instance << ".ini";
69  return ss.str();
70  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ initFileNameWithPid()

std::string fffnaming::initFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 55 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getInitFilePath(), and evf::EvFDaqDirector::getOpenInitFilePath().

55  {
56  std::stringstream ss;
58  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".ini";
59  return ss.str();
60  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ inputJsonFileName()

std::string fffnaming::inputJsonFileName ( const unsigned int  run,
const unsigned int  ls,
const unsigned int  index 
)
inline

Definition at line 41 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), and contentValuesCheck::ss.

Referenced by evf::EvFDaqDirector::getInputJsonFilePath(), and evf::EvFDaqDirector::getOpenInputJsonFilePath().

41  {
42  std::stringstream ss;
44  ss << "_index" << std::setfill('0') << std::setw(6) << index << ".jsn";
45  return ss.str();
46  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
Definition: eostools.py:349

◆ inputRawFileName()

std::string fffnaming::inputRawFileName ( const unsigned int  run,
const unsigned int  ls,
const unsigned int  index 
)
inline

Definition at line 48 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), and contentValuesCheck::ss.

Referenced by evf::EvFDaqDirector::getOpenRawFilePath(), and evf::EvFDaqDirector::getRawFilePath().

48  {
49  std::stringstream ss;
51  ss << "_index" << std::setfill('0') << std::setw(6) << index << ".raw";
52  return ss.str();
53  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
Definition: eostools.py:349

◆ protocolBufferHistogramFileNameWithInstance()

std::string fffnaming::protocolBufferHistogramFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 129 of file FFFNamingSchema.h.

References instance, eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getMergedProtocolBufferHistogramFilePath().

132  {
133  std::stringstream ss;
135  ss << "_" << stream << "_" << instance << ".pb";
136  return ss.str();
137  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ protocolBufferHistogramFileNameWithPid()

std::string fffnaming::protocolBufferHistogramFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 120 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getOpenProtocolBufferHistogramFilePath(), and evf::EvFDaqDirector::getProtocolBufferHistogramFilePath().

122  {
123  std::stringstream ss;
125  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".pb";
126  return ss.str();
127  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ rootHistogramFileNameWithInstance()

std::string fffnaming::rootHistogramFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 148 of file FFFNamingSchema.h.

References instance, eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getMergedRootHistogramFilePath().

151  {
152  std::stringstream ss;
154  ss << "_" << stream << "_" << instance << ".root";
155  return ss.str();
156  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ rootHistogramFileNameWithPid()

std::string fffnaming::rootHistogramFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 139 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getOpenRootHistogramFilePath(), and evf::EvFDaqDirector::getRootHistogramFilePath().

141  {
142  std::stringstream ss;
144  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".root";
145  return ss.str();
146  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ runLumiPrefix()

std::string fffnaming::runLumiPrefix ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 10 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, and contentValuesCheck::ss.

10  {
11  std::stringstream ss;
12  ss << "run" << std::setfill('0') << std::setw(6) << run << "_ls" << std::setfill('0') << std::setw(4) << ls;
13  return ss.str();
14  }
def ls(path, rec=False)
Definition: eostools.py:349

◆ runLumiPrefixFill()

void fffnaming::runLumiPrefixFill ( std::stringstream &  ss,
const unsigned int  run,
const unsigned int  ls 
)
inline

◆ streamerDataChecksumFileNameWithInstance()

std::string fffnaming::streamerDataChecksumFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 91 of file FFFNamingSchema.h.

References instance, eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getMergedDatChecksumFilePath().

94  {
95  std::stringstream ss;
97  ss << "_" << stream << "_" << instance << ".checksum";
98  return ss.str();
99  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ streamerDataFileNameWithInstance()

std::string fffnaming::streamerDataFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 81 of file FFFNamingSchema.h.

References instance, eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getMergedDatFilePath().

84  {
85  std::stringstream ss;
87  ss << "_" << stream << "_" << instance << ".dat";
88  return ss.str();
89  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ streamerDataFileNameWithPid()

std::string fffnaming::streamerDataFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 72 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getDatFilePath(), and evf::EvFDaqDirector::getOpenDatFilePath().

74  {
75  std::stringstream ss;
77  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".dat";
78  return ss.str();
79  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ streamerJsonFileNameWithInstance()

std::string fffnaming::streamerJsonFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 110 of file FFFNamingSchema.h.

References instance, eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

113  {
114  std::stringstream ss;
116  ss << "_stream" << stream << "_" << instance << ".jsn";
117  return ss.str();
118  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349

◆ streamerJsonFileNameWithPid()

std::string fffnaming::streamerJsonFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 101 of file FFFNamingSchema.h.

References eostools::ls(), writedatasetfile::run, runLumiPrefixFill(), contentValuesCheck::ss, and cms::cuda::stream.

Referenced by evf::EvFDaqDirector::getOpenOutputJsonFilePath(), and evf::EvFDaqDirector::getOutputJsonFilePath().

103  {
104  std::stringstream ss;
106  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".jsn";
107  return ss.str();
108  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
def ls(path, rec=False)
Definition: eostools.py:349