#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 |
void | initialize () |
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 | |
DTPerformance (DTPerformance const &) | |
std::string | mapName () const |
read and store full content More... | |
DTPerformance & | operator= (DTPerformance const &) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair < DTPerformanceId, DTPerformanceData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
float | nsPerCount |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: Class to hold drift tubes performances ( SL by SL )
Definition at line 76 of file DTPerformance.h.
typedef std::vector< std::pair<DTPerformanceId, DTPerformanceData> >::const_iterator DTPerformance::const_iterator |
Access methods to data.
Definition at line 203 of file DTPerformance.h.
DTPerformance::DTPerformance | ( | ) |
Constructor
Definition at line 32 of file DTPerformance.cc.
References dataList.
DTPerformance::DTPerformance | ( | const std::string & | version | ) |
Definition at line 40 of file DTPerformance.cc.
References dataList.
DTPerformance::~DTPerformance | ( | ) |
|
private |
DTPerformance::const_iterator DTPerformance::begin | ( | void | ) | const |
Definition at line 278 of file DTPerformance.cc.
References dataList.
void DTPerformance::clear | ( | void | ) |
reset content
Definition at line 177 of file DTPerformance.cc.
References dataList, and initialize().
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 283 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 85 of file DTPerformance.cc.
References 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(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
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 137 of file DTPerformance.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
void DTPerformance::initialize | ( | ) |
Definition at line 295 of file DTPerformance.cc.
References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTPerformanceId::stationId.
Referenced by clear().
|
private |
read and store full content
Definition at line 288 of file DTPerformance.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
|
private |
|
private |
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 184 of file DTPerformance.cc.
References 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 249 of file DTPerformance.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 150 of file DTPerformance.h.
References set().
|
inline |
Definition at line 165 of file DTPerformance.h.
References set().
void DTPerformance::setUnit | ( | float | unit | ) |
|
inline |
|
inline |
float DTPerformance::unit | ( | ) | const |
Definition at line 161 of file DTPerformance.cc.
References nsPerCount.
Referenced by get(), setUnit(), and slPerformance().
const std::string & DTPerformance::version | ( | ) | const |
std::string & DTPerformance::version | ( | ) |
|
friend |
Definition at line 225 of file DTPerformance.h.
|
friend |
Definition at line 225 of file DTPerformance.h.
|
private |
Definition at line 217 of file DTPerformance.h.
Referenced by begin(), clear(), DTPerformance(), end(), get(), initialize(), and set().
|
private |
Definition at line 214 of file DTPerformance.h.
|
private |
Definition at line 219 of file DTPerformance.h.
Referenced by get(), initialize(), and set().