Searched refs:detectors (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/dsent/model/optical_graph/
H A DOpticalWavelength.cc79 current.detectors.push_back(detector_);
103 " -> Number of detectors must be non-zero!");
113 // Create data structure holding the worstcase detectors
114 list<double>* detectors = new list<double>(); local
119 // Walk through all detectors in a data path
120 for (unsigned int j = 0; j < current_path.detectors.size(); ++j)
123 double current_laser_power = current_path.detectors[j]->getSensitivity(ER_dB) *
128 detectors->push_back(current_laser_power);
130 // Cap the number of detectors
131 number_detectors_ = std::min(number_detectors_, (unsigned int) current_path.detectors
[all...]
H A DOpticalWavelength.h37 vector<OpticalDetector*> detectors; member in struct:DSENT::OpticalDataPath
41 : laser(laser_), modulator(modulator_), detectors(1, detector_), losses(1, loss_) {}
47 // keeps track of all lasers sources, modulators, and detectors that
61 // Calculate required wavelength power to reach some number of detectors
62 // If number_detectors < the number of total detectors this wavelength hits then
63 // it simply returns the laser power required to reach the worst-case detectors

Completed in 4 milliseconds