#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 |
Definition at line 145 of file DTT0.cc.
References dataList.
Referenced by DTTPDeadWriter::analyze(), DTt0DBValidation::beginRun(), and DTT0CalibrationRMS::endJob().
|
inline |
|
inline |
void DTT0::clear | ( | void | ) |
reset content
Definition at line 86 of file DTT0.cc.
References data, dataList, mps_fire::i, and create_idmaps::n.
DTT0::const_iterator DTT0::end | ( | void | ) | const |
Definition at line 147 of file DTT0.cc.
References dataList.
Referenced by DTTPDeadWriter::analyze(), DTt0DBValidation::beginRun(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and DTT0CalibrationRMS::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 48 of file DTT0.cc.
References data, dataList, DTSequentialCellNumber::id(), DTTimeUnits::ns, nsPerCount, and unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), DTTPDeadWriter::analyze(), DTDigiTask::analyze(), DTt0DBValidation::beginRun(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), dtCalibration::DTT0FillDefaultFromDB::correction(), dtCalibration::DTT0AbsoluteReferenceCorrection::correction(), dtCalibration::DTT0FillChamberFromDB::correction(), dtCalibration::DTT0ChamberReferenceCorrection::correction(), dtCalibration::DTT0FEBPathCorrection::correction(), dtCalibration::DTT0WireInChamberReferenceCorrection::correction(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), dtCalibration::DTT0AbsoluteReferenceCorrection::defaultT0(), dtCalibration::DTT0ChamberReferenceCorrection::defaultT0(), dtCalibration::DTT0WireInChamberReferenceCorrection::defaultT0(), dtCalibration::DTT0FEBPathCorrection::defaultT0(), DTTTrigSyncFromDB::emulatorOffset(), DTT0Correction::endJob(), DTT0CalibrationRMS::endJob(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), DTConfigPedestals::getOffset(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), DTTTrigSyncT0Only::offset(), DTTTrigSyncFromDB::offset(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
int DTT0::get | ( | const DTWireId & | id, |
float & | t0mean, | ||
float & | t0rms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 76 of file DTT0.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().
|
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 97 of file DTT0.cc.
References data, dataList, EcalPhiSymFlatTableProducers_cfi::id, DTSequentialCellNumber::id(), DTTimeUnits::ns, nsPerCount, and unit().
Referenced by DTT0Correction::endJob(), DTT0CalibrationRMS::endJob(), and DTT0Calibration::endJob().
int DTT0::set | ( | const DTWireId & | id, |
float | t0mean, | ||
float | t0rms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 124 of file DTT0.cc.
References data, dataList, DTSequentialCellNumber::id(), nano_mu_digi_cff::layer, DTTimeUnits::ns, nsPerCount, nano_mu_digi_cff::sector, relativeConstraints::station, nano_mu_digi_cff::superLayer, unit(), makeMuonMisalignmentScenario::wheel, and nano_mu_digi_cff::wire.
|
inline |
|
inline |
void DTT0::setUnit | ( | float | unit | ) |
float DTT0::unit | ( | ) | const |
Definition at line 80 of file DTT0.cc.
References nsPerCount.
Referenced by cellT0(), get(), set(), setCellT0(), and setUnit().
const std::string & DTT0::version | ( | ) | const |
access version
Definition at line 82 of file DTT0.cc.
References dataVersion.
Referenced by DTT0Correction::beginRun(), DTt0DBValidation::beginRun(), validation.Sample::datasetpattern(), validation.Sample::filename(), DTTTrigSyncT0Only::setES(), dtCalibration::DTT0FillDefaultFromDB::setES(), dtCalibration::DTT0FillChamberFromDB::setES(), dtCalibration::DTT0AbsoluteReferenceCorrection::setES(), dtCalibration::DTT0FEBPathCorrection::setES(), dtCalibration::DTT0ChamberReferenceCorrection::setES(), dtCalibration::DTT0WireInChamberReferenceCorrection::setES(), and DTTTrigSyncFromDB::setES().
std::string & DTT0::version | ( | ) |
Definition at line 84 of file DTT0.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
|
private |
|
private |