#include <DTPerformance.h>
Public Types | |
typedef std::vector< std::pair < DTPerformanceId, DTPerformanceData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
DTPerformance () | |
DTPerformance (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
int | get (const DTSuperLayerId &id, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
int | set (int wheelId, int stationId, int sectorId, int slId, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
int | set (const DTSuperLayerId &id, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
int | setSLPerformance (int wheelId, int stationId, int sectorId, int slId, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
int | setSLPerformance (const DTSuperLayerId &id, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
void | setUnit (float unit) |
int | slPerformance (int wheelId, int stationId, int sectorId, int slId, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
get content More... | |
int | slPerformance (const DTSuperLayerId &id, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
float | unit () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTPerformance () | |
Private Member Functions | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
std::vector< std::pair < DTPerformanceId, DTPerformanceData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
float | nsPerCount |
Description: Class to hold drift tubes performances ( SL by SL )
Definition at line 69 of file DTPerformance.h.
typedef std::vector< std::pair<DTPerformanceId, DTPerformanceData> >::const_iterator DTPerformance::const_iterator |
Access methods to data.
Definition at line 196 of file DTPerformance.h.
DTPerformance::DTPerformance | ( | ) |
Constructor
Definition at line 34 of file DTPerformance.cc.
References dataList, and dBuf.
DTPerformance::DTPerformance | ( | const std::string & | version | ) |
Definition at line 41 of file DTPerformance.cc.
References dataList, and dBuf.
DTPerformance::~DTPerformance | ( | ) |
DTPerformance::const_iterator DTPerformance::begin | ( | void | ) | const |
Definition at line 299 of file DTPerformance.cc.
References dataList.
|
private |
read and store full content
Definition at line 316 of file DTPerformance.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTPerformanceId::stationId.
Referenced by get(), and set().
void DTPerformance::clear | ( | void | ) |
reset content
Definition at line 187 of file DTPerformance.cc.
References dataList, and dBuf.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
DTPerformance::const_iterator DTPerformance::end | ( | void | ) | const |
Definition at line 304 of file DTPerformance.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTPerformance::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | meanT0, | ||
float & | meanTtrig, | ||
float & | meanMtime, | ||
float & | meanNoise, | ||
float & | meanAfterPulse, | ||
float & | meanResolution, | ||
float & | meanEfficiency, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 87 of file DTPerformance.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTPerformanceData::meanAfterPulse, DTPerformanceData::meanEfficiency, DTPerformanceData::meanMtime, DTPerformanceData::meanNoise, DTPerformanceData::meanResolution, DTPerformanceData::meanT0, DTPerformanceData::meanTtrig, DTTimeUnits::ns, nsPerCount, and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTPerformance::get | ( | const DTSuperLayerId & | id, |
float & | meanT0, | ||
float & | meanTtrig, | ||
float & | meanMtime, | ||
float & | meanNoise, | ||
float & | meanAfterPulse, | ||
float & | meanResolution, | ||
float & | meanEfficiency, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 147 of file DTPerformance.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
private |
Definition at line 309 of file DTPerformance.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTPerformance::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | meanT0, | ||
float | meanTtrig, | ||
float | meanMtime, | ||
float | meanNoise, | ||
float | meanAfterPulse, | ||
float | meanResolution, | ||
float | meanEfficiency, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 196 of file DTPerformance.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), combine::key, DTPerformanceData::meanAfterPulse, DTPerformanceData::meanEfficiency, DTPerformanceData::meanMtime, DTPerformanceData::meanNoise, DTPerformanceData::meanResolution, DTPerformanceData::meanT0, DTPerformanceData::meanTtrig, DTTimeUnits::ns, nsPerCount, edm::second(), and DTPerformanceId::stationId.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), DTPerformanceHandler::getNewObjects(), set(), and setSLPerformance().
int DTPerformance::set | ( | const DTSuperLayerId & | id, |
float | meanT0, | ||
float | meanTtrig, | ||
float | meanMtime, | ||
float | meanNoise, | ||
float | meanAfterPulse, | ||
float | meanResolution, | ||
float | meanEfficiency, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 270 of file DTPerformance.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 143 of file DTPerformance.h.
References set().
|
inline |
Definition at line 158 of file DTPerformance.h.
References set().
void DTPerformance::setUnit | ( | float | unit | ) |
|
inline |
|
inline |
Definition at line 100 of file DTPerformance.h.
References errorMatrix2Lands_multiChannel::id, and unit().
float DTPerformance::unit | ( | ) | const |
Definition at line 171 of file DTPerformance.cc.
References nsPerCount.
Referenced by get(), setUnit(), and slPerformance().
const std::string & DTPerformance::version | ( | ) | const |
std::string & DTPerformance::version | ( | ) |
|
private |
Definition at line 205 of file DTPerformance.h.
Referenced by begin(), cacheMap(), clear(), DTPerformance(), end(), get(), and set().
|
private |
Definition at line 202 of file DTPerformance.h.
|
private |
Definition at line 207 of file DTPerformance.h.
Referenced by cacheMap(), clear(), DTPerformance(), get(), set(), and ~DTPerformance().