4 #ifndef EventFilter_StorageManager_StreamHandler_h
5 #define EventFilter_StorageManager_StreamHandler_h
9 #include <boost/shared_ptr.hpp>
159 #endif // EventFilter_StorageManager_StreamHandler_h
TimePoint_t getCurrentTime()
CoreFileNamesMap usedCoreFileNames_
std::string getCoreFileName(const uint32_t &runNumber, const uint32_t &lumiSection) const
StreamHandler & operator=(StreamHandler const &)
virtual int getStreamMaxFileSize() const =0
std::vector< FileHandlerPtr > FileHandlers
const StatisticsReporterPtr statReporter_
bool fileTooLarge(const FileHandlerPtr, const unsigned long &dataSize) const
boost::shared_ptr< SharedResources > SharedResourcesPtr
StreamHandler(const SharedResourcesPtr, const DbFileHandlerPtr)
const DbFileHandlerPtr dbFileHandler_
boost::shared_ptr< FileRecord > FileRecordPtr
boost::shared_ptr< StatisticsReporter > StatisticsReporterPtr
unsigned long long getMaxFileSize() const
virtual std::string streamLabel() const =0
unsigned int getFileCounter(const std::string &coreFileName)
std::map< std::string, unsigned int > CoreFileNamesMap
virtual FileHandlerPtr newFileHandler(const I2OChain &event)=0
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
std::string getBaseFilePath(const uint32_t &runNumber, uint32_t fileCount) const
boost::shared_ptr< StreamRecord > StreamRecordPtr
boost::posix_time::ptime TimePoint_t
void closeTimedOutFiles(utils::TimePoint_t currentTime=utils::getCurrentTime())
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
void writeEvent(const I2OChain &event)
virtual FileHandlerPtr getFileHandler(const I2OChain &event)
FilesMonitorCollection::FileRecordPtr getNewFileRecord(const I2OChain &event)
const StreamsMonitorCollection::StreamRecordPtr streamRecord_
FileHandlers fileHandlers_
const DiskWritingParams & diskWritingParams_
boost::shared_ptr< FileHandler > FileHandlerPtr
const SharedResourcesPtr sharedResources_
bool closeFilesForLumiSection(const uint32_t &lumiSection, std::string &)
virtual double fractionToDisk() const =0
std::string getFileSystem(const uint32_t &runNumber, uint32_t fileCount) const