CMS 3D CMS Logo

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

#include <DiskWriter.h>

Inheritance diagram for stor::DiskWriter:

Public Member Functions

 DiskWriter (xdaq::Application *, SharedResourcesPtr sr)
 
void startWorkLoop (std::string workloopName)
 
bool writeAction (toolbox::task::WorkLoop *)
 
 ~DiskWriter ()
 

Private Types

typedef boost::shared_ptr
< StreamHandler
StreamHandlerPtr
 
typedef std::vector
< StreamHandlerPtr
StreamHandlers
 

Private Member Functions

void checkForFileTimeOuts (const bool doItNow=false)
 
void checkStreamChangeRequest ()
 
void closeTimedOutFiles (const utils::TimePoint_t)
 
void configureErrorStreams (ErrStrConfigListPtr)
 
void configureEventStreams (EvtStrConfigListPtr)
 
void destroyStreams ()
 
 DiskWriter (DiskWriter const &)
 
void makeErrorStream (ErrorStreamConfigurationInfo &)
 
void makeEventStream (EventStreamConfigurationInfo &)
 
void makeFaultyEventStream ()
 
DiskWriteroperator= (DiskWriter const &)
 
void processEndOfLumiSection (const I2OChain &)
 
void reportRemainingLumiSections ()
 
void writeEndOfRunMarker ()
 
void writeEventToStreams (const I2OChain &)
 
void writeNextEvent ()
 

Private Attributes

bool actionIsActive_
 
xdaq::Application * app_
 
const DbFileHandlerPtr dbFileHandler_
 
DiskWritingParams dwParams_
 
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
 
utils::TimePoint_t lastFileTimeoutCheckTime_
 
unsigned int runNumber_
 
SharedResourcesPtr sharedResources_
 
StreamHandlers streamHandlers_
 
boost::posix_time::time_duration timeout_
 
toolbox::task::WorkLoop * writingWL_
 

Detailed Description

Writes events to disk

It gets the next event from the StreamQueue and writes it to the appropriate stream file(s) on disk.

Author:
mommsen
Revision:
1.15
Date:
2011/06/20 15:55:52

Definition at line 42 of file DiskWriter.h.

Member Typedef Documentation

typedef boost::shared_ptr<StreamHandler> stor::DiskWriter::StreamHandlerPtr
private

Definition at line 153 of file DiskWriter.h.

typedef std::vector<StreamHandlerPtr> stor::DiskWriter::StreamHandlers
private

Definition at line 154 of file DiskWriter.h.

Constructor & Destructor Documentation

stor::DiskWriter::DiskWriter ( xdaq::Application *  app,
SharedResourcesPtr  sr 
)

Definition at line 25 of file DiskWriter.cc.

References stor::WorkerThreadParams::DWdeqWaitTime_, sharedResources_, and timeout_.

25  :
26  app_(app),
27  sharedResources_(sr),
28  dbFileHandler_(new DbFileHandler()),
29  runNumber_(0),
31  endOfRunReport_(new StreamsMonitorCollection::EndOfRunReport()),
32  actionIsActive_(true)
33  {
34  WorkerThreadParams workerParams =
35  sharedResources_->configuration_->getWorkerThreadParams();
36  timeout_ = workerParams.DWdeqWaitTime_;
37  }
TimePoint_t getCurrentTime()
Definition: Utils.h:158
utils::TimePoint_t lastFileTimeoutCheckTime_
Definition: DiskWriter.h:151
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
unsigned int runNumber_
Definition: DiskWriter.h:149
boost::posix_time::time_duration timeout_
Definition: DiskWriter.h:150
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
xdaq::Application * app_
Definition: DiskWriter.h:144
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
stor::DiskWriter::~DiskWriter ( )

Definition at line 40 of file DiskWriter.cc.

References actionIsActive_, destroyStreams(), and writingWL_.

41  {
42  // Stop the activity
43  actionIsActive_ = false;
44 
45  // Cancel the workloop (will wait until the action has finished)
46  writingWL_->cancel();
47 
48  // Destroy any remaining streams. Under normal conditions, there should be none
49  destroyStreams();
50  }
void destroyStreams()
Definition: DiskWriter.cc:281
toolbox::task::WorkLoop * writingWL_
Definition: DiskWriter.h:160
stor::DiskWriter::DiskWriter ( DiskWriter const &  )
private

Member Function Documentation

void stor::DiskWriter::checkForFileTimeOuts ( const bool  doItNow = false)
private

Close old files if fileClosingTestInterval has passed or do it now if argument is true

Definition at line 202 of file DiskWriter.cc.

