#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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< DTT0Data > | dataList |
std::string | dataVersion |
float | nsPerCount |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
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 |
|
inline |
|
inline |
void DTT0::clear | ( | void | ) |
reset content
Definition at line 128 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, i, gen::n, DTT0Data::t0mean, and DTT0Data::t0rms.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), and Vispa.Views.WidgetView.WidgetView::setDataObjects().
DTT0::const_iterator DTT0::end | ( | void | ) | const |
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 67 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, DTSequentialCellNumber::id(), DTTimeUnits::ns, nsPerCount, DTT0Data::t0mean, and DTT0Data::t0rms.
Referenced by Options.Options::__getitem__(), dtCalibration::DTT0FillDefaultFromDB::correction(), dtCalibration::DTT0FillChamberFromDB::correction(), dtCalibration::DTT0AbsoluteReferenceCorrection::correction(), dtCalibration::DTT0ChamberReferenceCorrection::correction(), dtCalibration::DTT0WireInChamberReferenceCorrection::correction(), dtCalibration::DTT0ChamberReferenceCorrection::defaultT0(), dtCalibration::DTT0AbsoluteReferenceCorrection::defaultT0(), dtCalibration::DTT0WireInChamberReferenceCorrection::defaultT0(), DTConfigPedestals::getOffset(), and DTTTrigSyncT0Only::offset().
int DTT0::get | ( | const DTWireId & | id, |
float & | t0mean, | ||
float & | t0rms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 98 of file DTT0.cc.
References unit().
Referenced by Options.Options::__getitem__().
|
private |
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 140 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, DTSequentialCellNumber::id(), DTTimeUnits::ns, nsPerCount, DTT0Data::t0mean, and DTT0Data::t0rms.
Referenced by DTT0Correction::endJob(), DTT0Handler::getNewObjects(), DTFakeT0ESProducer::produce(), and setCellT0().
int DTT0::set | ( | const DTWireId & | id, |
float | t0mean, | ||
float | t0rms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 171 of file DTT0.cc.
References DTT0Data::channelId, data, dataList, DTSequentialCellNumber::id(), DTTimeUnits::ns, nsPerCount, relativeConstraints::station, DTT0Data::t0mean, and DTT0Data::t0rms.
|
inline |
Definition at line 108 of file DTT0.h.
References set().
|
inline |
Definition at line 119 of file DTT0.h.
References set().
void DTT0::setUnit | ( | float | unit | ) |
float DTT0::unit | ( | ) | const |
Definition at line 112 of file DTT0.cc.
References nsPerCount.
const std::string & DTT0::version | ( | ) | const |
std::string & DTT0::version | ( | ) |
Definition at line 123 of file DTT0.cc.
References dataVersion.
|
friend |
|
private |
|
private |