Class to store hardware like structured TTStub Collection used by Track Trigger emulators. More...
#include <TTDTC.h>
Public Member Functions | |
int | nGaps () const |
int | nStubs () const |
void | setStream (int dtcRegion, int dtcBoard, int dtcChannel, const tt::StreamStub &stream) |
int | size () const |
const tt::StreamStub & | 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_ |
tt::StreamsStub | streams_ |
Class to store hardware like structured TTStub Collection used by Track Trigger emulators.
TTDTC::TTDTC | ( | int | numRegions, |
int | numOverlappingRegions, | ||
int | numDTCsPerRegion | ||
) |
|
private |
Definition at line 91 of file TTDTC.cc.
References numDTCsPerRegion_, and numOverlappingRegions_.
Referenced by index(), setStream(), and stream().
|
private |
Definition at line 96 of file TTDTC.cc.
References index(), numDTCsPerRegion_, numOverlappingRegions_, and numRegions_.
int TTDTC::nGaps | ( | ) | const |
Definition at line 82 of file TTDTC.cc.
References amptDefault_cfi::frame, create_idmaps::n, stream(), and streams_.
int TTDTC::nStubs | ( | ) | const |
Definition at line 73 of file TTDTC.cc.
References amptDefault_cfi::frame, create_idmaps::n, stream(), streams_, and SimL1Emulator_cff::stubs.
void TTDTC::setStream | ( | int | dtcRegion, |
int | dtcBoard, | ||
int | dtcChannel, | ||
const tt::StreamStub & | stream | ||
) |
Definition at line 24 of file TTDTC.cc.
References cppFunctionSkipper::exception, index(), numDTCsPerRegion_, numOverlappingRegions_, numRegions_, stream(), and streams_.
Referenced by edmModuleAllocMonitorAnalyze.SyncValues::get(), and trackerDTC::DTC::produce().
int TTDTC::size | ( | void | ) | const |
Definition at line 67 of file TTDTC.cc.
References python.cmstools::all(), stream(), and streams_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
const StreamStub & TTDTC::stream | ( | int | tfpRegion, |
int | tfpChannel | ||
) | const |
Definition at line 48 of file TTDTC.cc.
References cppFunctionSkipper::exception, index(), numDTCsPerTFP_, numRegions_, and streams_.
Referenced by trackerTFP::GeometricProcessor::consume(), nGaps(), nStubs(), L1FPGATrackProducer::produce(), setStream(), and size().
|
inline |
Definition at line 26 of file TTDTC.h.
References channels_.
Referenced by L1FPGATrackProducer::produce().
|
inline |
Definition at line 24 of file TTDTC.h.
References regions_.
Referenced by L1FPGATrackProducer::produce().
|
private |
Definition at line 56 of file TTDTC.h.
Referenced by tfpChannels(), and TTDTC().
|
private |
Definition at line 50 of file TTDTC.h.
Referenced by index(), and setStream().
|
private |
Definition at line 48 of file TTDTC.h.
Referenced by index(), and setStream().
|
private |
Definition at line 46 of file TTDTC.h.
Referenced by index(), setStream(), and stream().
|
private |
Definition at line 54 of file TTDTC.h.
Referenced by tfpRegions(), and TTDTC().
|
private |