#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 (DTPerformance const &)=delete | |
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 () |
DTPerformance & | operator= (DTPerformance const &)=delete |
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 | |
std::string | mapName () const |
read and store full content More... | |
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 68 of file DTPerformance.h.
typedef std::vector<std::pair<DTPerformanceId, DTPerformanceData> >::const_iterator DTPerformance::const_iterator |
Access methods to data.
Definition at line 210 of file DTPerformance.h.
DTPerformance::DTPerformance | ( | ) |
Constructor
Definition at line 31 of file DTPerformance.cc.
References dataList.
|
delete |
DTPerformance::DTPerformance | ( | const std::string & | version | ) |
Definition at line 35 of file DTPerformance.cc.
References dataList.
DTPerformance::~DTPerformance | ( | ) |
DTPerformance::const_iterator DTPerformance::begin | ( | void | ) | const |
Definition at line 226 of file DTPerformance.cc.
References dataList.
void DTPerformance::clear | ( | void | ) |
reset content
Definition at line 135 of file DTPerformance.cc.
References dataList, and initialize().
DTPerformance::const_iterator DTPerformance::end | ( | void | ) | const |
Definition at line 228 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 63 of file DTPerformance.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTimeUnits::ns, nsPerCount, edm::second(), and unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.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::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), 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 106 of file DTPerformance.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.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::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTPerformance::initialize | ( | ) |
Definition at line 236 of file DTPerformance.cc.
References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, and DTBufferTree< Key, Content >::insert().
Referenced by clear().
|
private |
read and store full content
Definition at line 230 of file DTPerformance.cc.
References dataVersion, and Skims_PA_cff::name.
|
delete |
|
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 141 of file DTPerformance.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, DTTimeUnits::ns, nsPerCount, edm::second(), and unit().
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 | ||
) |
|
inline |
|
inline |
Definition at line 175 of file DTPerformance.h.
References triggerObjects_cff::id, and unit().
void DTPerformance::setUnit | ( | float | unit | ) |
|
inline |
|
inline |
Definition at line 109 of file DTPerformance.h.
References triggerObjects_cff::id, and unit().
float DTPerformance::unit | ( | ) | const |
Definition at line 129 of file DTPerformance.cc.
References nsPerCount.
Referenced by get(), set(), setSLPerformance(), setUnit(), and slPerformance().
const std::string & DTPerformance::version | ( | ) | const |
access version
Definition at line 131 of file DTPerformance.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTPerformance::version | ( | ) |
Definition at line 133 of file DTPerformance.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 227 of file DTPerformance.h.
|
friend |
Definition at line 227 of file DTPerformance.h.
|
private |
Definition at line 220 of file DTPerformance.h.
Referenced by begin(), clear(), DTPerformance(), end(), get(), initialize(), and set().
|
private |
Definition at line 217 of file DTPerformance.h.
|
private |
Definition at line 222 of file DTPerformance.h.
Referenced by get(), initialize(), and set().