CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
evf::GlobalEvFOutputJSONWriter Class Reference

Public Member Functions

 GlobalEvFOutputJSONWriter (std::string const &streamLabel, jsoncollector::DataPointDefinition const &, std::string const &outJsonDefName)
 

Public Attributes

jsoncollector::IntJ accepted_
 
jsoncollector::IntJ errorEvents_
 
jsoncollector::IntJ fileAdler32_
 
jsoncollector::StringJ filelist_
 
jsoncollector::IntJ filesize_
 
jsoncollector::IntJ hltErrorEvents_
 
jsoncollector::StringJ inputFiles_
 
std::shared_ptr< jsoncollector::FastMonitorjsonMonitor_
 
jsoncollector::StringJ mergeType_
 
jsoncollector::IntJ processed_
 
jsoncollector::IntJ retCodeMask_
 
jsoncollector::StringJ transferDestination_
 

Detailed Description

Definition at line 95 of file GlobalEvFOutputModule.cc.

Constructor & Destructor Documentation

◆ GlobalEvFOutputJSONWriter()

evf::GlobalEvFOutputJSONWriter::GlobalEvFOutputJSONWriter ( std::string const &  streamLabel,
jsoncollector::DataPointDefinition const &  outJsonDef,
std::string const &  outJsonDefName 
)

Definition at line 193 of file GlobalEvFOutputModule.cc.

196  : processed_(0),
197  accepted_(0),
198  errorEvents_(0),
199  retCodeMask_(0),
200  filelist_(),
201  filesize_(0),
202  inputFiles_(),
203  fileAdler32_(1),
204  hltErrorEvents_(0) {
207 
208  processed_.setName("Processed");
209  accepted_.setName("Accepted");
210  errorEvents_.setName("ErrorEvents");
211  retCodeMask_.setName("ReturnCodeMask");
212  filelist_.setName("Filelist");
213  filesize_.setName("Filesize");
214  inputFiles_.setName("InputFiles");
215  fileAdler32_.setName("FileAdler32");
216  transferDestination_.setName("TransferDestination");
217  mergeType_.setName("MergeType");
218  hltErrorEvents_.setName("HLTErrorEvents");
219 
220  jsonMonitor_.reset(new jsoncollector::FastMonitor(&outJsonDef, true));
221  jsonMonitor_->setDefPath(outJsonDefName);
222  jsonMonitor_->registerGlobalMonitorable(&processed_, false);
223  jsonMonitor_->registerGlobalMonitorable(&accepted_, false);
224  jsonMonitor_->registerGlobalMonitorable(&errorEvents_, false);
225  jsonMonitor_->registerGlobalMonitorable(&retCodeMask_, false);
226  jsonMonitor_->registerGlobalMonitorable(&filelist_, false);
227  jsonMonitor_->registerGlobalMonitorable(&filesize_, false);
228  jsonMonitor_->registerGlobalMonitorable(&inputFiles_, false);
229  jsonMonitor_->registerGlobalMonitorable(&fileAdler32_, false);
230  jsonMonitor_->registerGlobalMonitorable(&transferDestination_, false);
231  jsonMonitor_->registerGlobalMonitorable(&mergeType_, false);
232  jsonMonitor_->registerGlobalMonitorable(&hltErrorEvents_, false);
233  jsonMonitor_->commit(nullptr);
234  }

References accepted_, errorEvents_, fileAdler32_, filelist_, filesize_, hltErrorEvents_, inputFiles_, jsonMonitor_, mergeType_, evf::MergeTypeDAT, processed_, retCodeMask_, jsoncollector::JsonMonitorable::setName(), beamhlt_dqm_sourceclient-live_cfg::streamLabel, and transferDestination_.

Member Data Documentation

◆ accepted_

jsoncollector::IntJ evf::GlobalEvFOutputJSONWriter::accepted_

Definition at line 102 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ errorEvents_

jsoncollector::IntJ evf::GlobalEvFOutputJSONWriter::errorEvents_

Definition at line 103 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ fileAdler32_

