EventFilter
CSCRawToDigi
src
bitset_append.h
Go to the documentation of this file.
1
#ifndef BITSET_APPEND_H
2
#define BITSET_APPEND_H
3
#include <boost/dynamic_bitset.hpp>
4
5
namespace
bitset_utilities
{
6
boost::dynamic_bitset<>
append
(
const
boost::dynamic_bitset<>& bs1,
const
boost::dynamic_bitset<>& bs2);
7
8
boost::dynamic_bitset<>
ushortToBitset
(
const
unsigned
int
numberOfBits,
unsigned
short
*
buf
);
9
void
bitsetToChar
(
const
boost::dynamic_bitset<>&
bs
,
unsigned
char
*
result
);
10
11
void
printWords
(
const
boost::dynamic_bitset<>&
bs
);
12
13
}
// namespace bitset_utilities
14
15
#endif
bitset_utilities::append
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1
Definition:
bitset_append.cc:10
bitset_utilities::bitsetToChar
void bitsetToChar(const boost::dynamic_bitset<> &bs, unsigned char *result)
this method takes bitset obj and returns char * array
Definition:
bitset_append.cc:32
cms::cuda::bs
bs
Definition:
HistoContainer.h:127
visDQMUpload.buf
buf
Definition:
visDQMUpload.py:154
bitset_utilities::ushortToBitset
boost::dynamic_bitset ushortToBitset(const unsigned int numberOfBits, unsigned short *buf)
this method takes numberOfBits bits from unsigned short * array and returns them in the bitset obj.
Definition:
bitset_append.cc:23
bitset_utilities
this file contains additional dynamic_bitset methods
Definition:
bitset_append.cc:7
mps_fire.result
result
Definition:
mps_fire.py:303
bitset_utilities::printWords
void printWords(const boost::dynamic_bitset<> &bs)
Definition:
bitset_append.cc:40
Generated for CMSSW Reference Manual by
1.8.16