#include <SiPixelTrackerMap.h>
Public Member Functions | |
void | drawModule (TmModule *mod, int key, int nlay, bool print_total) |
void | print (bool print_total=true, std::string TKType="Averages", float minval=0., float maxval=0.) |
SiPixelTrackerMap (std::string s=" ", int xsize1=340, int ysize1=200) | |
~SiPixelTrackerMap (void) | |
Public Member Functions inherited from TrackerMap | |
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=YFEDOFFSET+(YFEDCSIZE+YFEDOFFSET)*NUMFEDCRATE_INROW+300, int height=XFEDOFFSET+(XFEDCSIZE+XFEDOFFSET)*NUMFEDCRATE_INCOLUMN+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=YPSUOFFSET+(YPSURSIZE+YPSUOFFSET)*NUMPSURACK_INROW+300, int height=XPSUOFFSET+(XPSURSIZE+XPSUOFFSET)*NUMPSURACK_INCOLUMN+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) | |
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... | |
Private Attributes | |
int | dummy |
std::string | title |
Additional Inherited Members | |
Public Types inherited from TrackerMap | |
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 |
Static Public Member Functions inherited from TrackerMap | |
static bool | isRingStereo (int key) |
static int | layerno (int subdet, int leftright, int layer) |
Public Attributes inherited from TrackerMap | |
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 inherited from TrackerMap | |
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 |
Definition at line 23 of file SiPixelTrackerMap.h.
SiPixelTrackerMap::SiPixelTrackerMap | ( | std::string | s = " " , |
int | xsize1 = 340 , |
||
int | ysize1 = 200 |
||
) |
Definition at line 33 of file SiPixelTrackerMap.cc.
References alignCSCRings::s, and title.
|
inline |
Definition at line 30 of file SiPixelTrackerMap.h.
void SiPixelTrackerMap::drawModule | ( | TmModule * | mod, |
int | key, | ||
int | nlay, | ||
bool | print_total | ||
) |
Definition at line 43 of file SiPixelTrackerMap.cc.
References funct::cos(), edm::false, TmModule::idex, TmModule::idModule, TrackerMap::isRingStereo(), j, gen::k, TmModule::length, M_PI, edm::moduleName(), TmModule::name, np, phi, TrackerMap::phival(), TrackerMap::posrel, TmModule::posx, TmModule::posy, TmModule::posz, alignCSCRings::r, reco::return(), TmModule::ring, funct::sin(), mathSSE::sqrt(), TrackerMap::svgfile, TmModule::text, TmModule::width, TmModule::widthAtHalfLength, TrackerMap::xdpixel(), and TrackerMap::ydpixel().
Referenced by print().
void SiPixelTrackerMap::print | ( | bool | print_total = true , |
std::string | TKType = "Averages" , |
||
float | minval = 0. , |
||
float | maxval = 0. |
||
) |
Definition at line 229 of file SiPixelTrackerMap.cc.
References SiPixelContinuousPalette::b, TmModule::count, TrackerMap::defwindow(), drawModule(), TrackerMap::firstRing, SiPixelContinuousPalette::g, i, recoMuon::in, j, TrackerMap::jsfile, combine::key, geometryCSVtoXML::line, TrackerMap::maxvalue, TrackerMap::minvalue, mod(), TrackerMap::module(), TrackerMap::nlay, TmModule::notInUse(), TrackerMap::ntotRing, dbtoconf::out, SiPixelContinuousPalette::r, relativeConstraints::ring, TrackerMap::smoduleMap, TrackerMap::svgfile, title, TmModule::value, and relativeConstraints::value.
|
private |
Definition at line 43 of file SiPixelTrackerMap.h.
|
private |
Definition at line 44 of file SiPixelTrackerMap.h.
Referenced by cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), Vispa.Views.LineDecayView.LineDecayContainer::autolayout(), Vispa.Views.LineDecayView.LineDecayContainer::autolayoutThreadFinished(), python.rootplot.root2matplotlib.HistStack::bar(), python.rootplot.root2matplotlib.HistStack::bar3d(), python.rootplot.root2matplotlib.HistStack::barcluster(), python.rootplot.root2matplotlib.HistStack::barh(), python.rootplot.root2matplotlib.HistStack::barstack(), Vispa.Views.LineDecayView.LineDecayContainer::childFinishedAutolayouting(), python.rootplot.root2matplotlib.HistStack::errorbar(), python.rootplot.root2matplotlib.HistStack::errorbarh(), Formatter.SimpleHTMLFormatter::headers(), python.rootplot.root2matplotlib.HistStack::histstack(), Vispa.Gui.PortWidget.PortWidget::name(), print(), python.rootplot.root2matplotlib.Hist::show_titles(), SiPixelTrackerMap(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), python.rootplot.utilities.Hist2D::TH2F(), and python.rootplot.root2matplotlib.Hist2D::TH2F().