CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FRDStreamHandler.h
Go to the documentation of this file.
1 // $Id: FRDStreamHandler.h,v 1.7 2011/03/07 15:31:31 mommsen Exp $
3 
4 #ifndef EventFilter_StorageManager_FRDStreamHandler_h
5 #define EventFilter_StorageManager_FRDStreamHandler_h
6 
9 
10 
11 namespace stor {
12 
13  class ErrorStreamConfigurationInfo;
14  class I2OChain;
15 
16 
26  {
27  public:
28 
30  (
32  const SharedResourcesPtr,
33  const DbFileHandlerPtr
34  );
35 
36 
37  private:
38 
42  virtual std::string streamLabel() const
43  { return streamConfig_.streamLabel(); }
44 
50  virtual double fractionToDisk() const
51  { return 1; }
52 
57 
61  virtual int getStreamMaxFileSize() const
62  { return streamConfig_.maxFileSizeMB(); }
63 
64 
66 
67  };
68 
69 } // namespace stor
70 
71 #endif // EventFilter_StorageManager_FRDStreamHandler_h
72 
73 
virtual double fractionToDisk() const
ErrorStreamConfigurationInfo streamConfig_
boost::shared_ptr< SharedResources > SharedResourcesPtr
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
FRDStreamHandler(const ErrorStreamConfigurationInfo &, const SharedResourcesPtr, const DbFileHandlerPtr)
virtual FileHandlerPtr newFileHandler(const I2OChain &event)
boost::shared_ptr< FileHandler > FileHandlerPtr
Definition: StreamHandler.h:67
virtual int getStreamMaxFileSize() const
virtual std::string streamLabel() const