References closeTimedOutFiles(), dwParams_, stor::DiskWritingParams::fileClosingTestInterval_, stor::utils::getCurrentTime(), lastFileTimeoutCheckTime_, and cmsPerfSuiteHarvest::now.

Referenced by writeNextEvent().

203  {
205 
207  {
208  closeTimedOutFiles(now);
210  }
211  }
TimePoint_t getCurrentTime()
Definition: Utils.h:158
utils::TimePoint_t lastFileTimeoutCheckTime_
Definition: DiskWriter.h:151
DiskWritingParams dwParams_
Definition: DiskWriter.h:146
boost::posix_time::ptime TimePoint_t
Definition: Utils.h:35
void closeTimedOutFiles(const utils::TimePoint_t)
Definition: DiskWriter.cc:214
utils::Duration_t fileClosingTestInterval_
Definition: Configuration.h:42
void stor::DiskWriter::checkStreamChangeRequest ( )
private

Reconfigure streams if a request is pending

Definition at line 174 of file DiskWriter.cc.

References configureErrorStreams(), configureEventStreams(), dbFileHandler_, destroyStreams(), dwParams_, makeFaultyEventStream(), runNumber_, sharedResources_, and timeout_.

Referenced by writeNextEvent().

175  {
176  EvtStrConfigListPtr evtCfgList;
177  ErrStrConfigListPtr errCfgList;
178  DiskWritingParams newdwParams;
179  unsigned int newRunNumber;
180  boost::posix_time::time_duration newTimeoutValue;
181  bool doConfig;
182  if (sharedResources_->diskWriterResources_->
183  streamChangeRequested(doConfig, evtCfgList, errCfgList, newdwParams, newRunNumber, newTimeoutValue))
184  {
185  destroyStreams();
186  if (doConfig)
187  {
188  dwParams_ = newdwParams;
189  runNumber_ = newRunNumber;
190  timeout_ = newTimeoutValue;
191  dbFileHandler_->configure(runNumber_, dwParams_);
192 
194  configureEventStreams(evtCfgList);
195  configureErrorStreams(errCfgList);
196  }
197  sharedResources_->diskWriterResources_->streamChangeDone();
198  }
199  }
boost::shared_ptr< ErrStrConfigList > ErrStrConfigListPtr
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
DiskWritingParams dwParams_
Definition: DiskWriter.h:146
boost::shared_ptr< EvtStrConfigList > EvtStrConfigListPtr
void configureEventStreams(EvtStrConfigListPtr)
Definition: DiskWriter.cc:221
void configureErrorStreams(ErrStrConfigListPtr)
Definition: DiskWriter.cc:236
unsigned int runNumber_
Definition: DiskWriter.h:149
boost::posix_time::time_duration timeout_
Definition: DiskWriter.h:150
void makeFaultyEventStream()
Definition: DiskWriter.cc:250
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
void destroyStreams()
Definition: DiskWriter.cc:281
void stor::DiskWriter::closeTimedOutFiles ( const utils::TimePoint_t  now)
private

Close all timed-out files

Definition at line 214 of file DiskWriter.cc.

References stor::StreamHandler::closeTimedOutFiles(), and streamHandlers_.

Referenced by checkForFileTimeOuts().

215  {
216  std::for_each(streamHandlers_.begin(), streamHandlers_.end(),
217  boost::bind(&StreamHandler::closeTimedOutFiles, _1, now));
218  }
void closeTimedOutFiles(utils::TimePoint_t currentTime=utils::getCurrentTime())
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
void stor::DiskWriter::configureErrorStreams ( ErrStrConfigListPtr  cfgList)
private

Configures the error streams to be written to disk

Definition at line 236 of file DiskWriter.cc.

References makeErrorStream().

Referenced by checkStreamChangeRequest().

237  {
238  for (
239  ErrStrConfigList::iterator it = cfgList->begin(),
240  itEnd = cfgList->end();
241  it != itEnd;
242  ++it
243  )
244  {
245  makeErrorStream(*it);
246  }
247  }
void makeErrorStream(ErrorStreamConfigurationInfo &)
Definition: DiskWriter.cc:271
void stor::DiskWriter::configureEventStreams ( EvtStrConfigListPtr  cfgList)
private

Configures the event streams to be written to disk

Definition at line 221 of file DiskWriter.cc.

References makeEventStream().

Referenced by checkStreamChangeRequest().

222  {
223  for (
224  EvtStrConfigList::iterator it = cfgList->begin(),
225  itEnd = cfgList->end();
226  it != itEnd;
227  ++it
228  )
229  {
230  if ( it->fractionToDisk() > 0 )
231  makeEventStream(*it);
232  }
233  }
void makeEventStream(EventStreamConfigurationInfo &)
Definition: DiskWriter.cc:261
void stor::DiskWriter::destroyStreams ( )
private

