#include <Cabling.h>
Public Member Functions | |
void | addphi (const std::string &dtc, double phi, int layer, int module) |
Cabling (std::string dtcconfig, std::string moduleconfig, Settings const &settings) | |
const std::string & | dtc (int layer, int ladder, int module) const |
std::vector< std::string > | DTCs () const |
void | writephirange () const |
~Cabling ()=default | |
Private Attributes | |
std::map< std::string, DTC > | dtcranges_ |
std::map< std::string, DTC > | dtcs_ |
std::vector< DTCLink > | links_ |
std::map< int, std::map< int, std::map< int, std::string > > > | modules_ |
Settings const & | settings_ |
Cabling::Cabling | ( | std::string | dtcconfig, |
std::string | moduleconfig, | ||
Settings const & | settings | ||
) |
Definition at line 13 of file Cabling.cc.
References cms::cuda::assert(), dtc(), dtcranges_, dtcs_, createfilelist::int, PVValHelper::ladder, modules_, trklet::N_MOD_PLANK, trklet::N_PSLAYER, and trklet::N_TILTED_RINGS.
|
default |
void Cabling::addphi | ( | const std::string & | dtc, |
double | phi, | ||
int | layer, | ||
int | module | ||
) |
Definition at line 81 of file Cabling.cc.
References cms::cuda::assert(), trklet::Settings::dphisector(), dtc(), dtcranges_, trklet::N_DISK, trklet::N_LAYER, reco::reduceRange(), and settings_.
const string & Cabling::dtc | ( | int | layer, |
int | ladder, | ||
int | module | ||
) | const |
Definition at line 68 of file Cabling.cc.
References cms::cuda::assert(), Exception, PVValHelper::ladder, and modules_.
std::vector< string > Cabling::DTCs | ( | ) | const |
void Cabling::writephirange | ( | ) | const |
Definition at line 104 of file Cabling.cc.
References dtcranges_, mps_fire::i, SiStripPI::max, min(), trklet::N_DISK, trklet::N_LAYER, and MillePedeFileConverter_cfg::out.
|
private |
Definition at line 33 of file Cabling.h.
Referenced by addphi(), Cabling(), and writephirange().
|
private |
|
private |