CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

stor::EventStreamConfigurationInfo Class Reference

#include <EventStreamConfigurationInfo.h>

List of all members.

Public Member Functions

const StringseventSelection () const
 EventStreamConfigurationInfo (const std::string &streamLabel, const int maxFileSizeMB, const std::string &triggerSelection, const Strings &eventSelection, const std::string &outputModuleLabel, double fractionToDisk)
double fractionToDisk () const
const int maxFileSizeMB () const
bool operator< (const EventStreamConfigurationInfo &) const
const std::string & outputModuleLabel () const
void setStreamId (StreamID sid)
StreamID streamId () const
const std::string & streamLabel () const
const std::string & triggerSelection () const
 ~EventStreamConfigurationInfo ()

Private Attributes

Strings eventSelection_
double fractionToDisk_
int maxFileSizeMB_
std::string outputModuleLabel_
StreamID streamId_
std::string streamLabel_
std::string triggerSelection_

Friends

std::ostream & operator<< (std::ostream &, const EventStreamConfigurationInfo &)

Detailed Description

Configuration information for the event stream

Author:
wmtan
Revision:
1.12
Date:
2011/08/31 20:11:59

Definition at line 27 of file EventStreamConfigurationInfo.h.


Constructor & Destructor Documentation

stor::EventStreamConfigurationInfo::EventStreamConfigurationInfo ( const std::string &  streamLabel,
const int  maxFileSizeMB,
const std::string &  triggerSelection,
const Strings eventSelection,
const std::string &  outputModuleLabel,
double  fractionToDisk 
) [inline]
stor::EventStreamConfigurationInfo::~EventStreamConfigurationInfo ( ) [inline]

Definition at line 49 of file EventStreamConfigurationInfo.h.

{}

Member Function Documentation

const Strings& stor::EventStreamConfigurationInfo::eventSelection ( ) const [inline]

Definition at line 55 of file EventStreamConfigurationInfo.h.

References eventSelection_.

Referenced by stor::EventStreamSelector::initialize(), and operator<().

{ return eventSelection_; }
double stor::EventStreamConfigurationInfo::fractionToDisk ( ) const [inline]
const int stor::EventStreamConfigurationInfo::maxFileSizeMB ( ) const [inline]
bool EventStreamConfigurationInfo::operator< ( const EventStreamConfigurationInfo other) const
const std::string& stor::EventStreamConfigurationInfo::outputModuleLabel ( ) const [inline]

Definition at line 56 of file EventStreamConfigurationInfo.h.

References outputModuleLabel_.

Referenced by stor::EventStreamSelector::initialize(), and operator<().

{ return outputModuleLabel_; }
void stor::EventStreamConfigurationInfo::setStreamId ( StreamID  sid) [inline]

Definition at line 64 of file EventStreamConfigurationInfo.h.

References evf::utils::sid, and streamId_.

Referenced by stor::DiskWriter::makeEventStream().

{ streamId_ = sid; }
StreamID stor::EventStreamConfigurationInfo::streamId ( ) const [inline]

Definition at line 58 of file EventStreamConfigurationInfo.h.

References streamId_.

Referenced by operator<().

{ return streamId_; }
const std::string& stor::EventStreamConfigurationInfo::streamLabel ( ) const [inline]
const std::string& stor::EventStreamConfigurationInfo::triggerSelection ( ) const [inline]

Definition at line 54 of file EventStreamConfigurationInfo.h.

References triggerSelection_.

Referenced by stor::EventStreamSelector::initialize(), and operator<().

{ return triggerSelection_; }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const EventStreamConfigurationInfo  
) [friend]

Member Data Documentation

Definition at line 75 of file EventStreamConfigurationInfo.h.

Referenced by eventSelection(), and operator<().

Definition at line 77 of file EventStreamConfigurationInfo.h.

Referenced by fractionToDisk(), and operator<().

Definition at line 73 of file EventStreamConfigurationInfo.h.

Referenced by maxFileSizeMB(), and operator<().

Definition at line 76 of file EventStreamConfigurationInfo.h.

Referenced by operator<(), and outputModuleLabel().

Definition at line 78 of file EventStreamConfigurationInfo.h.

Referenced by operator<(), setStreamId(), and streamId().

Definition at line 72 of file EventStreamConfigurationInfo.h.

Referenced by operator<(), and streamLabel().

Definition at line 74 of file EventStreamConfigurationInfo.h.

Referenced by operator<(), and triggerSelection().