7 ps.getUntrackedParameter<std::string>(
"fileName"))),
25 uint32 const dummyStatusCode = 1234;
74 std::vector<uint8> packedHlt;
76 packedHlt.resize(hlt_sz);
100 unsigned int const packInOneByte = 4;
101 unsigned char const testAgaint = 0x01;
103 unsigned int const whichByte =
i/packInOneByte;
104 unsigned int const indxWithinByte =
i % packInOneByte;
105 if ((testAgaint << (2 * indxWithinByte)) & (packedHlt.at(whichByte))) {
113 desc.
setComment(
"Writes events into a streamer output file.");
114 desc.
addUntracked<std::string>(
"fileName",
"teststreamfile.dat")->setComment(
"Name of output file.");
std::vector< unsigned char > hltBits
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void hltTriggerBits(uint8 *put_here) const
void doOutputHeaderFragment(StreamerFileWriterHeaderParams const &)
uint8 * startAddress() const
std::vector< uint32 > hltStats_
StreamerFileWriter(edm::ParameterSet const &ps)
void setComment(std::string const &value)
void doOutputHeader(InitMsgBuilder const &init_message)
static void fillDescription(ParameterSetDescription &desc)
uint32 get_hlt_bit_cnt() const
uint8 * startAddress() const
void doOutputEvent(EventMsgBuilder const &msg)
void doOutputEventFragment(StreamerFileWriterEventParams const &)
void updateHLTStats(std::vector< uint8 > const &packedHlt)
std::auto_ptr< StreamerOutputFile > stream_writer_