#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 &)=delete | |
std::string | mapName () const |
DTTtrig & | operator= (DTTtrig const &)=delete |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair< DTTtrigId, DTTtrigData > > | dataList |
std::string | dataVersion |
edm::ConstRespectingPtr< 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 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 | ( | ) |
|
privatedelete |
DTTtrig::const_iterator DTTtrig::begin | ( | void | ) | const |
Definition at line 354 of file DTTtrig.cc.
Referenced by DTtTrigDBValidation::bookHistograms(), DTTTrigCalibration::dumpTTrigMap(), and DTTTrigCalibration::plotTTrig().
void DTTtrig::clear | ( | void | ) |
reset content
Definition at line 241 of file DTTtrig.cc.
References 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.
Referenced by DTtTrigDBValidation::bookHistograms(), 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 DTTtrigData::kFact, DTTtrigData::tTrig, DTTtrigData::tTrms, and csvLumiCalc::unit.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTT0Calibration::analyze(), DTNoiseCalibration::analyze(), DTtTrigDBValidation::bookHistograms(), DTNoiseTask::bookHistograms(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), dtCalibration::DTTTrigFillWithAverage::correction(), dtCalibration::DTTTrigConstantShift::correction(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), DTTTrigSyncFromDB::emulatorOffset(), DTTTrigCorrection::endJob(), DTTTrigOffsetCalibration::endJob(), dtCalibration::DTTTrigFillWithAverage::getAverage(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), DTTTrigSyncFromDB::offset(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), 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 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, DTTtrigData::kFact, DTTimeUnits::ns, edm::second(), DTTtrigData::tTrig, and DTTtrigData::tTrms.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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 DTTtrigData::kFact, DTTtrigData::tTrig, DTTtrigData::tTrms, and csvLumiCalc::unit.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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 DTTtrigData::kFact, DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), DTTtrigData::tTrig, DTTtrigData::tTrms, csvLumiCalc::unit, DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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 DTTtrigData::tTrig, and csvLumiCalc::unit.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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 DTTtrigData::kFact, mps_update::status, DTTtrigData::tTrms, and csvLumiCalc::unit.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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 DTTtrigData::tTrig, and csvLumiCalc::unit.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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(), DTTtrigData::tTrig, csvLumiCalc::unit, DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTTtrig::initialize | ( | ) |
Definition at line 371 of file DTTtrig.cc.
References officialStyle::chan, and DTTtrigId::stationId.
|
private |
|
private |
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.
References DTTtrigData::kFact, DTTtrigData::tTrig, DTTtrigData::tTrms, and csvLumiCalc::unit.
Referenced by DTTTrigCorrectionFirst::endJob(), DTTTrigOffsetCalibration::endJob(), DTTTrigCorrection::endJob(), and DTTTrigCalibration::endJob().
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, crabWrapper::key, DTTtrigData::kFact, DTTimeUnits::ns, edm::second(), DTTtrigId::stationId, DTTtrigData::tTrig, and DTTtrigData::tTrms.
int DTTtrig::set | ( | const DTSuperLayerId & | id, |
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 320 of file DTTtrig.cc.
References DTTtrigData::kFact, DTTtrigData::tTrig, DTTtrigData::tTrms, and csvLumiCalc::unit.
int DTTtrig::set | ( | const DetId & | id, |
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 333 of file DTTtrig.cc.
References DTTtrigData::kFact, DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), DTTtrigData::tTrig, DTTtrigData::tTrms, csvLumiCalc::unit, DTChamberId::wheel(), and DTWireId::wire().
void DTTtrig::setUnit | ( | float | unit | ) |
float DTTtrig::unit | ( | ) | const |
Definition at line 225 of file DTTtrig.cc.
const std::string & DTTtrig::version | ( | ) | const |
access version
Definition at line 231 of file DTTtrig.cc.
Referenced by DTTTrigCorrectionFirst::beginRun(), DTTTrigCorrection::beginRun(), DTTTrigOffsetCalibration::beginRun(), DTtTrigDBValidation::bookHistograms(), validation.Sample::datasetpattern(), validation.Sample::filename(), and DTTTrigSyncFromDB::setES().
std::string & DTTtrig::version | ( | ) |
Definition at line 236 of file DTTtrig.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
|
private |
|
private |