#include <DTTtrig.h>
Public Types | |
typedef std::vector< std::pair < DTTtrigId, DTTtrigData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
DTTtrig () | |
DTTtrig (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
get content More... | |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
int | get (const DTSuperLayerId &id, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
int | get (const DetId &id, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int slId, float &tTrig, DTTimeUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &tTrig, DTTimeUnits::type unit) const |
int | get (const DTSuperLayerId &id, float &tTrig, DTTimeUnits::type unit) const |
int | get (const DetId &id, float &tTrig, DTTimeUnits::type unit) const |
void | initialize () |
int | set (int wheelId, int stationId, int sectorId, int slId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
int | set (const DTSuperLayerId &id, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
int | set (const DetId &id, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
void | setUnit (float unit) |
float | unit () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTTtrig () | |
Private Member Functions | |
DTTtrig (DTTtrig const &) | |
std::string | mapName () const |
DTTtrig & | operator= (DTTtrig const &) |
Private Attributes | |
COND_SERIALIZABLE | |
edm::ConstRespectingPtr < DTBufferTree< int, int > > dBuf | COND_TRANSIENT |
std::vector< std::pair < DTTtrigId, DTTtrigData > > | dataList |
std::string | dataVersion |
float | nsPerCount |
Description: Class to hold drift tubes TTrigs ( SL by SL time offsets )
typedef std::vector< std::pair<DTTtrigId, DTTtrigData> >::const_iterator DTTtrig::const_iterator |
DTTtrig::DTTtrig | ( | ) |
Constructor
Definition at line 35 of file DTTtrig.cc.
References dataList.
DTTtrig::DTTtrig | ( | const std::string & | version | ) |
Definition at line 43 of file DTTtrig.cc.
References dataList.
DTTtrig::~DTTtrig | ( | ) |
|
private |
DTTtrig::const_iterator DTTtrig::begin | ( | void | ) | const |
Definition at line 354 of file DTTtrig.cc.
References dataList.
Referenced by DTtTrigDBValidation::beginRun(), DTTTrigCalibration::dumpTTrigMap(), and DTTTrigCalibration::plotTTrig().
void DTTtrig::clear | ( | void | ) |
reset content
Definition at line 241 of file DTTtrig.cc.
References dataList, and 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().
DTTtrig::const_iterator DTTtrig::end | ( | void | ) | const |
Definition at line 359 of file DTTtrig.cc.
References dataList.
Referenced by DTtTrigDBValidation::beginRun(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), DTTTrigCalibration::dumpTTrigMap(), and DTTTrigCalibration::plotTTrig().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
get content
Operations
Definition at line 85 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTtTrigDBValidation::beginRun(), rrapi.RRApi::columns(), dtCalibration::DTTTrigFillWithAverage::correction(), dtCalibration::DTTTrigConstantShift::correction(), rrapi.RRApi::count(), rrapi.RRApi::data(), DTTTrigSyncFromDB::emulatorOffset(), DTTTrigOffsetCalibration::endJob(), DTTTrigCorrection::endJob(), dtCalibration::DTTTrigFillWithAverage::getAverage(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), DTTTrigSyncFromDB::offset(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 100 of file DTTtrig.cc.
References data, dataList, DTTtrigData::kFact, DTTimeUnits::ns, nsPerCount, edm::second(), DTTtrigData::tTrig, and DTTtrigData::tTrms.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DTSuperLayerId & | id, |
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 141 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DetId & | id, |
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 154 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 170 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 181 of file DTTtrig.cc.
References ntuplemaker::status, and unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DTSuperLayerId & | id, |
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 200 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DetId & | id, |
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 211 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
void DTTtrig::initialize | ( | ) |
Definition at line 371 of file DTTtrig.cc.
References dataList, and DTTtrigId::stationId.
Referenced by clear().
|
private |
Definition at line 364 of file DTTtrig.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTTtrig::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 248 of file DTTtrig.cc.
Referenced by DTTTrigCorrectionFirst::endJob(), DTTTrigCorrection::endJob(), DTTTrigOffsetCalibration::endJob(), DTTTrigCalibration::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), DTTtrigHandler::getNewObjects(), DTFakeTTrigESProducer::produce(), and set().
int DTTtrig::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 263 of file DTTtrig.cc.
References data, dataList, combine::key, DTTtrigData::kFact, DTTimeUnits::ns, nsPerCount, edm::second(), DTTtrigId::stationId, DTTtrigData::tTrig, and DTTtrigData::tTrms.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTTtrig::set | ( | const DTSuperLayerId & | id, |
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 320 of file DTTtrig.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTTtrig::set | ( | const DetId & | id, |
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 333 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
void DTTtrig::setUnit | ( | float | unit | ) |
float DTTtrig::unit | ( | ) | const |
Definition at line 225 of file DTTtrig.cc.
References nsPerCount.
const std::string & DTTtrig::version | ( | ) | const |
access version
Definition at line 231 of file DTTtrig.cc.
References dataVersion.
Referenced by DTTTrigSyncFromDB::setES().
std::string & DTTtrig::version | ( | ) |
|
private |
|
private |
|
private |