CMS 3D CMS Logo

Classes | Macros | 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
 

Macros

#define MAX_CFEB   7
 Maximum available CFEBs per chamber (for old system 5, for new ME11 should be 7) More...
 

Functions

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

Macro Definition Documentation

◆ MAX_CFEB

#define MAX_CFEB   7

Maximum available CFEBs per chamber (for old system 5, for new ME11 should be 7)

Definition at line 27 of file CSCEventData.h.

Function Documentation

◆ operator<<()

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

Definition at line 517 of file CSCEventData.cc.

517  {
518  for (int ilayer = 1; ilayer <= 6; ++ilayer) {
519  std::vector<CSCStripDigi> stripDigis = evt.stripDigis(ilayer);
520  //copy(stripDigis.begin(), stripDigis.end(), std::ostream_iterator<CSCStripDigi>(os, "\n"));
521  //print your scas here
522  std::vector<CSCWireDigi> wireDigis = evt.wireDigis(ilayer);
523  //copy(wireDigis.begin(), wireDigis.end(), std::ostream_iterator<CSCWireDigi>(os, "\n"));
524  }
525  return os;
526 }

References 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:322
CSCEventData::wireDigis
std::vector< CSCWireDigi > wireDigis(unsigned ilayer) const
Definition: CSCEventData.cc:342