CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCEventData.cc File Reference
#include "EventFilter/CSCRawToDigi/interface/CSCEventData.h"
#include "EventFilter/CSCRawToDigi/interface/CSCCFEBData.h"
#include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "EventFilter/CSCRawToDigi/src/cscPackerCompare.h"
#include <iostream>
#include <iterator>
#include "EventFilter/CSCRawToDigi/src/bitset_append.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CSCEventData &evt)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CSCEventData evt 
)

Definition at line 631 of file CSCEventData.cc.

References CSCEventData::stripDigis(), and CSCEventData::wireDigis().

632 {
633  for (int ilayer = 1; ilayer <= 6; ++ilayer)
634  {
635  std::vector<CSCStripDigi> stripDigis = evt.stripDigis(ilayer);
636  //copy(stripDigis.begin(), stripDigis.end(), std::ostream_iterator<CSCStripDigi>(os, "\n"));
637  //print your scas here
638  std::vector<CSCWireDigi> wireDigis = evt.wireDigis(ilayer);
639  //copy(wireDigis.begin(), wireDigis.end(), std::ostream_iterator<CSCWireDigi>(os, "\n"));
640  }
641  return os;
642 }
std::vector< CSCWireDigi > wireDigis(unsigned ilayer) const
std::vector< CSCStripDigi > stripDigis(const CSCDetId &idlayer) const
returns all the strip digis in the chamber, with the comparator information.