#include <DTT0.h>
Public Types | |
typedef std::vector< DTT0Data > ::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
int | cellT0 (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const |
get content More... | |
int | cellT0 (const DTWireId &id, float &t0mean, float &t0rms, DTTimeUnits::type unit) const |
void | clear () |
reset content More... | |
DTT0 () | |
DTT0 (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const |
int | get (const DTWireId &id, float &t0mean, float &t0rms, DTTimeUnits::type unit) const |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float t0mean, float t0rms, DTTimeUnits::type unit) |
int | set (const DTWireId &id, float t0mean, float t0rms, DTTimeUnits::type unit) |
int | setCellT0 (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float t0mean, float t0rms, DTTimeUnits::type unit) |
int | setCellT0 (const DTWireId &id, float t0mean, float t0rms, DTTimeUnits::type unit) |
void | setUnit (float unit) |
float | unit () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTT0 () | |
Private Attributes | |
std::vector< DTT0Data > | dataList |
std::string | dataVersion |
float | nsPerCount |
Description: Class to hold drift tubes T0s ( cell by cell time offsets )
typedef std::vector<DTT0Data>::const_iterator DTT0::const_iterator |
DTT0::const_iterator DTT0::begin | ( | void | ) | const |
Definition at line 206 of file DTT0.cc.
References dataList.
Referenced by DTT0Calibration::endJob(), and DTT0CalibrationNew::endJob().
|
inline |
|
inline |
void DTT0::clear | ( | void | ) |
reset content
Definition at line 130 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, i, n, DTT0Data::t0mean, and DTT0Data::t0rms.
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(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
DTT0::const_iterator DTT0::end | ( | void | ) | const |
Definition at line 211 of file DTT0.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), DTT0Calibration::endJob(), and DTT0CalibrationNew::endJob().
int DTT0::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | t0mean, | ||
float & | t0rms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 69 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, DTSequentialCellNumber::id(), DTTimeUnits::ns, nsPerCount, DTT0Data::t0mean, and DTT0Data::t0rms.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTT0Calibration::endJob(), DTT0CalibrationNew::endJob(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), DTConfigPedestals::getOffset(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTT0::get | ( | const DTWireId & | id, |
float & | t0mean, | ||
float & | t0rms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 100 of file DTT0.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTT0::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float | t0mean, | ||
float | t0rms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 142 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, DTSequentialCellNumber::id(), errorMatrix2Lands_multiChannel::id, DTTimeUnits::ns, nsPerCount, DTT0Data::t0mean, and DTT0Data::t0rms.
Referenced by DTT0Calibration::endJob(), DTT0CalibrationNew::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), DTT0Handler::getNewObjects(), DTFakeT0ESProducer::produce(), and setCellT0().
int DTT0::set | ( | const DTWireId & | id, |
float | t0mean, | ||
float | t0rms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 173 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, DTSequentialCellNumber::id(), DTTimeUnits::ns, nsPerCount, relativeConstraints::station, DTT0Data::t0mean, and DTT0Data::t0rms.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 107 of file DTT0.h.
References set().
|
inline |
Definition at line 118 of file DTT0.h.
References set().
void DTT0::setUnit | ( | float | unit | ) |
float DTT0::unit | ( | ) | const |
Definition at line 114 of file DTT0.cc.
References nsPerCount.
const std::string & DTT0::version | ( | ) | const |
std::string & DTT0::version | ( | ) |
Definition at line 125 of file DTT0.cc.
References dataVersion.
|
private |
|
private |