CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 27 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

27  {
28  std::stringstream ss;
29  runLumiPrefixFill(ss, run, ls);
30  ss << "_BoLS.jsn";
31  return ss.str();
32  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:349
std::string fffnaming::eolsFileName ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 20 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

20  {
21  std::stringstream ss;
22  runLumiPrefixFill(ss, run, ls);
23  ss << "_EoLS.jsn";
24  return ss.str();
25  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:349
std::string fffnaming::eorFileName ( const unsigned int  run)
inline

Definition at line 34 of file FFFNamingSchema.h.

References 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  }
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 runLumiPrefixFill(), and contentValuesCheck::ss.

166  {
167  std::stringstream ss;
168  runLumiPrefixFill(ss, run, ls);
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
Definition: eostools.py:349
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 runLumiPrefixFill(), and contentValuesCheck::ss.

65  {
66  std::stringstream ss;
67  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

55  {
56  std::stringstream ss;
57  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

41  {
42  std::stringstream ss;
43  runLumiPrefixFill(ss, run, ls);
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
Definition: eostools.py:349
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

48  {
49  std::stringstream ss;
50  runLumiPrefixFill(ss, run, ls);
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
Definition: eostools.py:349
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

132  {
133  std::stringstream ss;
134  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

122  {
123  std::stringstream ss;
124  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

151  {
152  std::stringstream ss;
153  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

141  {
142  std::stringstream ss;
143  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
std::string fffnaming::runLumiPrefix ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 10 of file FFFNamingSchema.h.

References eostools::ls(), 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
Definition: eostools.py:349
void fffnaming::runLumiPrefixFill ( std::stringstream &  ss,
const unsigned int  run,
const unsigned int  ls 
)
inline
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

94  {
95  std::stringstream ss;
96  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

84  {
85  std::stringstream ss;
86  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

74  {
75  std::stringstream ss;
76  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

113  {
114  std::stringstream ss;
115  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

103  {
104  std::stringstream ss;
105  runLumiPrefixFill(ss, run, ls);
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)
def ls
Definition: eostools.py:349
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream