CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
fffnaming Namespace Reference

Functions

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::eolsFileName ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 19 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

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

Definition at line 26 of file FFFNamingSchema.h.

References contentValuesCheck::ss.

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

26  {
27  std::stringstream ss;
28  ss << "run" << std::setfill('0') << std::setw(6) << run << "_ls0000" << "_EoR.jsn";
29  return ss.str();
30  }
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 145 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

149  {
150  std::stringstream ss;
152  ss << "_";
153  if (typePrefix.size())
154  ss << typePrefix;
155  if (typeWidth)
156  ss << std::setfill('0') << std::setw(typeWidth);
157  ss << typeSuffix;
158  if (instanceSuffix.size()) {
159  ss << "_";
160  if (instancePrefix.size())
161  ss << instancePrefix;
162  if (instanceWidth)
163  ss << std::setfill('0') << std::setw(instanceWidth);
164  ss << instanceSuffix;
165  }
166  if (fileExtension.size())
167  ss << "." << fileExtension;
168  return ss.str();
169  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::initFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 55 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

55  {
56  std::stringstream ss;
58  ss << "_" << stream
59  << "_" << instance
60  << ".ini";
61  return ss.str();
62  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::initFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 46 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

46  {
47  std::stringstream ss;
49  ss << "_" << stream
50  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
51  << ".ini";
52  return ss.str();
53  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::inputJsonFileName ( const unsigned int  run,
const unsigned int  ls,
const unsigned int  index 
)
inline

Definition at line 32 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

32  {
33  std::stringstream ss;
35  ss << "_index" << std::setfill('0') << std::setw(6) << index << ".jsn";
36  return ss.str();
37  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::inputRawFileName ( const unsigned int  run,
const unsigned int  ls,
const unsigned int  index 
)
inline

Definition at line 39 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

39  {
40  std::stringstream ss;
42  ss << "_index" << std::setfill('0') << std::setw(6) << index << ".raw";
43  return ss.str();
44  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::protocolBufferHistogramFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 118 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

118  {
119  std::stringstream ss;
121  ss << "_" << stream
122  << "_" << instance
123  << ".pb";
124  return ss.str();
125  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::protocolBufferHistogramFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 109 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

109  {
110  std::stringstream ss;
112  ss << "_" << stream
113  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
114  << ".pb";
115  return ss.str();
116  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::rootHistogramFileNameWithInstance ( 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 runLumiPrefixFill(), and contentValuesCheck::ss.

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

136  {
137  std::stringstream ss;
139  ss << "_" << stream
140  << "_" << instance
141  << ".root";
142  return ss.str();
143  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::rootHistogramFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 127 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

127  {
128  std::stringstream ss;
130  ss << "_" << stream
131  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
132  << ".root";
133  return ss.str();
134  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::runLumiPrefix ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 9 of file FFFNamingSchema.h.

References python.rootplot.utilities::ls(), and contentValuesCheck::ss.

9  {
10  std::stringstream ss;
11  ss << "run" << std::setfill('0') << std::setw(6) << run << "_ls" << std::setfill('0') << std::setw(4) << ls;
12  return ss.str();
13  }
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 82 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

82  {
83  std::stringstream ss;
85  ss << "_" << stream
86  << "_" << instance
87  << ".checksum";
88  return ss.str();
89  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::streamerDataFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 73 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

73  {
74  std::stringstream ss;
76  ss << "_" << stream
77  << "_" << instance
78  << ".dat";
79  return ss.str();
80  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::streamerDataFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 64 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

64  {
65  std::stringstream ss;
67  ss << "_" << stream
68  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
69  << ".dat";
70  return ss.str();
71  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::streamerJsonFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 100 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

100  {
101  std::stringstream ss;
103  ss << "_stream" << stream
104  << "_" << instance
105  << ".jsn";
106  return ss.str();
107  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
std::string fffnaming::streamerJsonFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 91 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

91  {
92  std::stringstream ss;
94  ss << "_" << stream
95  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
96  << ".jsn";
97  return ss.str();
98  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)