#include <Phase2TrackerCabling.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
|
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) |
|
Definition at line 9 of file Phase2TrackerCabling.h.
Phase2TrackerCabling::Phase2TrackerCabling |
( |
| ) |
|
|
inline |
virtual Phase2TrackerCabling::~Phase2TrackerCabling |
( |
| ) |
|
|
inlinevirtual |
std::string Phase2TrackerCabling::description |
( |
bool |
compact = false | ) |
const |
bool Phase2TrackerCabling::fedeq |
( |
key |
a, |
|
|
key |
b |
|
) |
| |
|
staticprivate |
const Phase2TrackerModule & Phase2TrackerCabling::findFedCh |
( |
std::pair< unsigned int, unsigned int > |
fedch | ) |
const |
void Phase2TrackerCabling::initializeCabling |
( |
| ) |
|
Definition at line 74 of file Phase2TrackerCabling.cc.
References chOrdering(), connections_, detCabling_, detidOrdering(), fedCabling_, gbtCabling_, gbtidOrdering(), python.rootplot.argparse::module, and python.multivaluedict::sort().
Referenced by Phase2TrackerCabling().
static bool gbtidOrdering(key a, key b)
static bool chOrdering(key a, key b)
std::vector< Phase2TrackerModule >::const_iterator key
static bool detidOrdering(key a, key b)
template<class Archive >
void Phase2TrackerCabling::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
std::string Phase2TrackerCabling::summaryDescription |
( |
| ) |
const |
Definition at line 151 of file Phase2TrackerCabling.cc.
References connections_, cooleq(), coolingOrdering(), fedCabling_, fedeq(), poweq(), powerOrdering(), python.multivaluedict::sort(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
152 std::string mystring(
"Summary of the cabling\n======================\n");
153 std::stringstream
ss;
155 ss <<
"Number of modules: " <<
connections_.size() << std::endl;
157 ss <<
"Number of FEDs: ";
159 ss << std::distance(tmpc.begin(),std::unique(tmpc.begin(),tmpc.end(),
fedeq)) << std::endl;
160 ss <<
"Number of cooling loops: ";
163 ss << std::distance(
tmp.begin(),std::unique(
tmp.begin(),
tmp.end(),
cooleq)) << std::endl;
164 ss <<
"Number of power groups: ";
167 ss << std::distance(tmp.begin(),std::unique(tmp.begin(),tmp.end(),
poweq)) << std::endl;
168 mystring += ss.str();
static bool powerOrdering(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
static bool coolingOrdering(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
static bool cooleq(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
static bool poweq(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
std::vector< std::vector< double > > tmp
static bool fedeq(key a, key b)
std::vector< Phase2TrackerModule > store
std::vector< key > cabling
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
store Phase2TrackerCabling::connections_ |
|
private |
cabling Phase2TrackerCabling::detCabling_ |
|
private |
cabling Phase2TrackerCabling::fedCabling_ |
|
private |
cabling Phase2TrackerCabling::gbtCabling_ |
|
private |