CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
RawEventFileWriterForBU Class Reference

#include <RawEventFileWriterForBU.h>

Public Member Functions

uint32 adler32 () const
 
void doOutputEvent (FRDEventMsgView const &msg)
 
void doOutputEvent (boost::shared_array< unsigned char > &msg)
 
void doOutputEventFragment (unsigned char *dataPtr, unsigned long dataSize)
 
void endOfLS (int ls)
 
void handler (int s)
 
void initialize (std::string const &destinationDir, std::string const &name, int ls)
 
void makeRunPrefix (std::string const &destinationDir)
 
 RawEventFileWriterForBU (edm::ParameterSet const &ps)
 
 RawEventFileWriterForBU (std::string const &fileName)
 
bool sharedMode () const
 
void start ()
 
void stop ()
 
 ~RawEventFileWriterForBU ()
 

Static Public Member Functions

static void staticHandler (int s)
 

Private Member Functions

bool closefd ()
 
void finishFileWrite (int ls)
 
void writeJsds ()
 

Private Attributes

uint32 adlera_
 
uint32 adlerb_
 
std::string destinationDir_
 
jsoncollector::DataPointDefinition eolJsonDef_
 
jsoncollector::DataPointDefinition eorJsonDef_
 
jsoncollector::FastMonitorfileMon_ = nullptr
 
std::string fileName_
 
unsigned int lumiClosed_ = 0
 
jsoncollector::FastMonitorlumiMon_ = nullptr
 
unsigned int lumiOpen_ = 0
 
int microSleep_
 
std::auto_ptr< std::ofstream > ost_
 
int outfd_ = -1
 
jsoncollector::IntJ perFileEventCount_
 
jsoncollector::IntJ perFileSize_
 
jsoncollector::IntJ perLumiEventCount_
 
jsoncollector::IntJ perLumiFileCount_
 
jsoncollector::IntJ perLumiLostEventCount_
 
jsoncollector::IntJ perLumiSize_
 
jsoncollector::IntJ perLumiTotalEventCount_
 
jsoncollector::IntJ perRunEventCount_
 
jsoncollector::IntJ perRunFileCount_
 
jsoncollector::IntJ perRunLastLumi_
 
jsoncollector::IntJ perRunLumiCount_
 
jsoncollector::DataPointDefinition rawJsonDef_
 
int run_ = -1
 
jsoncollector::FastMonitorrunMon_ = nullptr
 
std::string runPrefix_
 
bool writtenJSDs_ =false
 

Static Private Attributes

static RawEventFileWriterForBUinstance = 0
 

Detailed Description

Definition at line 20 of file RawEventFileWriterForBU.h.

Constructor & Destructor Documentation

RawEventFileWriterForBU::RawEventFileWriterForBU ( edm::ParameterSet const &  ps)
explicit

Definition at line 29 of file RawEventFileWriterForBU.cc.

References jsoncollector::DataPointDefinition::addLegendItem(), jsoncollector::FastMonitor::commit(), eolJsonDef_, eorJsonDef_, fileMon_, instance, lumiMon_, NULL, perFileEventCount_, perFileSize_, perLumiEventCount_, perLumiFileCount_, perLumiLostEventCount_, perLumiSize_, perLumiTotalEventCount_, perRunEventCount_, perRunFileCount_, perRunLastLumi_, perRunLumiCount_, rawJsonDef_, jsoncollector::FastMonitor::registerGlobalMonitorable(), runMon_, jsoncollector::DataPointDefinition::setDefaultGroup(), jsoncollector::JsonMonitorable::setName(), staticHandler(), and SUM.

