CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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().

500  {
501  for(int ilayer = 1; ilayer <= 6; ++ilayer) {
502  std::vector<CSCStripDigi> stripDigis = evt.stripDigis(ilayer);
503  //copy(stripDigis.begin(), stripDigis.end(), std::ostream_iterator<CSCStripDigi>(os, "\n"));
504  //print your scas here
505  std::vector<CSCWireDigi> wireDigis = evt.wireDigis(ilayer);
506  //copy(wireDigis.begin(), wireDigis.end(), std::ostream_iterator<CSCWireDigi>(os, "\n"));
507  }
508  return os;
509 }
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.