jsoncollector::IntJ evf::GlobalEvFOutputJSONWriter::fileAdler32_

Definition at line 108 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ filelist_

jsoncollector::StringJ evf::GlobalEvFOutputJSONWriter::filelist_

Definition at line 105 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ filesize_

jsoncollector::IntJ evf::GlobalEvFOutputJSONWriter::filesize_

Definition at line 106 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ hltErrorEvents_

jsoncollector::IntJ evf::GlobalEvFOutputJSONWriter::hltErrorEvents_

Definition at line 111 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ inputFiles_

jsoncollector::StringJ evf::GlobalEvFOutputJSONWriter::inputFiles_

Definition at line 107 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ jsonMonitor_

std::shared_ptr<jsoncollector::FastMonitor> evf::GlobalEvFOutputJSONWriter::jsonMonitor_

Definition at line 112 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ mergeType_

jsoncollector::StringJ evf::GlobalEvFOutputJSONWriter::mergeType_

Definition at line 110 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ processed_

jsoncollector::IntJ evf::GlobalEvFOutputJSONWriter::processed_

Definition at line 101 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ retCodeMask_

jsoncollector::IntJ evf::GlobalEvFOutputJSONWriter::retCodeMask_

Definition at line 104 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

◆ transferDestination_

jsoncollector::StringJ evf::GlobalEvFOutputJSONWriter::transferDestination_

Definition at line 109 of file GlobalEvFOutputModule.cc.

Referenced by GlobalEvFOutputJSONWriter().

evf::GlobalEvFOutputJSONWriter::filelist_
jsoncollector::StringJ filelist_
Definition: GlobalEvFOutputModule.cc:105
evf::GlobalEvFOutputJSONWriter::errorEvents_
jsoncollector::IntJ errorEvents_
Definition: GlobalEvFOutputModule.cc:103
evf::GlobalEvFOutputJSONWriter::transferDestination_
jsoncollector::StringJ transferDestination_
Definition: GlobalEvFOutputModule.cc:109
evf::GlobalEvFOutputJSONWriter::jsonMonitor_
std::shared_ptr< jsoncollector::FastMonitor > jsonMonitor_
Definition: GlobalEvFOutputModule.cc:112
jsoncollector::JsonMonitorable::setName
virtual void setName(std::string name)
Definition: JsonMonitorable.h:38
evf::GlobalEvFOutputJSONWriter::retCodeMask_
jsoncollector::IntJ retCodeMask_
Definition: GlobalEvFOutputModule.cc:104
evf::MergeTypeDAT
Definition: EvFDaqDirector.h:58
evf::GlobalEvFOutputJSONWriter::filesize_
jsoncollector::IntJ filesize_
Definition: GlobalEvFOutputModule.cc:106
evf::GlobalEvFOutputJSONWriter::accepted_
jsoncollector::IntJ accepted_
Definition: GlobalEvFOutputModule.cc:102
edm::Service
Definition: Service.h:30
evf::GlobalEvFOutputJSONWriter::hltErrorEvents_
jsoncollector::IntJ hltErrorEvents_
Definition: GlobalEvFOutputModule.cc:111
evf::GlobalEvFOutputJSONWriter::mergeType_
jsoncollector::StringJ mergeType_
Definition: GlobalEvFOutputModule.cc:110
jsoncollector::FastMonitor
Definition: FastMonitor.h:19
evf::GlobalEvFOutputJSONWriter::fileAdler32_
jsoncollector::IntJ fileAdler32_
Definition: GlobalEvFOutputModule.cc:108
evf::GlobalEvFOutputJSONWriter::inputFiles_
jsoncollector::StringJ inputFiles_
Definition: GlobalEvFOutputModule.cc:107
evf::GlobalEvFOutputJSONWriter::processed_
jsoncollector::IntJ processed_
Definition: GlobalEvFOutputModule.cc:101
beamhlt_dqm_sourceclient-live_cfg.streamLabel
streamLabel
Definition: beamhlt_dqm_sourceclient-live_cfg.py:58