![]() |
![]() |
#include <TrackerMap.h>
Public Types | |
typedef std::multimap< TmCcu *, TmModule * > | FecModule |
typedef std::map< const int, TmModule * > | ImoduleMap |
typedef std::map< const int, TmCcu * > | MapCcu |
typedef std::map< const int, TmPsu * > | MapPsu |
typedef std::multimap< const int, TmApvPair * > | ModApvPair |
typedef std::multimap< TmPsu *, TmModule * > | PsuModule |
typedef std::map< const int, TmModule * > | SmoduleMap |
typedef std::map< const int, TmApvPair * > | SvgApvPair |
typedef std::map< const int, int > | SvgFed |
Public Member Functions | |
void | addPixel (bool addPixelfl) |
void | build () |
void | defcwindow (int num_crate) |
void | deffecwindow (int num_crate) |
void | defpsuwindow (int num_rack) |
void | defwindow (int num_lay) |
void | drawApvPair (int crate, int numfed_incrate, bool total, TmApvPair *apvPair, std::ofstream *file, bool useApvPairValue) |
void | drawCcu (int crate, int numfed_incrate, bool total, TmCcu *ccu, std::ofstream *file, bool useCcuValue) |
void | drawHV2 (int rack, int numcrate_inrack, bool print_total, TmPsu *psu, std::ofstream *svgfile, bool usePsuValue) |
void | drawHV3 (int rack, int numcrate_inrack, bool print_total, TmPsu *psu, std::ofstream *svgfile, bool usePsuValue) |
void | drawModule (TmModule *mod, int key, int layer, bool total, std::ofstream *file) |
void | drawPalette (std::ofstream *file, int xoffset=3660, int yoffset=1540) |
void | drawPsu (int rack, int numcrate_inrack, bool print_total, TmPsu *psu, std::ofstream *svgfile, bool usePsuValue) |
void | fill (int layer, int ring, int nmod, float x) |
void | fill (int idmod, float qty) |
void | fill_all_blank () |
void | fill_current_val (int idmod, float current_val) |
void | fill_current_val_fed_channel (int fedId, int fedCh, float current_val) |
void | fill_fec_channel (int crate, int slot, int ring, int addr, float qty) |
void | fill_fed_channel (int fedId, int fedCh, float qty) |
void | fill_fed_channel (int modId, float qty) |
void | fill_hv_channel2 (int rack, int crate, int board, float qty) |
void | fill_hv_channel3 (int rack, int crate, int board, float qty) |
void | fill_lv_channel (int rack, int crate, int board, float qty) |
void | fillc (int idmod, int RGBcode) |
void | fillc (int idmod, int red, int green, int blue) |
void | fillc (int layer, int ring, int nmod, int red, int green, int blue) |
void | fillc_all_blank () |
void | fillc_fec_channel (int crate, int slot, int ring, int addr, int red, int green, int blue) |
void | fillc_fed_channel (int fedId, int fedCh, int red, int green, int blue) |
void | fillc_hv_channel2 (int rack, int crate, int board, int red, int green, int blue) |
void | fillc_hv_channel3 (int rack, int crate, int board, int red, int green, int blue) |
void | fillc_lv_channel (int rack, int crate, int board, int red, int green, int blue) |
int | find_layer (int ix, int iy) |
std::ifstream * | findfile (std::string filename) |
std::pair< float, float > | getAutomaticRange () |
int | getcolor (float value, int palette) |
int | getlayerCount (int subdet, int partdet) |
int | getmoduleCount (int subdet, int partdet, int layer, int ring) |
int | getNumMod () |
int | getringCount (int subdet, int partdet, int layer) |
int | getxsize () |
int | getysize () |
void | init () |
std::string | layername (int layer) |
void | load (std::string s="tmap.svg") |
int | module (int fedId, int fedCh) |
int | nlayer (int det, int part, int lay) |
void | onlyPixel (bool onlyPixelfl) |
double | phival (double x, double y) |
void | print (bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap") |
void | printall (bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap", int width=6000, int height=3200) |
void | printlayers (bool print_total=true, float minval=0., float maxval=0., std::string s="layer") |
void | printonline () |
void | reset () |
void | save (bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap.svg", int width=1500, int height=800) |
void | save_as_fectrackermap (bool print_total=true, float minval=0., float maxval=0., std::string s="fec_svgmap.svg", int width=1500, int height=800) |
void | save_as_fedtrackermap (bool print_total=true, float minval=0., float maxval=0., std::string s="fed_svgmap.svg", int width=100+(90+100)*31+300, int height=150+(2940+150)*1+300) |
void | save_as_HVtrackermap (bool print_total=true, float minval=0., float maxval=0., std::string s="psu_svgmap.svg", int width=1500, int height=800) |
void | save_as_psutrackermap (bool print_total=true, float minval=0., float maxval=0., std::string s="psu_svgmap.svg", int width=100+(360+100)*5+300, int height=50+(150+50)*6+300) |
void | setPalette (int numpalette) |
void | setRange (float min, float max) |
void | setText (int idmod, std::string s) |
void | setText (int layer, int ring, int nmod, std::string s) |
void | setTitle (std::string s) |
void | showPalette (bool printflag1) |
TrackerMap (std::string s=" ", int xsize1=340, int ysize1=200) | |
TrackerMap (const edm::ParameterSet &iConfig) | |
TrackerMap (const edm::ParameterSet &iConfig, const SiStripFedCabling *tkFed, const TrackerTopology *const topology) | |
double | xdpixel (double x) |
double | xdpixelc (double x) |
double | xdpixelfec (double x) |
double | xdpixelpsu (double x) |
double | ydpixel (double y) |
double | ydpixelc (double y) |
double | ydpixelfec (double y) |
double | ydpixelpsu (double y) |
~TrackerMap () | |
default destructor More... | |
Static Public Member Functions | |
static bool | isRingStereo (int key) |
static int | layerno (int subdet, int leftright, int layer) |
Public Attributes | |
SvgApvPair | apvMap |
ModApvPair | apvModuleMap |
MapCcu | ccuMap |
bool | enableFecProcessing |
bool | enableFedProcessing |
bool | enableHVProcessing |
bool | enableLVProcessing |
FecModule | fecModuleMap |
SvgFed | fedMap |
int | firstRing [43] |
ImoduleMap | imoduleMap |
std::string | infilename |
std::string | jsfilename |
std::string | jsPath |
int | ndet |
int | npart |
int | ntotRing [43] |
int | palette |
bool | printflag |
bool | psetAvailable |
MapPsu | psuMap |
PsuModule | psuModuleMap |
bool | saveGeoTrackerMap |
bool | saveWebInterface |
SvgFed | slotMap |
SmoduleMap | smoduleMap |
std::string | title |
bool | tkMapLog |
std::vector< TColor * > | vc |
Protected Attributes | |
std::ifstream * | ccufile |
bool | firstcall |
int | firstcrate |
float | gmaxvalue |
float | gminvalue |
std::ifstream * | inputfile |
int | ix |
int | iy |
std::ifstream * | jsfile |
float | maxvalue |
float | minvalue |
int | ncrates |
int | nfeccrates |
int | nlay |
int | npsuracks |
int | number_modules |
bool | posrel |
std::ofstream * | savefile |
std::ofstream * | svgfile |
bool | temporary_file |
double | xmax |
double | xmin |
int | xsize |
double | ymax |
double | ymin |
int | ysize |
Private Member Functions | |
TLegend * | buildLegend () |
Private Attributes | |
bool | addPixelFlag |
std::vector< TPolyLine * > | legInfos_ |
std::vector< std::string > | legKeys_ |
float | oldz |
bool | onlyPixelFlag |
bool | saveAsSingleLayer |
Definition at line 77 of file TrackerMap.h.
typedef std::multimap<TmCcu* , TmModule*> TrackerMap::FecModule |
Definition at line 158 of file TrackerMap.h.
typedef std::map<const int , TmModule *> TrackerMap::ImoduleMap |
Definition at line 147 of file TrackerMap.h.
typedef std::map<const int , TmCcu*> TrackerMap::MapCcu |
Definition at line 156 of file TrackerMap.h.
typedef std::map<const int , TmPsu*> TrackerMap::MapPsu |
Definition at line 160 of file TrackerMap.h.
typedef std::multimap<const int , TmApvPair*> TrackerMap::ModApvPair |
Definition at line 151 of file TrackerMap.h.
typedef std::multimap<TmPsu* , TmModule*> TrackerMap::PsuModule |
Definition at line 162 of file TrackerMap.h.
typedef std::map<const int , TmModule *> TrackerMap::SmoduleMap |
Definition at line 145 of file TrackerMap.h.
typedef std::map<const int , TmApvPair*> TrackerMap::SvgApvPair |
Definition at line 149 of file TrackerMap.h.
typedef std::map<const int , int> TrackerMap::SvgFed |
Definition at line 153 of file TrackerMap.h.
TrackerMap::TrackerMap | ( | std::string | s = " " , |
int | xsize1 = 340 , |
||
int | ysize1 = 200 |
||
) |
Definition at line 413 of file TrackerMap.cc.
References enableFecProcessing, enableFedProcessing, enableHVProcessing, enableLVProcessing, infilename, init(), jsfilename, jsPath, psetAvailable, alignCSCRings::s, saveAsSingleLayer, saveGeoTrackerMap, saveWebInterface, title, tkMapLog, xsize, and ysize.
TrackerMap::TrackerMap | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 393 of file TrackerMap.cc.
References gather_cfg::cout, enableFedProcessing, firstcrate, edm::ParameterSet::getUntrackedParameter(), infilename, init(), jsfilename, ncrates, psetAvailable, saveAsSingleLayer, saveGeoTrackerMap, saveWebInterface, AlCaHLTBitMon_QueryRunRegistry::string, title, tkMapLog, xsize, and ysize.
TrackerMap::TrackerMap | ( | const edm::ParameterSet & | iConfig, |
const SiStripFedCabling * | tkFed, | ||
const TrackerTopology *const | topology | ||
) |
Definition at line 33 of file TrackerMap.cc.
References apvMap, apvModuleMap, MicroEventContent_cff::branch, dataDML::branchinfo, TmModule::capvids, TmModule::CcuId, ccuMap, TmCcu::cmodid, TmPsu::cmodid_HV2, TmPsu::cmodid_HV3, TmPsu::cmodid_LV, gather_cfg::cout, TmApvPair::crate, SiStripFecCabling::crates(), enableFecProcessing, enableFedProcessing, enableHVProcessing, enableLVProcessing, fecModuleMap, SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), fedMap, firstcrate, TmCcu::getCcuCrate(), TmCcu::getCcuRing(), TmCcu::getCcuSlot(), SiStripDetCabling::getConnections(), TmApvPair::getFedCh(), TmApvPair::getFedId(), TmPsu::getPsuBoard(), TmPsu::getPsuBranch(), TmPsu::getPsuCrate(), TmPsu::getPsuDcs(), TmPsu::getPsuRack(), edm::ParameterSet::getUntrackedParameter(), TmModule::HVchannel, TmPsu::idex, TmCcu::idex, TmApvPair::idex, TmModule::idex, imoduleMap, recoMuon::in, infilename, init(), sistrip::invalid32_, sistrip::invalid_, jsfilename, jsPath, crabWrapper::key, TmCcu::layer, TmModule::layer, mod(), TmApvPair::mod, TmApvPair::mpos, TmCcu::mpos, TmModule::name, nchan, ncrates, nfeccrates, TmCcu::nmod, TmPsu::nmod, TmPsu::nmodHV2, TmPsu::nmodHV3, npsuracks, psetAvailable, TmPsu::psId, TmModule::PsuId, TmModule::psuIdex, psuMap, psuModuleMap, relativeConstraints::ring, alignCSCRings::s, saveAsSingleLayer, saveGeoTrackerMap, saveWebInterface, slotMap, AlCaHLTBitMon_QueryRunRegistry::string, TmCcu::text, TmApvPair::text, TmPsu::text, TmPsu::textHV2, TmPsu::textHV3, title, tkMapLog, xsize, and ysize.
TrackerMap::~TrackerMap | ( | ) |
default destructor
Definition at line 491 of file TrackerMap.cc.
References apvMap, ccuMap, firstRing, crabWrapper::key, mod(), module(), ntotRing, psuMap, relativeConstraints::ring, and smoduleMap.
|
inline |
Definition at line 135 of file TrackerMap.h.
References addPixelFlag.
Referenced by DetIdSelectorTest::DetIdSelectorTest().
void TrackerMap::build | ( | ) |
Definition at line 2817 of file TrackerMap.cc.
References TmModule::count, gather_cfg::cout, TmModule::idex, imoduleMap, recoMuon::in, infilename, crabWrapper::key, TmModule::length, mod(), TmModule::name, dataset::name, number_modules, TmModule::posx, TmModule::posy, TmModule::posz, relativeConstraints::ring, TmModule::setUsed(), smoduleMap, AlCaHLTBitMon_QueryRunRegistry::string, TmModule::thickness, TmModule::value, TmModule::width, ApeEstimator_cff::width, and TmModule::widthAtHalfLength.
Referenced by init(), and psClasses.BuildThread::run().
|
private |
Definition at line 3623 of file TrackerMap.cc.
References mps_fire::i, legInfos_, and legKeys_.
Referenced by save().
|
inline |
Definition at line 304 of file TrackerMap.h.
References ix, iy, NUMFED_INCOLUMN, NUMFED_INROW, NUMFEDCH_INCOLUMN, NUMFEDCH_INROW, NUMFEDCRATE_INCOLUMN, XFEDCSIZE, XFEDOFFSET, xmax, xmin, YFEDCSIZE, YFEDOFFSET, ymax, and ymin.
Referenced by save_as_fedtrackermap().
|
inline |
|
inline |
Definition at line 322 of file TrackerMap.h.
References ix, iy, NUMPSUCH_INROW, NUMPSUCRATE_INCOLUMN, NUMPSURACK_INCOLUMN, xmax, xmin, XPSUOFFSET, XPSURSIZE, ymax, ymin, YPSUOFFSET, and YPSURSIZE.
Referenced by save_as_HVtrackermap(), and save_as_psutrackermap().
|
inline |
Definition at line 334 of file TrackerMap.h.
References createfilelist::int, ix, iy, posrel, xmax, xmin, xsize, ymax, ymin, and ysize.
Referenced by print(), printlayers(), and save().
void TrackerMap::drawApvPair | ( | int | crate, |
int | numfed_incrate, | ||
bool | total, | ||
TmApvPair * | apvPair, | ||
std::ofstream * | file, | ||
bool | useApvPairValue | ||
) |
Definition at line 950 of file TrackerMap.cc.
References TmApvPair::blue, TmModule::blue, DivergingColor::blue, edmScanValgrind::buffer, create_public_lumi_plots::color, TmModule::count, TmApvPair::count, PVValHelper::dx, PVValHelper::dy, getcolor(), TmApvPair::getFedCh(), TmApvPair::getFedId(), TmModule::getKey(), TmApvPair::green, TmModule::green, cmsRelvalreport::green(), TmApvPair::idex, TmModule::idex, createfilelist::int, gen::k, TmApvPair::mod, TmModule::name, np, NUMFED_INCOLUMN, NUMFED_INROW, NUMFEDCH_INCOLUMN, NUMFEDCH_INROW, palette, TmApvPair::red, TmModule::red, DivergingColor::red, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, temporary_file, TmApvPair::value, TmModule::value, xdpixelc(), and ydpixelc().
Referenced by save_as_fedtrackermap().
void TrackerMap::drawCcu | ( | int | crate, |
int | numfed_incrate, | ||
bool | total, | ||
TmCcu * | ccu, | ||
std::ofstream * | file, | ||
bool | useCcuValue | ||
) |
Definition at line 1036 of file TrackerMap.cc.
References TmCcu::blue, DivergingColor::blue, edmScanValgrind::buffer, TmCcu::cmodid, create_public_lumi_plots::color, TmCcu::count, PVValHelper::dx, PVValHelper::dy, TmCcu::getCcuRing(), TmCcu::getCcuSlot(), getcolor(), TmCcu::green, cmsRelvalreport::green(), TmCcu::idex, createfilelist::int, gen::k, TmCcu::layer, TmCcu::mpos, np, palette, TmCcu::red, DivergingColor::red, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, temporary_file, TmCcu::text, TmCcu::value, xdpixelfec(), and ydpixelfec().
Referenced by save_as_fectrackermap().
void TrackerMap::drawHV2 | ( | int | rack, |
int | numcrate_inrack, | ||
bool | print_total, | ||
TmPsu * | psu, | ||
std::ofstream * | svgfile, | ||
bool | usePsuValue | ||
) |
Definition at line 1178 of file TrackerMap.cc.
References TmPsu::blueHV2, edmScanValgrind::buffer, TmPsu::cmodid_HV2, create_public_lumi_plots::color, TmPsu::countHV2, PVValHelper::dx, PVValHelper::dy, getcolor(), TmPsu::getPsuBoard(), TmPsu::getPsuCrate(), TmPsu::greenHV2, TmPsu::idex, gen::k, np, palette, TmPsu::redHV2, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, temporary_file, TmPsu::textHV2, TmPsu::valueHV2, xdpixelpsu(), and ydpixelpsu().
Referenced by save_as_HVtrackermap().
void TrackerMap::drawHV3 | ( | int | rack, |
int | numcrate_inrack, | ||
bool | print_total, | ||
TmPsu * | psu, | ||
std::ofstream * | svgfile, | ||
bool | usePsuValue | ||
) |
Definition at line 1245 of file TrackerMap.cc.
References TmPsu::blueHV3, edmScanValgrind::buffer, TmPsu::cmodid_HV3, create_public_lumi_plots::color, TmPsu::countHV3, PVValHelper::dx, PVValHelper::dy, getcolor(), TmPsu::getPsuBoard(), TmPsu::getPsuCrate(), TmPsu::greenHV3, TmPsu::idex, gen::k, np, palette, TmPsu::redHV3, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, temporary_file, TmPsu::textHV3, TmPsu::valueHV3, xdpixelpsu(), and ydpixelpsu().
Referenced by save_as_HVtrackermap().
void TrackerMap::drawModule | ( | TmModule * | mod, |
int | key, | ||
int | layer, | ||
bool | total, | ||
std::ofstream * | file | ||
) |
Definition at line 538 of file TrackerMap.cc.
References TmModule::blue, DivergingColor::blue, edmScanValgrind::buffer, TmModule::capvids, TmModule::CcuId, create_public_lumi_plots::color, funct::cos(), TmModule::count, PVValHelper::dx, PVValHelper::dy, getcolor(), TmModule::green, cmsRelvalreport::green(), TmModule::HVchannel, TmModule::idex, TmModule::idModule, isRingStereo(), gen::k, TmModule::length, M_PI, TmModule::name, nlay, np, palette, phi, phival(), posrel, TmModule::posx, TmModule::posy, TmModule::posz, TmModule::psuIdex, alignCSCRings::r, TmModule::red, DivergingColor::red, TmModule::ring, funct::sin(), mathSSE::sqrt(), temporary_file, TmModule::text, TmModule::value, TmModule::width, TmModule::widthAtHalfLength, xdpixel(), and ydpixel().
Referenced by print(), printlayers(), and save().
void TrackerMap::drawPalette | ( | std::ofstream * | file, |
int | xoffset = 3660 , |
||
int | yoffset = 1540 |
||
) |
Definition at line 2509 of file TrackerMap.cc.
References DivergingColor::blue, create_public_lumi_plots::color, gather_cfg::cout, objects.autophobj::float, getcolor(), cmsRelvalreport::green(), mps_fire::i, createfilelist::int, maxvalue, minvalue, palette, DivergingColor::red, temporary_file, tkMapLog, heppy_batch::val, and ApeEstimator_cff::width.
Referenced by print(), save(), save_as_fectrackermap(), save_as_fedtrackermap(), save_as_HVtrackermap(), save_as_psutrackermap(), and setPalette().
void TrackerMap::drawPsu | ( | int | rack, |
int | numcrate_inrack, | ||
bool | print_total, | ||
TmPsu * | psu, | ||
std::ofstream * | svgfile, | ||
bool | usePsuValue | ||
) |
Definition at line 1101 of file TrackerMap.cc.
References TmPsu::blue, DivergingColor::blue, edmScanValgrind::buffer, TmPsu::cmodid_LV, create_public_lumi_plots::color, TmPsu::count, PVValHelper::dx, PVValHelper::dy, getcolor(), TmPsu::getPsuBoard(), TmPsu::getPsuCrate(), TmPsu::green, cmsRelvalreport::green(), TmPsu::idex, gen::k, np, NUMPSUCH_INROW, NUMPSUCRATE_INCOLUMN, palette, TmPsu::red, DivergingColor::red, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, temporary_file, TmPsu::text, TmPsu::value, xdpixelpsu(), and ydpixelpsu().
Referenced by save_as_psutrackermap().
void TrackerMap::fill | ( | int | layer, |
int | ring, | ||
int | nmod, | ||
float | x | ||
) |
Definition at line 2786 of file TrackerMap.cc.
References TmModule::count, gather_cfg::cout, crabWrapper::key, mod(), smoduleMap, and TmModule::value.
Referenced by SiStripCablingTrackerMap::analyze(), SiStripQualityStatistics::analyze(), SiStripPlotGain::DoAnalysis(), SiStripCorrelateNoise::DoAnalysis(), TkHistoMap::dumpInTkMap(), SiStripBaseCondObjDQM::fillTkMap(), load(), and SiStripHitEffFromCalibTree::makeTKMap().
void TrackerMap::fill | ( | int | idmod, |
float | qty | ||
) |
Definition at line 2766 of file TrackerMap.cc.
References TmModule::count, gather_cfg::cout, imoduleMap, mod(), and TmModule::value.
void TrackerMap::fill_all_blank | ( | ) |
Definition at line 2749 of file TrackerMap.cc.
References fill_current_val(), and imoduleMap.
Referenced by fillc().
void TrackerMap::fill_current_val | ( | int | idmod, |
float | current_val | ||
) |
Definition at line 2759 of file TrackerMap.cc.
References TmModule::count, gather_cfg::cout, imoduleMap, mod(), TmModule::red, and TmModule::value.
Referenced by DetIdSelectorTest::analyze(), TrackerDpgAnalysis::beginRun(), and fill_all_blank().
void TrackerMap::fill_current_val_fed_channel | ( | int | fedId, |
int | fedCh, | ||
float | current_val | ||
) |
Definition at line 2574 of file TrackerMap.cc.
References apvMap, TmApvPair::count, gather_cfg::cout, crabWrapper::key, TmApvPair::red, and TmApvPair::value.
Referenced by fillc().
void TrackerMap::fill_fec_channel | ( | int | crate, |
int | slot, | ||
int | ring, | ||
int | addr, | ||
float | qty | ||
) |
Definition at line 2598 of file TrackerMap.cc.
References ccuMap, TmCcu::count, gather_cfg::cout, crabWrapper::key, and TmCcu::value.
Referenced by fillc().
void TrackerMap::fill_fed_channel | ( | int | fedId, |
int | fedCh, | ||
float | qty | ||
) |
Definition at line 2707 of file TrackerMap.cc.
References apvMap, TmApvPair::count, gather_cfg::cout, crabWrapper::key, and TmApvPair::value.
Referenced by fillc().
void TrackerMap::fill_fed_channel | ( | int | modId, |
float | qty | ||
) |
Definition at line 2559 of file TrackerMap.cc.
References apvModuleMap, TmApvPair::count, gather_cfg::cout, and TmApvPair::value.
void TrackerMap::fill_hv_channel2 | ( | int | rack, |
int | crate, | ||
int | board, | ||
float | qty | ||
) |
Definition at line 2668 of file TrackerMap.cc.
References TmPsu::countHV2, gather_cfg::cout, crabWrapper::key, psuMap, and TmPsu::valueHV2.
Referenced by fillc().
void TrackerMap::fill_hv_channel3 | ( | int | rack, |
int | crate, | ||
int | board, | ||
float | qty | ||
) |
Definition at line 2680 of file TrackerMap.cc.
References TmPsu::countHV3, gather_cfg::cout, crabWrapper::key, psuMap, and TmPsu::valueHV3.
Referenced by fillc().
void TrackerMap::fill_lv_channel | ( | int | rack, |
int | crate, | ||
int | board, | ||
float | qty | ||
) |
Definition at line 2627 of file TrackerMap.cc.
References TmPsu::count, gather_cfg::cout, crabWrapper::key, psuMap, and TmPsu::value.
Referenced by fillc().
|
inline |
Definition at line 109 of file TrackerMap.h.
References DivergingColor::blue, l1t::stage2::layer2::fedId, fill_all_blank(), fill_current_val_fed_channel(), fill_fec_channel(), fill_fed_channel(), fill_hv_channel2(), fill_hv_channel3(), fill_lv_channel(), fillc(), fillc_all_blank(), fillc_fec_channel(), fillc_fed_channel(), fillc_hv_channel2(), fillc_hv_channel3(), fillc_lv_channel(), cmsRelvalreport::green(), module(), DivergingColor::red, alignCSCRings::s, setText(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripQualityStatistics::analyze(), SiStripCorrelateBadStripAndNoise::correlateWithNoise(), fillc(), fillc_all_blank(), SiStripHitEffFromCalibTree::makeTKMap(), and SiStripQualityStatistics::SetBadComponents().
void TrackerMap::fillc | ( | int | idmod, |
int | red, | ||
int | green, | ||
int | blue | ||
) |
Definition at line 2720 of file TrackerMap.cc.
References TmModule::blue, DivergingColor::blue, gather_cfg::cout, TmModule::green, cmsRelvalreport::green(), imoduleMap, mod(), TmModule::red, and DivergingColor::red.
void TrackerMap::fillc | ( | int | layer, |
int | ring, | ||
int | nmod, | ||
int | red, | ||
int | green, | ||
int | blue | ||
) |
Definition at line 2729 of file TrackerMap.cc.
References TmModule::blue, DivergingColor::blue, gather_cfg::cout, TmModule::green, cmsRelvalreport::green(), crabWrapper::key, mod(), TmModule::red, DivergingColor::red, and smoduleMap.
void TrackerMap::fillc_all_blank | ( | ) |
Definition at line 2741 of file TrackerMap.cc.
References fillc(), and imoduleMap.
Referenced by fillc().
void TrackerMap::fillc_fec_channel | ( | int | crate, |
int | slot, | ||
int | ring, | ||
int | addr, | ||
int | red, | ||
int | green, | ||
int | blue | ||
) |
Definition at line 2585 of file TrackerMap.cc.
References TmCcu::blue, DivergingColor::blue, ccuMap, gather_cfg::cout, TmCcu::green, cmsRelvalreport::green(), crabWrapper::key, TmCcu::red, and DivergingColor::red.
Referenced by fillc().
void TrackerMap::fillc_fed_channel | ( | int | fedId, |
int | fedCh, | ||
int | red, | ||
int | green, | ||
int | blue | ||
) |
Definition at line 2547 of file TrackerMap.cc.
References apvMap, TmApvPair::blue, DivergingColor::blue, gather_cfg::cout, TmApvPair::green, cmsRelvalreport::green(), crabWrapper::key, TmApvPair::red, and DivergingColor::red.
Referenced by fillc().
void TrackerMap::fillc_hv_channel2 | ( | int | rack, |
int | crate, | ||
int | board, | ||
int | red, | ||
int | green, | ||
int | blue | ||
) |
Definition at line 2640 of file TrackerMap.cc.
References DivergingColor::blue, TmPsu::blueHV2, gather_cfg::cout, cmsRelvalreport::green(), TmPsu::greenHV2, crabWrapper::key, psuMap, DivergingColor::red, and TmPsu::redHV2.
Referenced by fillc().
void TrackerMap::fillc_hv_channel3 | ( | int | rack, |
int | crate, | ||
int | board, | ||
int | red, | ||
int | green, | ||
int | blue | ||
) |
Definition at line 2653 of file TrackerMap.cc.
References DivergingColor::blue, TmPsu::blueHV3, gather_cfg::cout, cmsRelvalreport::green(), TmPsu::greenHV3, crabWrapper::key, psuMap, DivergingColor::red, and TmPsu::redHV3.
Referenced by fillc().
void TrackerMap::fillc_lv_channel | ( | int | rack, |
int | crate, | ||
int | board, | ||
int | red, | ||
int | green, | ||
int | blue | ||
) |
Definition at line 2613 of file TrackerMap.cc.
References TmPsu::blue, DivergingColor::blue, gather_cfg::cout, TmPsu::green, cmsRelvalreport::green(), crabWrapper::key, psuMap, TmPsu::red, and DivergingColor::red.
Referenced by fillc().
|
inline |
Definition at line 193 of file TrackerMap.h.
References PVValHelper::add(), xsize, and ysize.
std::ifstream * TrackerMap::findfile | ( | std::string | filename | ) |
Definition at line 3519 of file TrackerMap.cc.
References gather_cfg::cout, corrVsCorr::filename, recoMuon::in, jsPath, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getysize(), printall(), and printonline().
std::pair< float, float > TrackerMap::getAutomaticRange | ( | ) |
Definition at line 675 of file TrackerMap.cc.
References TmModule::count, firstRing, crabWrapper::key, cmsBatch::log, mod(), module(), TmModule::notInUse(), ntotRing, relativeConstraints::ring, smoduleMap, tkMapLog, and TmModule::value.
Referenced by setTitle().
int TrackerMap::getcolor | ( | float | value, |
int | palette | ||
) |
Definition at line 2860 of file TrackerMap.cc.
References DivergingColor::blue, delta, cmsRelvalreport::green(), createfilelist::int, cmsBatch::log, maxvalue, minvalue, DivergingColor::red, tkMapLog, and x.
Referenced by drawApvPair(), drawCcu(), drawHV2(), drawHV3(), drawModule(), drawPalette(), drawPsu(), and getysize().
|
inline |
|
inline |
|
inline |
Definition at line 143 of file TrackerMap.h.
|
inline |
|
inline |
|
inline |
Definition at line 140 of file TrackerMap.h.
References corrVsCorr::filename, findfile(), getcolor(), palette, AlCaHLTBitMon_QueryRunRegistry::string, and ysize.
void TrackerMap::init | ( | void | ) |
Definition at line 440 of file TrackerMap.cc.
References addPixelFlag, build(), firstcall, firstRing, getlayerCount(), getmoduleCount(), getringCount(), gmaxvalue, gminvalue, isRingStereo(), ix, iy, crabWrapper::key, maxvalue, minvalue, module(), ndet, nlayer(), nlayers, npart, ntotRing, onlyPixelFlag, palette, posrel, printflag, relativeConstraints::ring, smoduleMap, and temporary_file.
Referenced by TrackerMap().
|
inlinestatic |
|
inline |
Definition at line 468 of file TrackerMap.h.
References alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Definition at line 433 of file TrackerMap.h.
void TrackerMap::load | ( | std::string | s = "tmap.svg" | ) |
Definition at line 2407 of file TrackerMap.cc.
References gather_cfg::cout, fill(), recoMuon::in, inputfile, mps_splice::line, AlCaHLTBitMon_QueryRunRegistry::string, heppy_batch::val, and relativeConstraints::value.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), onlyPixel(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
int TrackerMap::module | ( | int | fedId, |
int | fedCh | ||
) |
Definition at line 2697 of file TrackerMap.cc.
References apvMap, gather_cfg::cout, TmModule::idex, crabWrapper::key, and TmApvPair::mod.
Referenced by fillc(), getAutomaticRange(), init(), print(), printall(), printlayers(), printonline(), save(), and ~TrackerMap().
|
inline |
|
inline |
Definition at line 136 of file TrackerMap.h.
References load(), onlyPixelFlag, reset(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
void TrackerMap::print | ( | bool | print_total = true , |
float | minval = 0. , |
||
float | maxval = 0. , |
||
std::string | s = "svgmap" |
||
) |
Definition at line 2442 of file TrackerMap.cc.
References TmModule::count, defwindow(), drawModule(), drawPalette(), firstRing, recoMuon::in, jsfile, jsfilename, crabWrapper::key, mps_splice::line, maxvalue, minvalue, mod(), module(), TmModule::notInUse(), ntotRing, MillePedeFileConverter_cfg::out, printflag, relativeConstraints::ring, smoduleMap, AlCaHLTBitMon_QueryRunRegistry::string, svgfile, temporary_file, title, and TmModule::value.
Referenced by SiStripQualityStatistics::analyze(), SiStripCablingTrackerMap::endJob(), and SiStripQualityStatistics::EndJob().
void TrackerMap::printall | ( | bool | print_total = true , |
float | minval = 0. , |
||
float | maxval = 0. , |
||
std::string | s = "svgmap" , |
||
int | width = 6000 , |
||
int | height = 3200 |
||
) |
Definition at line 3188 of file TrackerMap.cc.
References apvMap, apvModuleMap, ccuMap, mps_check::command, gather_cfg::cout, enableFecProcessing, enableFedProcessing, enableHVProcessing, enableLVProcessing, fecModuleMap, l1t::stage2::layer2::fedId, fedMap, symbols::filetype, findfile(), firstcrate, firstRing, runEdmFileComparison::found, TmCcu::getCcuCrate(), TmApvPair::getFedCh(), TmApvPair::getFedId(), TmPsu::getPsuBoard(), TmPsu::getPsuRack(), TmPsu::idex, TmCcu::idex, TmApvPair::idex, TmModule::idex, crabWrapper::key, mps_splice::line, mod(), TmApvPair::mod, module(), TmCcu::mpos, TmModule::name, nchan, ncrates, nfeccrates, TmCcu::nmod, TmPsu::nmod, TmPsu::nmodHV2, TmPsu::nmodHV3, TmModule::notInUse(), npsuracks, ntotRing, haddnano::ofname, MillePedeFileConverter_cfg::out, createfilelist::outputfilename, funct::pow(), printlayers(), psuMap, psuModuleMap, relativeConstraints::ring, alignCSCRings::s, save(), save_as_fectrackermap(), save_as_fedtrackermap(), save_as_HVtrackermap(), save_as_psutrackermap(), saveGeoTrackerMap, saveWebInterface, smoduleMap, AlCaHLTBitMon_QueryRunRegistry::string, temporary_file, TmCcu::text, TmApvPair::text, TmPsu::text, TmPsu::textHV2, TmPsu::textHV3, title, tkMapLog, makeMuonMisalignmentScenario::txtfile, and ApeEstimator_cff::width.
void TrackerMap::printlayers | ( | bool | print_total = true , |
float | minval = 0. , |
||
float | maxval = 0. , |
||
std::string | s = "layer" |
||
) |
Definition at line 3536 of file TrackerMap.cc.
References TmModule::count, defwindow(), drawModule(), firstRing, crabWrapper::key, maxvalue, minvalue, mod(), module(), TmModule::notInUse(), ntotRing, MillePedeFileConverter_cfg::out, relativeConstraints::ring, saveAsSingleLayer, smoduleMap, TmModule::value, and makeMuonMisalignmentScenario::xmlfile.
Referenced by printall(), and printonline().