CMS 3D CMS Logo

Classes | Functions
CSCEventData.h File Reference
#include <map>
#include <vector>
#include <atomic>
#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 "DataFormats/MuonDetId/interface/GEMDetId.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

◆ operator<<()

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

Definition at line 513 of file CSCEventData.cc.

513  {
514  for (int ilayer = CSCDetId::minLayerId(); ilayer <= CSCDetId::maxLayerId(); ++ilayer) {
515  std::vector<CSCStripDigi> stripDigis = evt.stripDigis(ilayer);
516  //copy(stripDigis.begin(), stripDigis.end(), std::ostream_iterator<CSCStripDigi>(os, "\n"));
517  //print your scas here
518  std::vector<CSCWireDigi> wireDigis = evt.wireDigis(ilayer);
519  //copy(wireDigis.begin(), wireDigis.end(), std::ostream_iterator<CSCWireDigi>(os, "\n"));
520  }
521  return os;
522 }

References CSCDetId::maxLayerId(), CSCDetId::minLayerId(), CSCEventData::stripDigis(), and CSCEventData::wireDigis().

CSCEventData::stripDigis
std::vector< CSCStripDigi > stripDigis(const CSCDetId &idlayer) const
returns all the strip digis in the chamber, with the comparator information.
Definition: CSCEventData.cc:323
CSCDetId::minLayerId
static int minLayerId()
Definition: CSCDetId.h:242
CSCEventData::wireDigis
std::vector< CSCWireDigi > wireDigis(unsigned ilayer) const
Definition: CSCEventData.cc:342
CSCDetId::maxLayerId
static int maxLayerId()
Definition: CSCDetId.h:243