CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FaultyEventStreamHandler.h
Go to the documentation of this file.
1 // $Id: FaultyEventStreamHandler.h,v 1.1.6.1 2011/03/07 11:33:04 mommsen Exp $
3 
4 #ifndef EventFilter_StorageManager_FaultyEventStreamHandler_h
5 #define EventFilter_StorageManager_FaultyEventStreamHandler_h
6 
7 #include <string>
8 
10 
13 
14 
15 namespace stor {
16 
17 
27  {
28  public:
29 
31  (
32  const SharedResourcesPtr,
33  const DbFileHandlerPtr,
34  const std::string& streamName
35  );
36 
37 
38  private:
39 
43  virtual std::string streamLabel() const
44  { return streamRecord_->streamName; }
45 
49  virtual double fractionToDisk() const
50  { return streamRecord_->fractionToDisk; }
51 
56 
61 
65  virtual int getStreamMaxFileSize() const
66  { return 0; }
67 
68 
70 
71  };
72 
73 } // namespace stor
74 
75 #endif // EventFilter_StorageManager_FaultyEventStreamHandler_h
76 
77 
virtual std::string streamLabel() const
virtual double fractionToDisk() const
boost::shared_ptr< SharedResources > SharedResourcesPtr
virtual FileHandlerPtr getFileHandler(const I2OChain &event)
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
Definition: DbFileHandler.h:65
boost::shared_ptr< InitMsgCollection > InitMsgCollectionPtr
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
const StreamsMonitorCollection::StreamRecordPtr streamRecord_
boost::shared_ptr< FileHandler > FileHandlerPtr
Definition: StreamHandler.h:67
virtual FileHandlerPtr newFileHandler(const I2OChain &event)
FaultyEventStreamHandler(const SharedResourcesPtr, const DbFileHandlerPtr, const std::string &streamName)