14 std::cerr <<
"Mismatch:\n"<< t1 <<
"\n" << t2 << std::endl;
24 boost::dynamic_bitset<> firstPack = t.pack();
25 unsigned char data[10000];
27 return T((
unsigned short int *)data);
35 boost::dynamic_bitset<> firstPack = t.pack();
36 unsigned char data[1000];
38 T newObject((
unsigned short int *)data);
39 boost::dynamic_bitset<> secondPack = newObject.pack();
40 if(firstPack != secondPack)
bool cscClassPackerCompare(T &t)
auto const T2 &decltype(t1.eta()) t2
void printWords(const boost::dynamic_bitset<> &bs)
void bitsetToChar(const boost::dynamic_bitset<> &bs, unsigned char *result)
this method takes bitset obj and returns char * array
bool cscPackerCompare(const T &t1, const T &t2)