Class to store hardware like structured TTStub Collection used by Track Trigger emulators. More...
#include <TTDTC.h>
Public Types | |
typedef std::bitset< TTBV::S > | BV |
typedef std::pair< TTStubRef, BV > | Frame |
typedef std::vector< Frame > | Stream |
typedef std::vector< Stream > | Streams |
Public Member Functions | |
int | nGaps () const |
int | nStubs () const |
void | setStream (int dtcRegion, int dtcBoard, int dtcChannel, const Stream &stream) |
int | size () const |
const Stream & | stream (int tfpRegion, int tfpChannel) const |
const std::vector< int > & | tfpChannels () const |
const std::vector< int > & | tfpRegions () const |
TTDTC () | |
TTDTC (int numRegions, int numOverlappingRegions, int numDTCsPerRegion) | |
~TTDTC () | |
Private Member Functions | |
int | index (int dtcRegion, int dtcBoard, int dtcChannel) const |
int | index (int tfpRegion, int tfpChannel) const |
Private Attributes | |
std::vector< int > | channels_ |
int | numDTCsPerRegion_ |
int | numDTCsPerTFP_ |
int | numOverlappingRegions_ |
int | numRegions_ |
std::vector< int > | regions_ |
Streams | streams_ |
Class to store hardware like structured TTStub Collection used by Track Trigger emulators.
typedef std::pair<TTStubRef, BV> TTDTC::Frame |
typedef std::vector<Frame> TTDTC::Stream |
typedef std::vector<Stream> TTDTC::Streams |
TTDTC::TTDTC | ( | int | numRegions, |
int | numOverlappingRegions, | ||
int | numDTCsPerRegion | ||
) |
|
private |
Definition at line 90 of file TTDTC.cc.
References numDTCsPerRegion_, and numOverlappingRegions_.
Referenced by index(), BeautifulSoup.PageElement::insert(), setStream(), and stream().
|
private |
Definition at line 95 of file TTDTC.cc.
References index(), numDTCsPerRegion_, numOverlappingRegions_, and numRegions_.
Referenced by BeautifulSoup.PageElement::insert().
int TTDTC::nGaps | ( | ) | const |
Definition at line 81 of file TTDTC.cc.
References amptDefault_cfi::frame, dqmiodumpmetadata::n, stream(), and streams_.
int TTDTC::nStubs | ( | ) | const |
Definition at line 72 of file TTDTC.cc.
References amptDefault_cfi::frame, dqmiodumpmetadata::n, stream(), and streams_.
void TTDTC::setStream | ( | int | dtcRegion, |
int | dtcBoard, | ||
int | dtcChannel, | ||
const Stream & | stream | ||
) |
Definition at line 23 of file TTDTC.cc.
References cppFunctionSkipper::exception, index(), numDTCsPerRegion_, numOverlappingRegions_, numRegions_, stream(), and streams_.
Referenced by trackerDTC::DTC::produce().
int TTDTC::size | ( | void | ) | const |
Definition at line 66 of file TTDTC.cc.
References python.cmstools::all(), stream(), and streams_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
const TTDTC::Stream & TTDTC::stream | ( | int | tfpRegion, |
int | tfpChannel | ||
) | const |
Definition at line 47 of file TTDTC.cc.
References cppFunctionSkipper::exception, index(), numDTCsPerTFP_, numRegions_, and streams_.
Referenced by nGaps(), nStubs(), setStream(), and size().
|
inline |
|
inline |
|
private |
Definition at line 65 of file TTDTC.h.
Referenced by tfpChannels(), and TTDTC().
|
private |
Definition at line 59 of file TTDTC.h.
Referenced by index(), and setStream().
|
private |
Definition at line 57 of file TTDTC.h.
Referenced by index(), and setStream().
|
private |
Definition at line 55 of file TTDTC.h.
Referenced by index(), setStream(), and stream().
|
private |
Definition at line 63 of file TTDTC.h.
Referenced by tfpRegions(), and TTDTC().