#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 &)=delete | |
std::string | mapName () const |
read and store full content More... | |
DTPerformance & | operator= (DTPerformance const &)=delete |
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 | ( | ) |
|
privatedelete |
DTPerformance::const_iterator DTPerformance::begin | ( | void | ) | const |
Definition at line 278 of file DTPerformance.cc.
void DTPerformance::clear | ( | void | ) |
reset content
Definition at line 177 of file DTPerformance.cc.
References 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.
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, DTBufferTree< Key, Content >::find(), DTPerformanceData::meanAfterPulse, DTPerformanceData::meanEfficiency, DTPerformanceData::meanMtime, DTPerformanceData::meanNoise, DTPerformanceData::meanResolution, DTPerformanceData::meanT0, DTPerformanceData::meanTtrig, DTTimeUnits::ns, and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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 DTPerformanceData::meanAfterPulse, DTPerformanceData::meanEfficiency, DTPerformanceData::meanMtime, DTPerformanceData::meanNoise, DTPerformanceData::meanResolution, DTPerformanceData::meanT0, DTPerformanceData::meanTtrig, and csvLumiCalc::unit.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTPerformance::initialize | ( | ) |
Definition at line 295 of file DTPerformance.cc.
References officialStyle::chan, and DTPerformanceId::stationId.
|
private |
read and store full content
Definition at line 288 of file DTPerformance.cc.
References dataset::name.
|
privatedelete |
|
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, crabWrapper::key, DTPerformanceData::meanAfterPulse, DTPerformanceData::meanEfficiency, DTPerformanceData::meanMtime, DTPerformanceData::meanNoise, DTPerformanceData::meanResolution, DTPerformanceData::meanT0, DTPerformanceData::meanTtrig, DTTimeUnits::ns, edm::second(), and DTPerformanceId::stationId.
Referenced by DTPerformanceHandler::getNewObjects().
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 DTPerformanceData::meanAfterPulse, DTPerformanceData::meanEfficiency, DTPerformanceData::meanMtime, DTPerformanceData::meanNoise, DTPerformanceData::meanResolution, DTPerformanceData::meanT0, DTPerformanceData::meanTtrig, and csvLumiCalc::unit.
|
inline |
Definition at line 150 of file DTPerformance.h.
References DTPerformanceId::sectorId, DTPerformanceId::slId, DTPerformanceId::stationId, csvLumiCalc::unit, and DTPerformanceId::wheelId.
|
inline |
Definition at line 165 of file DTPerformance.h.
References DTPerformanceId::DTPerformanceId(), triggerObjects_cff::id, DTPerformanceId::sectorId, DTPerformanceId::slId, DTPerformanceId::stationId, csvLumiCalc::unit, and DTPerformanceId::wheelId.
void DTPerformance::setUnit | ( | float | unit | ) |
|
inline |
|
inline |
Definition at line 107 of file DTPerformance.h.
References hitfit::clear(), triggerObjects_cff::id, DTPerformanceId::sectorId, DTPerformanceId::slId, DTPerformanceId::stationId, AlCaHLTBitMon_QueryRunRegistry::string, csvLumiCalc::unit, jets_cff::version, and DTPerformanceId::wheelId.
float DTPerformance::unit | ( | ) | const |
Definition at line 161 of file DTPerformance.cc.
const std::string & DTPerformance::version | ( | ) | const |
access version
Definition at line 167 of file DTPerformance.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTPerformance::version | ( | ) |
Definition at line 172 of file DTPerformance.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
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 DTPerformance().
|
private |
Definition at line 214 of file DTPerformance.h.
|
private |
Definition at line 219 of file DTPerformance.h.
|
private |
Definition at line 215 of file DTPerformance.h.