CMS 3D CMS Logo

Functions
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/interface/bitset_append.h"
#include "EventFilter/CSCRawToDigi/interface/cscPackerCompare.h"

Go to the source code of this file.

Functions

int findLine (const uint16_t *buf, uint16_t marker, int first, int maxToDo)
 

Function Documentation

◆ findLine()

int findLine ( const uint16_t *  buf,
uint16_t  marker,
int  first,
int  maxToDo 
)

returns -1 if not found obsolete

Definition at line 128 of file CSCTMBData.cc.

128  {
129  for (int i = first; i < maxToDo; ++i) {
130  if (buf[i] == marker) {
131  return i;
132  }
133  }
134  return -1;
135 }

References visDQMUpload::buf, first, and mps_fire::i.

Referenced by CSCTMBData::UnpackTMB().

mps_fire.i
i
Definition: mps_fire.py:428
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154