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 initTempFileNameWithPid (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::getEoRFileName(), 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 165 of file FFFNamingSchema.h.

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

173  {
174  std::stringstream ss;
176  ss << "_";
177  if (!typePrefix.empty())
178  ss << typePrefix;
179  if (typeWidth)
180  ss << std::setfill('0') << std::setw(typeWidth);
181  ss << typeSuffix;
182  if (!instanceSuffix.empty()) {
183  ss << "_";
184  if (!instancePrefix.empty())
185  ss << instancePrefix;
186  if (instanceWidth)
187  ss << std::setfill('0') << std::setw(instanceWidth);
188  ss << instanceSuffix;
189  }
190  if (!fileExtension.empty())
191  ss << "." << fileExtension;
192  return ss.str();
193  }
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 69 of file FFFNamingSchema.h.

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

72  {
73  std::stringstream ss;
75  ss << "_" << stream << "_" << instance << ".ini";
76  return ss.str();
77  }
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

◆ initTempFileNameWithPid()

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

Definition at line 62 of file FFFNamingSchema.h.

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

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

62  {
63  std::stringstream ss;
65  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".initemp";
66  return ss.str();
67  }
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 136 of file FFFNamingSchema.h.

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

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

139  {
140  std::stringstream ss;
142  ss << "_" << stream << "_" << instance << ".pb";
143  return ss.str();
144  }
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 127 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().

129  {
130  std::stringstream ss;
132  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".pb";
133  return ss.str();
134  }
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 155 of file FFFNamingSchema.h.

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

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

158  {
159  std::stringstream ss;
161  ss << "_" << stream << "_" << instance << ".root";
162  return ss.str();
163  }
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 146 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().

148  {
149  std::stringstream ss;
151  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".root";
152  return ss.str();
153  }
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 98 of file FFFNamingSchema.h.

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

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

101  {
102  std::stringstream ss;
104  ss << "_" << stream << "_" << instance << ".checksum";
105  return ss.str();
106  }
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 88 of file FFFNamingSchema.h.

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

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

91  {
92  std::stringstream ss;
94  ss << "_" << stream << "_" << instance << ".dat";
95  return ss.str();
96  }
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 79 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().

81  {
82  std::stringstream ss;
84  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".dat";
85  return ss.str();
86  }
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 117 of file FFFNamingSchema.h.

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

120  {
121  std::stringstream ss;
123  ss << "_stream" << stream << "_" << instance << ".jsn";
124  return ss.str();
125  }
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 108 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().

110  {
111  std::stringstream ss;
113  ss << "_" << stream << "_pid" << std::setfill('0') << std::setw(5) << getpid() << ".jsn";
114  return ss.str();
115  }
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