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 554 of file CSCEventData.cc.

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

554  {
555  for (int ilayer = CSCDetId::minLayerId(); ilayer <= CSCDetId::maxLayerId(); ++ilayer) {
556  std::vector<CSCStripDigi> stripDigis = evt.stripDigis(ilayer);
557  //copy(stripDigis.begin(), stripDigis.end(), std::ostream_iterator<CSCStripDigi>(os, "\n"));
558  //print your scas here
559  std::vector<CSCWireDigi> wireDigis = evt.wireDigis(ilayer);
560  //copy(wireDigis.begin(), wireDigis.end(), std::ostream_iterator<CSCWireDigi>(os, "\n"));
561  }
562  return os;
563 }
std::vector< CSCStripDigi > stripDigis(const CSCDetId &idlayer) const
returns all the strip digis in the chamber, with the comparator information.
static int minLayerId()
Definition: CSCDetId.h:242
std::vector< CSCWireDigi > wireDigis(unsigned ilayer) const
static int maxLayerId()
Definition: CSCDetId.h:243