CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 26 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

26  {
27  std::stringstream ss;
29  ss << "_BoLS.jsn";
30  return ss.str();
31  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
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)
def ls
Definition: eostools.py:348
std::string fffnaming::eorFileName ( const unsigned int  run)
inline

Definition at line 33 of file FFFNamingSchema.h.

References contentValuesCheck::ss.

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

33  {
34  std::stringstream ss;
35  ss << "run" << std::setfill('0') << std::setw(6) << run << "_ls0000" << "_EoR.jsn";
36  return ss.str();
37  }
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 152 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

156  {
157  std::stringstream ss;
159  ss << "_";
160  if (typePrefix.size())
161  ss << typePrefix;
162  if (typeWidth)
163  ss << std::setfill('0') << std::setw(typeWidth);
164  ss << typeSuffix;
165  if (instanceSuffix.size()) {
166  ss << "_";
167  if (instancePrefix.size())
168  ss << instancePrefix;
169  if (instanceWidth)
170  ss << std::setfill('0') << std::setw(instanceWidth);
171  ss << instanceSuffix;
172  }
173  if (fileExtension.size())
174  ss << "." << fileExtension;
175  return ss.str();
176  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
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.

62  {
63  std::stringstream ss;
65  ss << "_" << stream
66  << "_" << instance
67  << ".ini";
68  return ss.str();
69  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::initFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 53 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

53  {
54  std::stringstream ss;
56  ss << "_" << stream
57  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
58  << ".ini";
59  return ss.str();
60  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::inputJsonFileName ( 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::getInputJsonFilePath(), and evf::EvFDaqDirector::getOpenInputJsonFilePath().

39  {
40  std::stringstream ss;
42  ss << "_index" << std::setfill('0') << std::setw(6) << index << ".jsn";
43  return ss.str();
44  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::inputRawFileName ( const unsigned int  run,
const unsigned int  ls,
const unsigned int  index 
)
inline

Definition at line 46 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

46  {
47  std::stringstream ss;
49  ss << "_index" << std::setfill('0') << std::setw(6) << index << ".raw";
50  return ss.str();
51  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::protocolBufferHistogramFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 125 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

125  {
126  std::stringstream ss;
128  ss << "_" << stream
129  << "_" << instance
130  << ".pb";
131  return ss.str();
132  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::protocolBufferHistogramFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 116 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

116  {
117  std::stringstream ss;
119  ss << "_" << stream
120  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
121  << ".pb";
122  return ss.str();
123  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::rootHistogramFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 143 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

143  {
144  std::stringstream ss;
146  ss << "_" << stream
147  << "_" << instance
148  << ".root";
149  return ss.str();
150  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::rootHistogramFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 134 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

134  {
135  std::stringstream ss;
137  ss << "_" << stream
138  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
139  << ".root";
140  return ss.str();
141  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::runLumiPrefix ( const unsigned int  run,
const unsigned int  ls 
)
inline

Definition at line 9 of file FFFNamingSchema.h.

References eostools::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  }
def ls
Definition: eostools.py:348
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 89 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

89  {
90  std::stringstream ss;
92  ss << "_" << stream
93  << "_" << instance
94  << ".checksum";
95  return ss.str();
96  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::streamerDataFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 80 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

80  {
81  std::stringstream ss;
83  ss << "_" << stream
84  << "_" << instance
85  << ".dat";
86  return ss.str();
87  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::streamerDataFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 71 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

71  {
72  std::stringstream ss;
74  ss << "_" << stream
75  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
76  << ".dat";
77  return ss.str();
78  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::streamerJsonFileNameWithInstance ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream,
std::string const &  instance 
)
inline

Definition at line 107 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

107  {
108  std::stringstream ss;
110  ss << "_stream" << stream
111  << "_" << instance
112  << ".jsn";
113  return ss.str();
114  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348
std::string fffnaming::streamerJsonFileNameWithPid ( const unsigned int  run,
const unsigned int  ls,
std::string const &  stream 
)
inline

Definition at line 98 of file FFFNamingSchema.h.

References runLumiPrefixFill(), and contentValuesCheck::ss.

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

98  {
99  std::stringstream ss;
101  ss << "_" << stream
102  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
103  << ".jsn";
104  return ss.str();
105  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls
Definition: eostools.py:348