CMS 3D CMS Logo

CSCTMBData.cc File Reference

#include "EventFilter/CSCRawToDigi/interface/CSCTMBData.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iomanip>
#include <iostream>
#include <cstdio>
#include "EventFilter/CSCRawToDigi/src/bitset_append.h"
#include "EventFilter/CSCRawToDigi/src/cscPackerCompare.h"

Go to the source code of this file.

Functions

int findLine (unsigned short *buf, unsigned short marker, int first, int maxToDo)
 returns -1 if not found obsolete


Function Documentation

int findLine ( unsigned short *  buf,
unsigned short  marker,
int  first,
int  maxToDo 
)

returns -1 if not found obsolete

Definition at line 73 of file CSCTMBData.cc.

References i.

Referenced by CSCTMBData::UnpackTMB().

00073                                                                                  {
00074   for(int i = first; i < maxToDo; ++i) { 
00075     if(buf[i] == marker) {
00076       return i;
00077     }
00078   }
00079   return -1;
00080 }


Generated on Tue Jun 9 17:52:47 2009 for CMSSW by  doxygen 1.5.4