#include <Phase2TrackerCabling.h>
Public Member Functions | |
const std::vector< Phase2TrackerModule > & | connections () const |
std::string | description (bool compact=false) const |
Phase2TrackerCabling | filterByCoolingLine (uint32_t coolingLine) const |
Phase2TrackerCabling | filterByPowerGroup (uint32_t powerGroup) const |
const Phase2TrackerModule & | findDetid (uint32_t detid) const |
const Phase2TrackerModule & | findFedCh (std::pair< unsigned int, unsigned int > fedch) const |
const Phase2TrackerModule & | findGbtid (uint32_t gbtid) const |
void | initializeCabling () |
Phase2TrackerCabling () | |
Phase2TrackerCabling (const Phase2TrackerCabling &src) | |
Phase2TrackerCabling (const std::vector< Phase2TrackerModule > &cons) | |
std::string | summaryDescription () const |
virtual | ~Phase2TrackerCabling () |
Private Types | |
typedef std::vector< key > | cabling |
typedef std::vector< Phase2TrackerModule >::const_iterator | key |
typedef std::vector< Phase2TrackerModule > | store |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Static Private Member Functions | |
static bool | chComp (key a, std::pair< unsigned int, unsigned int > b) |
static bool | chOrdering (key a, key b) |
static bool | cooleq (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
static bool | coolingComp (const Phase2TrackerModule &a, uint32_t b) |
static bool | coolingOrdering (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
static bool | detidComp (key a, uint32_t b) |
static bool | detidOrdering (key a, key b) |
static bool | fedeq (key a, key b) |
static bool | gbtidComp (key a, uint32_t b) |
static bool | gbtidOrdering (key a, key b) |
static bool | poweq (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
static bool | powerComp (const Phase2TrackerModule &a, uint32_t b) |
static bool | powerOrdering (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
Private Attributes | |
store | connections_ |
cabling | detCabling_ |
cabling | fedCabling_ |
cabling | gbtCabling_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 9 of file Phase2TrackerCabling.h.
|
private |
Definition at line 12 of file Phase2TrackerCabling.h.
|
private |
Definition at line 11 of file Phase2TrackerCabling.h.
|
private |
Definition at line 10 of file Phase2TrackerCabling.h.
Phase2TrackerCabling::Phase2TrackerCabling | ( | const std::vector< Phase2TrackerModule > & | cons | ) |
Phase2TrackerCabling::Phase2TrackerCabling | ( | const Phase2TrackerCabling & | src | ) |
Definition at line 61 of file Phase2TrackerCabling.cc.
References connections_, detCabling_, fedCabling_, gbtCabling_, and TrackRefitter_38T_cff::src.
|
inline |
Definition at line 22 of file Phase2TrackerCabling.h.
|
inlinevirtual |
Definition at line 25 of file Phase2TrackerCabling.h.
|
staticprivate |
|
staticprivate |
|
inline |
|
staticprivate |
Definition at line 41 of file Phase2TrackerCabling.cc.
Referenced by summaryDescription().
|
staticprivate |
|
staticprivate |
Definition at line 37 of file Phase2TrackerCabling.cc.
Referenced by filterByCoolingLine(), and summaryDescription().
std::string Phase2TrackerCabling::description | ( | bool | compact = false | ) | const |
Definition at line 173 of file Phase2TrackerCabling.cc.
References connections_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
Definition at line 28 of file Phase2TrackerCabling.cc.
Referenced by findDetid().
|
staticprivate |
Definition at line 25 of file Phase2TrackerCabling.cc.
Referenced by initializeCabling().
Definition at line 22 of file Phase2TrackerCabling.cc.
Referenced by summaryDescription().
Phase2TrackerCabling Phase2TrackerCabling::filterByCoolingLine | ( | uint32_t | coolingLine | ) | const |
Definition at line 114 of file Phase2TrackerCabling.cc.
References connections_, coolingOrdering(), FastTimerService_cff::range, mps_fire::result, and Phase2TrackerModule::SS.
Phase2TrackerCabling Phase2TrackerCabling::filterByPowerGroup | ( | uint32_t | powerGroup | ) | const |
Definition at line 133 of file Phase2TrackerCabling.cc.
References connections_, powerOrdering(), FastTimerService_cff::range, mps_fire::result, and Phase2TrackerModule::SS.
const Phase2TrackerModule & Phase2TrackerCabling::findDetid | ( | uint32_t | detid | ) | const |
Definition at line 94 of file Phase2TrackerCabling.cc.
References TauDecayModes::dec, detCabling_, detidComp(), Exception, and cuda_std::lower_bound().
const Phase2TrackerModule & Phase2TrackerCabling::findFedCh | ( | std::pair< unsigned int, unsigned int > | fedch | ) | const |
Definition at line 84 of file Phase2TrackerCabling.cc.
References chComp(), Exception, fedCabling_, and cuda_std::lower_bound().
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
const Phase2TrackerModule & Phase2TrackerCabling::findGbtid | ( | uint32_t | gbtid | ) | const |
Definition at line 104 of file Phase2TrackerCabling.cc.
References TauDecayModes::dec, Exception, gbtCabling_, gbtidComp(), and cuda_std::lower_bound().
|
staticprivate |
Definition at line 34 of file Phase2TrackerCabling.cc.
Referenced by findGbtid().
|
staticprivate |
Definition at line 31 of file Phase2TrackerCabling.cc.
Referenced by initializeCabling().
void Phase2TrackerCabling::initializeCabling | ( | ) |
Definition at line 68 of file Phase2TrackerCabling.cc.
References chOrdering(), connections_, detCabling_, detidOrdering(), fedCabling_, gbtCabling_, and gbtidOrdering().
Referenced by Phase2TrackerCabling().
|
staticprivate |
Definition at line 50 of file Phase2TrackerCabling.cc.
Referenced by summaryDescription().
|
staticprivate |
|
staticprivate |
Definition at line 46 of file Phase2TrackerCabling.cc.
Referenced by filterByPowerGroup(), and summaryDescription().
|
private |
std::string Phase2TrackerCabling::summaryDescription | ( | ) | const |
Definition at line 152 of file Phase2TrackerCabling.cc.
References connections_, cooleq(), coolingOrdering(), HLT_2018_cff::distance, fedCabling_, fedeq(), poweq(), powerOrdering(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, createJobs::tmp, and tier0::unique().
|
friend |
Definition at line 79 of file Phase2TrackerCabling.h.
|
friend |
Definition at line 79 of file Phase2TrackerCabling.h.
|
private |
Definition at line 56 of file Phase2TrackerCabling.h.
Referenced by connections(), description(), filterByCoolingLine(), filterByPowerGroup(), initializeCabling(), Phase2TrackerCabling(), and summaryDescription().
|
private |
Definition at line 61 of file Phase2TrackerCabling.h.
Referenced by findDetid(), initializeCabling(), and Phase2TrackerCabling().
|
private |
Definition at line 59 of file Phase2TrackerCabling.h.
Referenced by findFedCh(), initializeCabling(), Phase2TrackerCabling(), and summaryDescription().
|
private |
Definition at line 60 of file Phase2TrackerCabling.h.
Referenced by findGbtid(), initializeCabling(), and Phase2TrackerCabling().