CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FRDStreamHandler.cc
Go to the documentation of this file.
1 // $Id: FRDStreamHandler.cc,v 1.8 2012/04/04 12:17:02 mommsen Exp $
3 
8 
9 
10 namespace stor {
11 
13  (
14  const ErrorStreamConfigurationInfo& streamConfig,
15  const SharedResourcesPtr sharedResources,
16  const DbFileHandlerPtr dbFileHandler
17  ):
18  StreamHandler(sharedResources, dbFileHandler),
19  streamConfig_(streamConfig)
20  {
21  streamRecord_->streamName = streamLabel();
22  streamRecord_->fractionToDisk = fractionToDisk();
23  }
24 
25 
28  {
30 
32  new FRDFileHandler(fileRecord, dbFileHandler_, getMaxFileSize())
33  );
34  fileHandlers_.push_back(newFileHandler);
35 
36  return newFileHandler;
37  }
38 
39 } // namespace stor
40 
boost::shared_ptr< SharedResources > SharedResourcesPtr
const DbFileHandlerPtr dbFileHandler_
boost::shared_ptr< FileRecord > FileRecordPtr
unsigned long long getMaxFileSize() const
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
Definition: DbFileHandler.h:71
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
FilesMonitorCollection::FileRecordPtr getNewFileRecord(const I2OChain &event)
FRDStreamHandler(const ErrorStreamConfigurationInfo &, const SharedResourcesPtr, const DbFileHandlerPtr)
FileHandlers fileHandlers_
virtual FileHandlerPtr newFileHandler(const I2OChain &event)
boost::shared_ptr< FileHandler > FileHandlerPtr
Definition: StreamHandler.h:67