8 #include <boost/lambda/lambda.hpp>
19 initialized_(
false ),
21 configInfo_( configInfo )
43 std::ostringstream errorMsg;
44 errorMsg <<
"Cannot initialize edm::EventSelector for stream " <<
47 " and HLT trigger names";
48 boost::lambda::placeholder1_type arg1;
49 std::for_each(tnames.begin(), tnames.end(), errorMsg << boost::lambda::constant(
" ") << arg1);
58 XCEPT_RAISE(stor::exception::InvalidEventSelection, errorMsg.str());
64 XCEPT_RAISE(stor::exception::InvalidEventSelection, errorMsg.str());
68 errorMsg <<
"Unknown exception";
70 XCEPT_RAISE(stor::exception::InvalidEventSelection, errorMsg.str());
85 std::vector<unsigned char> hlt_out;
93 double rand =
static_cast<double>(
std::rand())/static_cast<double>(RAND_MAX);
virtual char const * what() const
const std::string & triggerSelection() const
double fractionToDisk() const
unsigned int outputModuleId_
EventStreamSelector(const EventStreamConfigurationInfo &)
const Strings & eventSelection() const
bool acceptEvent(const I2OChain &)
void hltTriggerNames(Strings &save_here) const
void hltTriggerBits(std::vector< unsigned char > &bitList) const
const std::string & streamLabel() const
TriggerSelectorPtr eventSelector_
void addParameter(std::string const &name, T const &value)
std::string outputModuleLabel() const
void initialize(const InitMsgView &)
uint32 outputModuleId() const
uint32_t hltTriggerCount() const
const EventStreamConfigurationInfo configInfo_
const std::string & outputModuleLabel() const
uint32_t outputModuleId() const