CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/EventFilter/CSCRawToDigi/interface/CSCEventData.h File Reference

#include <map>
#include <vector>
#include "EventFilter/CSCRawToDigi/interface/CSCDMBHeader.h"
#include "EventFilter/CSCRawToDigi/interface/CSCDMBTrailer.h"
#include "EventFilter/CSCRawToDigi/interface/CSCALCTHeader.h"
#include "EventFilter/CSCRawToDigi/interface/CSCAnodeData.h"
#include "EventFilter/CSCRawToDigi/interface/CSCALCTTrailer.h"
#include "EventFilter/CSCRawToDigi/interface/CSCTMBData.h"
#include "DataFormats/CSCDigi/interface/CSCRPCDigi.h"
#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include <boost/dynamic_bitset.hpp>

Go to the source code of this file.

Classes

class  CSCEventData

Functions

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

Function Documentation

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

Definition at line 500 of file CSCEventData.cc.

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

                                                                   {
  for(int ilayer = 1; ilayer <= 6; ++ilayer)     {
    std::vector<CSCStripDigi> stripDigis = evt.stripDigis(ilayer);
    //copy(stripDigis.begin(), stripDigis.end(), std::ostream_iterator<CSCStripDigi>(os, "\n"));
    //print your scas here
    std::vector<CSCWireDigi> wireDigis = evt.wireDigis(ilayer);
    //copy(wireDigis.begin(), wireDigis.end(), std::ostream_iterator<CSCWireDigi>(os, "\n"));
  }
  return os;
}