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

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

Definition at line 27 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

Definition at line 20 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

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:348
std::string fffnaming::eorFileName ( const unsigned int  run)
inline

Definition at line 34 of file FFFNamingSchema.h.

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

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

References runLumiPrefixFill().

157  {
158  std::stringstream ss;
160  ss << "_";
161  if (!typePrefix.empty())
162  ss << typePrefix;
163  if (typeWidth)
164  ss << std::setfill('0') << std::setw(typeWidth);
165  ss << typeSuffix;
166  if (!instanceSuffix.empty()) {
167  ss << "_";
168  if (!instancePrefix.empty())
169  ss << instancePrefix;
170  if (instanceWidth)
171  ss << std::setfill('0') << std::setw(instanceWidth);
172  ss << instanceSuffix;
173  }
174  if (!fileExtension.empty())
175  ss << "." << fileExtension;
176  return ss.str();
177  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
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 63 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

Definition at line 54 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

54  {
55  std::stringstream ss;
57  ss << "_" << stream
58  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
59  << ".ini";
60  return ss.str();
61  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
Definition: eostools.py:348
std::string fffnaming::inputJsonFileName ( const unsigned int  run,
const unsigned int  ls,
const unsigned int  index 
)
inline

Definition at line 40 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

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

Definition at line 47 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

47  {
48  std::stringstream ss;
50  ss << "_index" << std::setfill('0') << std::setw(6) << index << ".raw";
51  return ss.str();
52  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
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 126 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

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

Definition at line 117 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

117  {
118  std::stringstream ss;
120  ss << "_" << stream
121  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
122  << ".pb";
123  return ss.str();
124  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
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 144 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

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

Definition at line 135 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

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

Definition at line 10 of file FFFNamingSchema.h.

References eostools::ls().

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: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 90 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

90  {
91  std::stringstream ss;
93  ss << "_" << stream
94  << "_" << instance
95  << ".checksum";
96  return ss.str();
97  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
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 81 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

81  {
82  std::stringstream ss;
84  ss << "_" << stream
85  << "_" << instance
86  << ".dat";
87  return ss.str();
88  }
static PFTauRenderPlugin instance
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
Definition: eostools.py:348
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().

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

72  {
73  std::stringstream ss;
75  ss << "_" << stream
76  << "_pid" << std::setfill('0') << std::setw(5) << getpid()
77  << ".dat";
78  return ss.str();
79  }
void runLumiPrefixFill(std::stringstream &ss, const unsigned int run, const unsigned int ls)
def ls(path, rec=False)
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 108 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

Definition at line 99 of file FFFNamingSchema.h.

References runLumiPrefixFill().

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

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