Gracefully close all streams

Definition at line 281 of file DiskWriter.cc.

References stor::StreamHandler::closeAllFiles(), reportRemainingLumiSections(), streamHandlers_, and writeEndOfRunMarker().

Referenced by checkStreamChangeRequest(), and ~DiskWriter().

282  {
283  if (streamHandlers_.empty()) return;
284 
285  std::for_each(streamHandlers_.begin(), streamHandlers_.end(),
286  boost::bind(&StreamHandler::closeAllFiles, _1));
287  streamHandlers_.clear();
288 
291  }
void writeEndOfRunMarker()
Definition: DiskWriter.cc:303
void reportRemainingLumiSections()
Definition: DiskWriter.cc:294
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
void stor::DiskWriter::makeErrorStream ( ErrorStreamConfigurationInfo streamCfg)
private

Creates the handler for the given error event stream

Definition at line 271 of file DiskWriter.cc.

References dbFileHandler_, stor::ErrorStreamConfigurationInfo::setStreamId(), sharedResources_, and streamHandlers_.

Referenced by configureErrorStreams().

272  {
273  boost::shared_ptr<FRDStreamHandler> newHandler(
274  new FRDStreamHandler(streamCfg, sharedResources_, dbFileHandler_)
275  );
276  streamHandlers_.push_back(boost::dynamic_pointer_cast<StreamHandler>(newHandler));
277  streamCfg.setStreamId(streamHandlers_.size() - 1);
278  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
void stor::DiskWriter::makeEventStream ( EventStreamConfigurationInfo streamCfg)
private

Creates the handler for the given event stream

Definition at line 261 of file DiskWriter.cc.

References dbFileHandler_, stor::EventStreamConfigurationInfo::setStreamId(), sharedResources_, and streamHandlers_.

Referenced by configureEventStreams().

262  {
263  boost::shared_ptr<EventStreamHandler> newHandler(
264  new EventStreamHandler(streamCfg, sharedResources_, dbFileHandler_)
265  );
266  streamHandlers_.push_back(boost::dynamic_pointer_cast<StreamHandler>(newHandler));
267  streamCfg.setStreamId(streamHandlers_.size() - 1);
268  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
void stor::DiskWriter::makeFaultyEventStream ( )
private

Creates the handler for faulty events detected by the SM

Definition at line 250 of file DiskWriter.cc.

References dbFileHandler_, dwParams_, stor::DiskWritingParams::faultyEventsStream_, sharedResources_, and streamHandlers_.

Referenced by checkStreamChangeRequest().

251  {
252  if ( dwParams_.faultyEventsStream_.empty() ) return;
253 
254  boost::shared_ptr<FaultyEventStreamHandler> newHandler(
255  new FaultyEventStreamHandler(sharedResources_, dbFileHandler_, dwParams_.faultyEventsStream_)
256  );
257  streamHandlers_.push_back(boost::dynamic_pointer_cast<StreamHandler>(newHandler));
258  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
DiskWritingParams dwParams_
Definition: DiskWriter.h:146
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
std::string faultyEventsStream_
Definition: Configuration.h:44
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
DiskWriter& stor::DiskWriter::operator= ( DiskWriter const &  )
private
void stor::DiskWriter::processEndOfLumiSection ( const I2OChain msg)
private

Close files at the end of a luminosity section and release message memory:

Definition at line 315 of file DiskWriter.cc.

References dbFileHandler_, endOfRunReport_, stor::I2OChain::faulty(), stor::I2OChain::lumiSection(), stor::I2OChain::runNumber(), runNumber_, and streamHandlers_.

Referenced by writeNextEvent().

316  {
317  if ( msg.faulty() || msg.runNumber() != runNumber_ ) return;
318 
319  const uint32_t lumiSection = msg.lumiSection();
320 
321  std::string fileCountStr;
322  bool filesWritten = false;
323 
324  for (StreamHandlers::const_iterator it = streamHandlers_.begin(),
325  itEnd = streamHandlers_.end(); it != itEnd; ++it)
326  {
327  if ( (*it)->closeFilesForLumiSection(lumiSection, fileCountStr) )
328  filesWritten = true;
329  }
330  fileCountStr += "\tEoLS:1";
331  dbFileHandler_->write(fileCountStr);
332 
333  ++(endOfRunReport_->eolsCount);
334  if (filesWritten) ++(endOfRunReport_->lsCountWithFiles);
335  endOfRunReport_->updateLatestWrittenLumiSection(lumiSection);
336  }
unsigned int runNumber_
Definition: DiskWriter.h:149
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
void stor::DiskWriter::reportRemainingLumiSections ( )
private

Log file statistics for so far unreported lumi sections

Definition at line 294 of file DiskWriter.cc.

References dbFileHandler_, endOfRunReport_, stor::StreamsMonitorCollection::reportAllLumiSectionInfos(), and sharedResources_.

Referenced by destroyStreams().

295  {
296  StreamsMonitorCollection& smc =
297  sharedResources_->statisticsReporter_->getStreamsMonitorCollection();
298 
299  smc.reportAllLumiSectionInfos(dbFileHandler_, endOfRunReport_);
300  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
void stor::DiskWriter::startWorkLoop ( std::string  workloopName)

Creates and starts the disk writing workloop

Definition at line 53 of file DiskWriter.cc.

References app_, alignCSCRings::e, edm::hlt::Exception, stor::utils::getIdentifier(), lumiQueryAPI::msg, writeAction(), and writingWL_.

54  {
55  try
56  {
57  std::string identifier = utils::getIdentifier(app_->getApplicationDescriptor());
58 
59  writingWL_ = toolbox::task::getWorkLoopFactory()->
60  getWorkLoop( identifier + workloopName, "waiting" );
61 
62  if ( ! writingWL_->isActive() )
63  {
64  toolbox::task::ActionSignature* processAction =
65  toolbox::task::bind(this, &DiskWriter::writeAction,
66  identifier + "WriteNextEvent");
67  writingWL_->submit(processAction);
68 
69  writingWL_->activate();
70  }
71  }
72  catch (xcept::Exception& e)
73  {
74  std::string msg = "Failed to start workloop 'DiskWriter' with 'writeNextEvent'.";
75  XCEPT_RETHROW(stor::exception::DiskWriting, msg, e);
76  }
77  }
std::string getIdentifier(xdaq::ApplicationDescriptor *)
Definition: Utils.cc:72
bool writeAction(toolbox::task::WorkLoop *)
Definition: DiskWriter.cc:80
xdaq::Application * app_
Definition: DiskWriter.h:144
toolbox::task::WorkLoop * writingWL_
Definition: DiskWriter.h:160
bool stor::DiskWriter::writeAction ( toolbox::task::WorkLoop *  )

The workloop action taking the next event from the StreamQueue and writing it to disk

Definition at line 80 of file DiskWriter.cc.

References actionIsActive_, alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, sharedResources_, and writeNextEvent().

Referenced by startWorkLoop().

81  {
82  std::string errorMsg = "Failed to write an event: ";
83 
84  try
85  {
87  }
88  catch(xcept::Exception &e)
89  {
90  XCEPT_DECLARE_NESTED( stor::exception::DiskWriting,
91  sentinelException, errorMsg, e );
92  sharedResources_->alarmHandler_->moveToFailedState(sentinelException);
93  }
94  catch(std::exception &e)
95  {
96  errorMsg += e.what();
97  XCEPT_DECLARE( stor::exception::DiskWriting,
98  sentinelException, errorMsg );
99  sharedResources_->alarmHandler_->moveToFailedState(sentinelException);
100  }
101  catch(...)
102  {
103  errorMsg += "Unknown exception";
104  XCEPT_DECLARE( stor::exception::DiskWriting,
105  sentinelException, errorMsg );
106  sharedResources_->alarmHandler_->moveToFailedState(sentinelException);
107  }
108 
109  return actionIsActive_;
110  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
void writeNextEvent()
Definition: DiskWriter.cc:113
void stor::DiskWriter::writeEndOfRunMarker ( )
private

Log end-of-run marker

Definition at line 303 of file DiskWriter.cc.

References dbFileHandler_, and endOfRunReport_.

Referenced by destroyStreams().

304  {
305  std::ostringstream str;
306  str << "LScount:" << endOfRunReport_->lsCountWithFiles
307  << "\tEoLScount:" << endOfRunReport_->eolsCount
308  << "\tLastLumi:" << endOfRunReport_->latestLumiSectionWritten
309  << "\tEoR";
310  dbFileHandler_->write(str.str());
311  endOfRunReport_->reset();
312  }
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
void stor::DiskWriter::writeEventToStreams ( const I2OChain event)
private

Writes the event to the appropriate streams

Definition at line 149 of file DiskWriter.cc.

References alignCSCRings::e, lumiQueryAPI::msg, streamHandlers_, and hcal_dqm_sourceclient-file_cfg::streams.

Referenced by writeNextEvent().

150  {
151  std::vector<StreamID> streams = event.getStreamTags();
152 
153  for (
154  std::vector<StreamID>::const_iterator it = streams.begin(), itEnd = streams.end();
155  it != itEnd;
156  ++it
157  )
158  {
159  try
160  {
161  streamHandlers_.at(*it)->writeEvent(event);
162  }
163  catch (std::out_of_range& e)
164  {
165  std::ostringstream msg;
166  msg << "Unable to retrieve stream handler for " << (*it) << " : ";
167  msg << e.what();
168  XCEPT_RAISE(exception::UnknownStreamId, msg.str());
169  }
170  }
171  }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
void stor::DiskWriter::writeNextEvent ( )
private

Takes the event from the stream queue

Definition at line 113 of file DiskWriter.cc.

References checkForFileTimeOuts(), checkStreamChangeRequest(), event(), stor::utils::getCurrentTime(), stor::I2OChain::isEndOfLumiSectionMessage(), stor::I2OChain::memoryUsed(), processEndOfLumiSection(), sharedResources_, timeout_, and writeEventToStreams().

Referenced by writeAction().

114  {
115  I2OChain event;
116  StreamQueuePtr sq = sharedResources_->streamQueue_;
118  if (sq->deqTimedWait(event, timeout_))
119  {
120  sharedResources_->diskWriterResources_->setBusy(true);
121 
122  utils::Duration_t elapsedTime = utils::getCurrentTime() - startTime;
123  sharedResources_->statisticsReporter_->getThroughputMonitorCollection().addDiskWriterIdleSample(elapsedTime);
124  sharedResources_->statisticsReporter_->getThroughputMonitorCollection().addPoppedEventSample(event.memoryUsed());
125 
126  if( event.isEndOfLumiSectionMessage() )
127  {
128  processEndOfLumiSection( event );
129  }
130  else
131  {
132  writeEventToStreams( event );
134  }
135  }
136  else
137  {
138  utils::Duration_t elapsedTime = utils::getCurrentTime() - startTime;
139  sharedResources_->statisticsReporter_->
140  getThroughputMonitorCollection().addDiskWriterIdleSample(elapsedTime);
141 
143  checkForFileTimeOuts(true);
144  sharedResources_->diskWriterResources_->setBusy(false);
145  }
146  }
TimePoint_t getCurrentTime()
Definition: Utils.h:158
void checkForFileTimeOuts(const bool doItNow=false)
Definition: DiskWriter.cc:202
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
void checkStreamChangeRequest()
Definition: DiskWriter.cc:174
void writeEventToStreams(const I2OChain &)
Definition: DiskWriter.cc:149
boost::posix_time::time_duration Duration_t
Definition: Utils.h:41
boost::shared_ptr< StreamQueue > StreamQueuePtr
Definition: StreamQueue.h:22
boost::posix_time::ptime TimePoint_t
Definition: Utils.h:35
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
boost::posix_time::time_duration timeout_
Definition: DiskWriter.h:150
void processEndOfLumiSection(const I2OChain &)
Definition: DiskWriter.cc:315

Member Data Documentation

bool stor::DiskWriter::actionIsActive_
private

Definition at line 159 of file DiskWriter.h.

Referenced by writeAction(), and ~DiskWriter().

xdaq::Application* stor::DiskWriter::app_
private

Definition at line 144 of file DiskWriter.h.

Referenced by startWorkLoop().

const DbFileHandlerPtr stor::DiskWriter::dbFileHandler_
private
DiskWritingParams stor::DiskWriter::dwParams_
private
StreamsMonitorCollection::EndOfRunReportPtr stor::DiskWriter::endOfRunReport_
private
utils::TimePoint_t stor::DiskWriter::lastFileTimeoutCheckTime_
private

Definition at line 151 of file DiskWriter.h.

Referenced by checkForFileTimeOuts().

unsigned int stor::DiskWriter::runNumber_
private

Definition at line 149 of file DiskWriter.h.

Referenced by checkStreamChangeRequest(), and processEndOfLumiSection().

SharedResourcesPtr stor::DiskWriter::sharedResources_
private
StreamHandlers stor::DiskWriter::streamHandlers_
private
boost::posix_time::time_duration stor::DiskWriter::timeout_
private

Definition at line 150 of file DiskWriter.h.

Referenced by checkStreamChangeRequest(), DiskWriter(), and writeNextEvent().

toolbox::task::WorkLoop* stor::DiskWriter::writingWL_
private

Definition at line 160 of file DiskWriter.h.

Referenced by startWorkLoop(), and ~DiskWriter().