29  :
30  // default to .5ms sleep per event
31  microSleep_(ps.getUntrackedParameter<int>("microSleep", 0))
32  //debug_(ps.getUntrackedParameter<bool>("debug", False))
33 {
34 
35  //per-file JSD and FastMonitor
36  rawJsonDef_.setDefaultGroup("legend");
38 
39  perFileEventCount_.setName("NEvents");
40  perFileSize_.setName("NBytes");
41 
42  fileMon_ = new FastMonitor(&rawJsonDef_,false);
45  fileMon_->commit(nullptr);
46 
47  //per-lumi JSD and FastMonitor
48  eolJsonDef_.setDefaultGroup("legend");
51  eolJsonDef_.addLegendItem("TotalEvents","integer",DataPointDefinition::SUM);
52  eolJsonDef_.addLegendItem("NLostEvents","integer",DataPointDefinition::SUM);
53 
54  perLumiEventCount_.setName("NEvents");
55  perLumiFileCount_.setName("NFiles");
56  perLumiTotalEventCount_.setName("TotalEvents");
57  perLumiLostEventCount_.setName("NLostEvents");
58  perLumiSize_.setName("NBytes");
59 
60  lumiMon_ = new FastMonitor(&eolJsonDef_,false);
66  lumiMon_->commit(nullptr);
67 
68 
69  //per-run JSD and FastMonitor
70  eorJsonDef_.setDefaultGroup("legend");
75 
76  perRunEventCount_.setName("NEvents");
77  perRunFileCount_.setName("NFiles");
78  perRunLumiCount_.setName("NLumis");
79  perRunLastLumi_.setName("LastLumi");
80 
81  runMon_ = new FastMonitor(&eorJsonDef_,false);
86  runMon_->commit(nullptr);
87 
88  instance = this;
89 
90  // SIGINT Handler
91  struct sigaction sigIntHandler;
92  sigIntHandler.sa_handler = RawEventFileWriterForBU::staticHandler;
93  sigemptyset(&sigIntHandler.sa_mask);
94  sigIntHandler.sa_flags = 0;
95  sigaction(SIGINT, &sigIntHandler, NULL);
96 
97 }
void addLegendItem(std::string const &name, std::string const &type, std::string const &operation)
jsoncollector::FastMonitor * fileMon_
jsoncollector::IntJ perLumiLostEventCount_
jsoncollector::IntJ perFileEventCount_
jsoncollector::DataPointDefinition eolJsonDef_
jsoncollector::IntJ perRunLumiCount_
jsoncollector::IntJ perRunLastLumi_
jsoncollector::DataPointDefinition eorJsonDef_
jsoncollector::IntJ perLumiFileCount_
jsoncollector::IntJ perRunEventCount_
#define NULL
Definition: scimark2.h:8
void registerGlobalMonitorable(JsonMonitorable *newMonitorable, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
Definition: FastMonitor.cc:62
jsoncollector::IntJ perLumiEventCount_
virtual void setName(std::string name)
jsoncollector::IntJ perLumiSize_
static void staticHandler(int s)
jsoncollector::FastMonitor * runMon_
jsoncollector::IntJ perRunFileCount_
void commit(std::vector< unsigned int > *streamLumisPtr)
Definition: FastMonitor.cc:109
jsoncollector::DataPointDefinition rawJsonDef_
#define SUM(A, B)
static RawEventFileWriterForBU * instance
jsoncollector::IntJ perLumiTotalEventCount_
jsoncollector::IntJ perFileSize_
void setDefaultGroup(std::string const &group)
jsoncollector::FastMonitor * lumiMon_
RawEventFileWriterForBU::RawEventFileWriterForBU ( std::string const &  fileName)
explicit

Definition at line 99 of file RawEventFileWriterForBU.cc.

100 {
101 
102 }
RawEventFileWriterForBU::~RawEventFileWriterForBU ( )

Definition at line 104 of file RawEventFileWriterForBU.cc.

References fileMon_, lumiMon_, and runMon_.

105 {
106  delete fileMon_;
107  delete lumiMon_;
108  delete runMon_;
109 }
jsoncollector::FastMonitor * fileMon_
jsoncollector::FastMonitor * runMon_
jsoncollector::FastMonitor * lumiMon_

Member Function Documentation

uint32 RawEventFileWriterForBU::adler32 ( ) const
inline

Definition at line 33 of file RawEventFileWriterForBU.h.

References adlera_, and adlerb_.

bool RawEventFileWriterForBU::closefd ( )
inlineprivate

Definition at line 47 of file RawEventFileWriterForBU.h.

References outfd_.

Referenced by endOfLS(), and initialize().

47 {if(outfd_>=0){close(outfd_); outfd_=-1; return true;} else return false;}
void RawEventFileWriterForBU::doOutputEvent ( FRDEventMsgView const &  msg)

Definition at line 111 of file RawEventFileWriterForBU.cc.

References Exception, fileName_, microSleep_, outfd_, perFileEventCount_, perFileSize_, FRDEventMsgView::size(), FRDEventMsgView::startAddress(), jsoncollector::IntJ::value(), and TablePrint::write.

112 {
113  ssize_t retval = write(outfd_,(void*)msg.startAddress(), msg.size());
114 
115  if((unsigned)retval!= msg.size()){
116  throw cms::Exception("RawEventFileWriterForBU", "doOutputEvent")
117  << "Error writing FED Raw Data event data to "
118  << fileName_ << ". Possibly the output disk "
119  << "is full?" << std::endl;
120  }
121 
122  // throttle event output
123  usleep(microSleep_);
125  perFileSize_.value()+=msg.size();
126 
127  // cms::Adler32((const char*) msg.startAddress(), msg.size(), adlera_, adlerb_);
128 }
jsoncollector::IntJ perFileEventCount_
jsoncollector::IntJ perFileSize_
void RawEventFileWriterForBU::doOutputEvent ( boost::shared_array< unsigned char > &  msg)
inline

Definition at line 29 of file RawEventFileWriterForBU.h.

29 {};
void RawEventFileWriterForBU::doOutputEventFragment ( unsigned char *  dataPtr,
unsigned long  dataSize 
)

Definition at line 130 of file RawEventFileWriterForBU.cc.

References Exception.

131 {
132 
133  throw cms::Exception("RawEventFileWriterForBU", "doOutputEventFragment")
134  << "Unsupported output mode ";
135 
136  //cms::Adler32((const char*) dataPtr, dataSize, adlera_, adlerb_);
137 }
void RawEventFileWriterForBU::endOfLS ( int  ls)

Definition at line 268 of file RawEventFileWriterForBU.cc.

References closefd(), destinationDir_, jsoncollector::FastMonitor::discardCollected(), finishFileWrite(), eostools::ls(), lumiClosed_, lumiMon_, makeRunPrefix(), jsoncollector::FastMonitor::outputFullJSON(), fed_dqm_sourceclient-live_cfg::path, perLumiEventCount_, perLumiFileCount_, perLumiSize_, perLumiTotalEventCount_, perRunEventCount_, perRunFileCount_, perRunLastLumi_, perRunLumiCount_, run_, runPrefix_, jsoncollector::FastMonitor::snap(), AlCaHLTBitMon_QueryRunRegistry::string, and jsoncollector::IntJ::value().

Referenced by handler().

269 {
270  if (closefd()) finishFileWrite(ls);
271  lumiMon_->snap(ls);
272 
273  std::ostringstream ostr;
274 
276 
277  ostr << destinationDir_ << "/"<< runPrefix_ << "_ls" << std::setfill('0') << std::setw(4) << ls << "_EoLS" << ".jsn";
278  //outfd_ = open(ostr.str().c_str(), O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP | S_IWOTH | S_IROTH);
279  //closefd();
280 
281  std::string path = ostr.str();
282  lumiMon_->outputFullJSON(path, ls);
284 
287  perRunLumiCount_.value() += 1;
289 
290  perLumiEventCount_ = 0;
291  perLumiFileCount_ = 0;
293  perLumiSize_ = 0;
294  lumiClosed_ = ls;
295 }
bool outputFullJSON(std::string const &path, unsigned int lumi, bool log=true)
Definition: FastMonitor.cc:249
jsoncollector::IntJ perRunLumiCount_
jsoncollector::IntJ perRunLastLumi_
jsoncollector::IntJ perLumiFileCount_
jsoncollector::IntJ perRunEventCount_
def ls
Definition: eostools.py:348
jsoncollector::IntJ perLumiEventCount_
jsoncollector::IntJ perLumiSize_
jsoncollector::IntJ perRunFileCount_
jsoncollector::IntJ perLumiTotalEventCount_
void snap(unsigned int ls)
Definition: FastMonitor.cc:190
void makeRunPrefix(std::string const &destinationDir)
jsoncollector::FastMonitor * lumiMon_
void discardCollected(unsigned int forLumi)
Definition: FastMonitor.cc:268
void RawEventFileWriterForBU::finishFileWrite ( int  ls)
private

Definition at line 235 of file RawEventFileWriterForBU.cc.

References destinationDir_, jsoncollector::FastMonitor::discardCollected(), fileMon_, fileName_, eostools::ls(), lumiOpen_, jsoncollector::FastMonitor::outputFullJSON(), fed_dqm_sourceclient-live_cfg::path, perFileEventCount_, perFileSize_, perLumiEventCount_, perLumiFileCount_, perLumiSize_, perLumiTotalEventCount_, jsoncollector::FastMonitor::snap(), source, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and jsoncollector::IntJ::value().

Referenced by endOfLS(), and initialize().

236 {
237 
238  //move raw file from open to run directory
239  rename(fileName_.c_str(),(destinationDir_+fileName_.substr(fileName_.rfind("/"))).c_str());
240 
241  //create equivalent JSON file
242  std::stringstream ss;
243  //TODO:fix this to use DaqDirector convention and better extension replace
245  std::string path = source.replace_extension(".jsn").string();
246 
247  fileMon_->snap(ls);
248  fileMon_->outputFullJSON(path, ls, false);
250 
251  //move the json file from open
252  rename(path.c_str(),(destinationDir_+path.substr(path.rfind("/"))).c_str());
253  //there is a small chance that script gets interrupted while this isn't consistent (non-atomic)
258  //update open lumi value when first file is completed
259  lumiOpen_ = ls;
260 
261  edm::LogInfo("RawEventFileWriterForBU") << "Wrote JSON input file: " << path
262  << " with perFileEventCount = " << perFileEventCount_.value()
263  << " and size " << perFileSize_.value();
264 
265 }
jsoncollector::FastMonitor * fileMon_
jsoncollector::IntJ perFileEventCount_
bool outputFullJSON(std::string const &path, unsigned int lumi, bool log=true)
Definition: FastMonitor.cc:249
jsoncollector::IntJ perLumiFileCount_
def ls
Definition: eostools.py:348
jsoncollector::IntJ perLumiEventCount_
jsoncollector::IntJ perLumiSize_
jsoncollector::IntJ perLumiTotalEventCount_
void snap(unsigned int ls)
Definition: FastMonitor.cc:190
jsoncollector::IntJ perFileSize_
static std::string const source
Definition: EdmProvDump.cc:42
void discardCollected(unsigned int forLumi)
Definition: FastMonitor.cc:268
void RawEventFileWriterForBU::handler ( int  s)

Definition at line 306 of file RawEventFileWriterForBU.cc.

References destinationDir_, endOfLS(), lumiClosed_, lumiOpen_, makeRunPrefix(), jsoncollector::FastMonitor::outputFullJSON(), fed_dqm_sourceclient-live_cfg::path, run_, runMon_, runPrefix_, jsoncollector::FastMonitor::snap(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by staticHandler().

307 {
309  printf("Caught signal %d. Writing EOR file!\n",s);
310  if (destinationDir_.size() > 0)
311  {
312  // create EoR file
314  std::string path = destinationDir_ + "/" + runPrefix_ + "_ls0000_EoR.jsn";
315  runMon_->snap(0);
316  runMon_->outputFullJSON(path, 0);
317  }
318  _exit(0);
319 }
bool outputFullJSON(std::string const &path, unsigned int lumi, bool log=true)
Definition: FastMonitor.cc:249
jsoncollector::FastMonitor * runMon_
void snap(unsigned int ls)
Definition: FastMonitor.cc:190
void makeRunPrefix(std::string const &destinationDir)
void RawEventFileWriterForBU::initialize ( std::string const &  destinationDir,
std::string const &  name,
int  ls 
)

Definition at line 139 of file RawEventFileWriterForBU.cc.

References adlera_, adlerb_, closefd(), destinationDir_, Exception, fileName_, finishFileWrite(), mergeVDriftHistosByStation::name, outfd_, perFileEventCount_, perFileSize_, jsoncollector::IntJ::value(), writeJsds(), and writtenJSDs_.

140 {
141  destinationDir_ = destinationDir;
142 
143  if (closefd()) finishFileWrite(ls);
144 
145  fileName_ = name;
146 
147  if (!writtenJSDs_) {
148  writeJsds();
149 /* std::stringstream ss;
150  ss << destinationDir_ << "/jsd";
151  mkdir(ss.str().c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
152 
153  std::string rawJSDName = ss.str()+"/rawData.jsd";
154  std::string eolJSDName = ss.str()+"/EoLS.jsd";
155  std::string eorJSDName = ss.str()+"/EoR.jsd";
156 
157  fileMon_->setDefPath(rawJSDName);
158  lumiMon_->setDefPath(eolJSDName);
159  runMon_->setDefPath(eorJSDName);
160 
161  struct stat fstat;
162  if (stat (rawJSDName.c_str(), &fstat) != 0) {
163  std::string content;
164  JSONSerializer::serialize(&rawJsonDef_,content);
165  FileIO::writeStringToFile(rawJSDName, content);
166  }
167 
168  if (stat (eolJSDName.c_str(), &fstat) != 0) {
169  std::string content;
170  JSONSerializer::serialize(&eolJsonDef_,content);
171  FileIO::writeStringToFile(eolJSDName, content);
172  }
173 
174  if (stat (eorJSDName.c_str(), &fstat) != 0) {
175  std::string content;
176  JSONSerializer::serialize(&eorJsonDef_,content);
177  FileIO::writeStringToFile(eorJSDName, content);
178  }
179 */
180  writtenJSDs_=true;
181 
182  }
183 
184  outfd_ = open(fileName_.c_str(), O_WRONLY | O_CREAT, S_IRWXU | S_IRWXG | S_IRWXO);
185  edm::LogInfo("RawEventFileWriterForBU") << " opened " << fileName_;
186  if(outfd_ < 0) { //attention here... it may happen that outfd_ is *not* set (e.g. missing initialize call...)
187  throw cms::Exception("RawEventFileWriterForBU","initialize")
188  << "Error opening FED Raw Data event output file: " << name
189  << ": " << strerror(errno) << "\n";
190  }
191 
193  perFileSize_.value() = 0;
194 
195 
196  adlera_ = 1;
197  adlerb_ = 0;
198 }
jsoncollector::IntJ perFileEventCount_
def ls
Definition: eostools.py:348
jsoncollector::IntJ perFileSize_
void RawEventFileWriterForBU::makeRunPrefix ( std::string const &  destinationDir)

Definition at line 322 of file RawEventFileWriterForBU.cc.

References DTTTrigCorrFirst::run, run_, runPrefix_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by endOfLS(), and handler().

323 {
324  //dirty hack: extract run number from destination directory
325  std::string::size_type pos = destinationDir.find("run");
326  std::string run = destinationDir.substr(pos+3);
327  run_=atoi(run.c_str());
328  std::stringstream ss;
329  ss << "run" << std::setfill('0') << std::setw(6) << run_;
330  runPrefix_ = ss.str();
331 }
uint16_t size_type
bool RawEventFileWriterForBU::sharedMode ( ) const
inline

Definition at line 39 of file RawEventFileWriterForBU.h.

39 {return false;}
void RawEventFileWriterForBU::start ( void  )
inline
static void RawEventFileWriterForBU::staticHandler ( int  s)
inlinestatic

Definition at line 43 of file RawEventFileWriterForBU.h.

References handler(), and instance.

Referenced by RawEventFileWriterForBU().

43 { instance->handler(s); }
static RawEventFileWriterForBU * instance
void RawEventFileWriterForBU::stop ( )
void RawEventFileWriterForBU::writeJsds ( )
private

Definition at line 200 of file RawEventFileWriterForBU.cc.

References ws_sso_content_reader::content, destinationDir_, eolJsonDef_, eorJsonDef_, fileMon_, lumiMon_, eostools::mkdir(), rawJsonDef_, runMon_, cond::serialize(), jsoncollector::FastMonitor::setDefPath(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by initialize().

201 {
202 
203  std::stringstream ss;
204  ss << destinationDir_ << "/jsd";
205  mkdir(ss.str().c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
206 
207  std::string rawJSDName = ss.str()+"/rawData.jsd";
208  std::string eolJSDName = ss.str()+"/EoLS.jsd";
209  std::string eorJSDName = ss.str()+"/EoR.jsd";
210 
211  fileMon_->setDefPath(rawJSDName);
212  lumiMon_->setDefPath(eolJSDName);
213  runMon_->setDefPath(eorJSDName);
214 
215  struct stat fstat;
216  if (stat (rawJSDName.c_str(), &fstat) != 0) {
219  FileIO::writeStringToFile(rawJSDName, content);
220  }
221 
222  if (stat (eolJSDName.c_str(), &fstat) != 0) {
225  FileIO::writeStringToFile(eolJSDName, content);
226  }
227 
228  if (stat (eorJSDName.c_str(), &fstat) != 0) {
231  FileIO::writeStringToFile(eorJSDName, content);
232  }
233 }
jsoncollector::FastMonitor * fileMon_
void setDefPath(std::string const &dpath)
Definition: FastMonitor.h:30
jsoncollector::DataPointDefinition eolJsonDef_
jsoncollector::DataPointDefinition eorJsonDef_
jsoncollector::FastMonitor * runMon_
jsoncollector::DataPointDefinition rawJsonDef_
std::pair< Binary, Binary > serialize(const T &payload, bool packingOnly=false)
Definition: Serialization.h:55
def mkdir
Definition: eostools.py:250
jsoncollector::FastMonitor * lumiMon_

Member Data Documentation

uint32 RawEventFileWriterForBU::adlera_
private

Definition at line 85 of file RawEventFileWriterForBU.h.

Referenced by adler32(), and initialize().

uint32 RawEventFileWriterForBU::adlerb_
private

Definition at line 86 of file RawEventFileWriterForBU.h.

Referenced by adler32(), and initialize().

std::string RawEventFileWriterForBU::destinationDir_
private

Definition at line 81 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), finishFileWrite(), handler(), initialize(), stop(), and writeJsds().

jsoncollector::DataPointDefinition RawEventFileWriterForBU::eolJsonDef_
private

Definition at line 75 of file RawEventFileWriterForBU.h.

Referenced by RawEventFileWriterForBU(), and writeJsds().

jsoncollector::DataPointDefinition RawEventFileWriterForBU::eorJsonDef_
private

Definition at line 76 of file RawEventFileWriterForBU.h.

Referenced by RawEventFileWriterForBU(), and writeJsds().

jsoncollector::FastMonitor* RawEventFileWriterForBU::fileMon_ = nullptr
private
std::string RawEventFileWriterForBU::fileName_
private

Definition at line 80 of file RawEventFileWriterForBU.h.

Referenced by doOutputEvent(), finishFileWrite(), and initialize().

RawEventFileWriterForBU * RawEventFileWriterForBU::instance = 0
staticprivate
unsigned int RawEventFileWriterForBU::lumiClosed_ = 0
private

Definition at line 91 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), and handler().

jsoncollector::FastMonitor* RawEventFileWriterForBU::lumiMon_ = nullptr
private
unsigned int RawEventFileWriterForBU::lumiOpen_ = 0
private

Definition at line 90 of file RawEventFileWriterForBU.h.

Referenced by finishFileWrite(), and handler().

int RawEventFileWriterForBU::microSleep_
private

Definition at line 83 of file RawEventFileWriterForBU.h.

Referenced by doOutputEvent().

std::auto_ptr<std::ofstream> RawEventFileWriterForBU::ost_
private

Definition at line 79 of file RawEventFileWriterForBU.h.

int RawEventFileWriterForBU::outfd_ = -1
private

Definition at line 50 of file RawEventFileWriterForBU.h.

Referenced by closefd(), doOutputEvent(), and initialize().

jsoncollector::IntJ RawEventFileWriterForBU::perFileEventCount_
private
jsoncollector::IntJ RawEventFileWriterForBU::perFileSize_
private
jsoncollector::IntJ RawEventFileWriterForBU::perLumiEventCount_
private

Definition at line 60 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perLumiFileCount_
private

Definition at line 61 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perLumiLostEventCount_
private

Definition at line 63 of file RawEventFileWriterForBU.h.

Referenced by RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perLumiSize_
private

Definition at line 64 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perLumiTotalEventCount_
private

Definition at line 62 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perRunEventCount_
private

Definition at line 55 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), and RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perRunFileCount_
private

Definition at line 56 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), and RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perRunLastLumi_
private

Definition at line 58 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), and RawEventFileWriterForBU().

jsoncollector::IntJ RawEventFileWriterForBU::perRunLumiCount_
private

Definition at line 57 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), and RawEventFileWriterForBU().

jsoncollector::DataPointDefinition RawEventFileWriterForBU::rawJsonDef_
private

Definition at line 74 of file RawEventFileWriterForBU.h.

Referenced by RawEventFileWriterForBU(), and writeJsds().

int RawEventFileWriterForBU::run_ = -1
private

Definition at line 52 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), handler(), and makeRunPrefix().

jsoncollector::FastMonitor* RawEventFileWriterForBU::runMon_ = nullptr
private
std::string RawEventFileWriterForBU::runPrefix_
private

Definition at line 53 of file RawEventFileWriterForBU.h.

Referenced by endOfLS(), handler(), makeRunPrefix(), and stop().

bool RawEventFileWriterForBU::writtenJSDs_ =false
private

Definition at line 77 of file RawEventFileWriterForBU.h.

Referenced by initialize().