#include <TkHistoMap.h>
Public Member Functions | |
void | add (uint32_t &detid, float value) |
void | dumpInTkMap (TrackerMap *tkmap, bool dumpEntries=false) |
void | fill (uint32_t &detid, float value) |
void | fillFromAscii (std::string filename) |
std::vector< MonitorElement * > & | getAllMaps () |
uint32_t | getDetId (std::string title, int ix, int iy) |
uint32_t | getDetId (int layer, int ix, int iy) |
uint32_t | getDetId (MonitorElement *ME, int ix, int iy) |
float | getEntries (uint32_t &detid) |
std::string | getLayerName (std::string title) |
uint16_t | getLayerNum (std::string layerName) |
MonitorElement * | getMap (short layerNumber) |
float | getValue (uint32_t &detid) |
void | loadServices () |
void | loadTkHistoMap (std::string path, std::string MapName, bool mechanicalView=false) |
void | save (std::string filename) |
void | saveAsCanvas (std::string filename, std::string options="", std::string mode="RECREATE") |
void | setBinContent (uint32_t &detid, float value) |
TkHistoMap (std::string path, std::string MapName, float baseline=0, bool mechanicalView=false) | |
TkHistoMap () | |
~TkHistoMap () | |
Private Types | |
typedef std::vector < MonitorElement * > | tkHistoMapVect |
Private Member Functions | |
void | createTkHistoMap (std::string &path, std::string &MapName, float &baseline, bool mechanicalView) |
std::string | folderDefinition (std::string &path, std::string &MapName, int layer, bool mechanicalView, std::string &fullName) |
Private Attributes | |
DQMStore * | dqmStore_ |
int | HistoNumber |
std::string | MapName_ |
TkDetMap * | tkdetmap_ |
std::vector< MonitorElement * > | tkHistoMap_ |
Definition at line 13 of file TkHistoMap.h.
typedef std::vector<MonitorElement*> TkHistoMap::tkHistoMapVect [private] |
Definition at line 15 of file TkHistoMap.h.
TkHistoMap::TkHistoMap | ( | std::string | path, |
std::string | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 13 of file TkHistoMap.cc.
References createTkHistoMap(), loadServices(), LogTrace, and MapName_.
: HistoNumber(35), MapName_(MapName) { LogTrace("TkHistoMap") <<"TkHistoMap::constructor with parameters"; loadServices(); createTkHistoMap(path,MapName_, baseline, mechanicalView); }
TkHistoMap::TkHistoMap | ( | ) |
Definition at line 6 of file TkHistoMap.cc.
References loadServices(), and LogTrace.
: HistoNumber(35){ LogTrace("TkHistoMap") <<"TkHistoMap::constructor without parameters"; loadServices(); }
TkHistoMap::~TkHistoMap | ( | ) | [inline] |
Definition at line 20 of file TkHistoMap.h.
{};
void TkHistoMap::add | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 163 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, LogTrace, setBinContent(), tkdetmap_, and tkHistoMap_.
Referenced by APVShotsAnalyzer::analyze(), SiStripMonitorMuonHLT::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), and SiStripMonitorTrack::clusterInfos().
{ #ifdef debug_TkHistoMap LogTrace("TkHistoMap") << "[TkHistoMap::add]"; #endif int16_t layer=tkdetmap_->FindLayer(detid); TkLayerMap::XYbin xybin = tkdetmap_->getXY(detid); setBinContent(detid,tkHistoMap_[layer]->getTProfile2D()->GetBinContent(tkHistoMap_[layer]->getTProfile2D()->GetBin(xybin.ix,xybin.iy))+value); }
void TkHistoMap::createTkHistoMap | ( | std::string & | path, |
std::string & | MapName, | ||
float & | baseline, | ||
bool | mechanicalView | ||
) | [private] |
Definition at line 64 of file TkHistoMap.cc.
References DQMStore::bookProfile2D(), dqmStore_, MonitorElement::Fill(), folderDefinition(), newFWLiteAna::fullName, TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, LogTrace, tkdetmap_, and tkHistoMap_.
Referenced by TkHistoMap().
{ int nchX; int nchY; double lowX,highX; double lowY, highY; std::string fullName, folder; tkHistoMap_.resize(HistoNumber); for(int layer=1;layer<HistoNumber;++layer){ folder=folderDefinition(path,MapName,layer,mechanicalView,fullName); tkdetmap_->getComponents(layer,nchX,lowX,highX,nchY,lowY,highY); MonitorElement* me = dqmStore_->bookProfile2D(fullName.c_str(),fullName.c_str(), nchX,lowX,highX, nchY,lowY,highY, 0.0, 0.0); //initialize bin content for the not assigned bins if(baseline!=0){ for(size_t ix = 1; ix <= (unsigned int) nchX; ++ix) for(size_t iy = 1;iy <= (unsigned int) nchY; ++iy) if(!tkdetmap_->getDetFromBin(layer,ix,iy)) me->Fill(1.*(lowX+ix-.5),1.*(lowY+iy-.5),baseline); } tkHistoMap_[layer]=me; #ifdef debug_TkHistoMap LogTrace("TkHistoMap") << "[TkHistoMap::createTkHistoMap] folder " << folder << " histoName " << fullName << " layer " << layer << " ptr " << tkHistoMap_[layer]; #endif } }
void TkHistoMap::dumpInTkMap | ( | TrackerMap * | tkmap, |
bool | dumpEntries = false |
||
) |
Definition at line 184 of file TkHistoMap.cc.
References TrackerMap::fill(), TkDetMap::getDetsForLayer(), getEntries(), getValue(), HistoNumber, i, and tkdetmap_.
Referenced by TkVoltageMapCreator::beginRun(), and APVShotsAnalyzer::endJob().
{ for(int layer=1;layer<HistoNumber;++layer){ std::vector<uint32_t> dets; tkdetmap_->getDetsForLayer(layer,dets); for(size_t i=0;i<dets.size();++i){ if(dets[i]>0){ if(getEntries(dets[i])>0) { tkmap->fill(dets[i], dumpEntries ? getEntries(dets[i]) : getValue(dets[i]) ); } } } } }
void TkHistoMap::fill | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 130 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, findQualityFiles::jj, LogTrace, tkdetmap_, tkHistoMap_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by SiStripQualityStatistics::analyze(), SiStripMonitorCluster::analyze(), APVShotsAnalyzer::analyze(), SiStripMonitorDigi::analyze(), SiStripDQMProfileToTkMapConverter::beginRun(), TkVoltageMapCreator::beginRun(), SiStripMonitorTrack::clusterInfos(), SiStripMonitorDigi::FillApvShotsMap(), fillFromAscii(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripNoisesDQM::fillMEsForLayer(), and SiStripCablingDQM::getActiveDetIds().
{ int16_t layer=tkdetmap_->FindLayer(detid); TkLayerMap::XYbin xybin = tkdetmap_->getXY(detid); #ifdef debug_TkHistoMap LogTrace("TkHistoMap") << "[TkHistoMap::fill] Fill detid " << detid << " Layer " << layer << " value " << value << " ix,iy " << xybin.ix << " " << xybin.iy << " " << xybin.x << " " << xybin.y << " " << tkHistoMap_[layer]->getTProfile2D()->GetName(); #endif tkHistoMap_[layer]->getTProfile2D()->Fill(xybin.x,xybin.y,value); #ifdef debug_TkHistoMap LogTrace("TkHistoMap") << "[TkHistoMap::fill] " << tkHistoMap_[layer]->getTProfile2D()->GetBinContent(xybin.ix,xybin.iy); for(size_t ii=0;ii<4;ii++) for(size_t jj=0;jj<11;jj++) LogTrace("TkHistoMap") << "[TkHistoMap::fill] " << ii << " " << jj << " " << tkHistoMap_[layer]->getTProfile2D()->GetBinContent(ii,jj); #endif }
void TkHistoMap::fillFromAscii | ( | std::string | filename | ) |
Definition at line 118 of file TkHistoMap.cc.
References cond::rpcobgas::detid, mergeVDriftHistosByStation::file, fill(), and relativeConstraints::value.
std::string TkHistoMap::folderDefinition | ( | std::string & | path, |
std::string & | MapName, | ||
int | layer, | ||
bool | mechanicalView, | ||
std::string & | fullName | ||
) | [private] |
Definition at line 95 of file TkHistoMap.cc.
References dqmStore_, TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), mergeVDriftHistosByStation::name, getHLTPrescaleColumns::path, DQMStore::setCurrentFolder(), and tkdetmap_.
Referenced by createTkHistoMap(), and loadTkHistoMap().
{ std::string folder=path; std::string name=MapName+std::string("_"); fullName=name+tkdetmap_->getLayerName(layer); if(mechanicalView){ std::stringstream ss; SiStripFolderOrganizer folderOrg; SiStripDetId::SubDetector subDet; uint32_t subdetlayer, side; tkdetmap_->getSubDetLayerSide(layer,subDet,subdetlayer,side); folderOrg.getSubDetLayerFolderName(ss,subDet,subdetlayer,side); folder = ss.str(); } dqmStore_->setCurrentFolder(folder); return folder; }
std::vector<MonitorElement*>& TkHistoMap::getAllMaps | ( | ) | [inline] |
Definition at line 27 of file TkHistoMap.h.
References tkHistoMap_.
Referenced by BuildTrackerMapPlugin::subtractMap().
{return tkHistoMap_;};
uint32_t TkHistoMap::getDetId | ( | MonitorElement * | ME, |
int | ix, | ||
int | iy | ||
) | [inline] |
Definition at line 33 of file TkHistoMap.h.
References getDetId(), and MonitorElement::getTitle().
Referenced by getDetId().
uint32_t TkHistoMap::getDetId | ( | int | layer, |
int | ix, | ||
int | iy | ||
) | [inline] |
Definition at line 32 of file TkHistoMap.h.
References TkDetMap::getDetFromBin(), and tkdetmap_.
{return tkdetmap_->getDetFromBin(layer,ix,iy);}
uint32_t TkHistoMap::getDetId | ( | std::string | title, |
int | ix, | ||
int | iy | ||
) | [inline] |
Definition at line 31 of file TkHistoMap.h.
References getDetId(), getLayerName(), and getLayerNum().
Referenced by getDetId().
{return getDetId(getLayerNum(getLayerName(title)),ix,iy);}
float TkHistoMap::getEntries | ( | uint32_t & | detid | ) |
Definition at line 178 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
{ int16_t layer=tkdetmap_->FindLayer(detid); TkLayerMap::XYbin xybin = tkdetmap_->getXY(detid); return tkHistoMap_[layer]->getTProfile2D()->GetBinEntries(tkHistoMap_[layer]->getTProfile2D()->GetBin(xybin.ix,xybin.iy)); }
std::string TkHistoMap::getLayerName | ( | std::string | title | ) | [inline] |
uint16_t TkHistoMap::getLayerNum | ( | std::string | layerName | ) | [inline] |
Definition at line 35 of file TkHistoMap.h.
References TkDetMap::getLayerNum(), and tkdetmap_.
Referenced by getDetId().
{return tkdetmap_->getLayerNum(layerName);}
MonitorElement* TkHistoMap::getMap | ( | short | layerNumber | ) | [inline] |
Definition at line 26 of file TkHistoMap.h.
References align::tib::layerNumber(), and tkHistoMap_.
{return tkHistoMap_[layerNumber];};
float TkHistoMap::getValue | ( | uint32_t & | detid | ) |
Definition at line 173 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
{ int16_t layer=tkdetmap_->FindLayer(detid); TkLayerMap::XYbin xybin = tkdetmap_->getXY(detid); return tkHistoMap_[layer]->getTProfile2D()->GetBinContent(tkHistoMap_[layer]->getTProfile2D()->GetBin(xybin.ix,xybin.iy)); }
void TkHistoMap::loadServices | ( | ) |
Definition at line 22 of file TkHistoMap.cc.
References dqmStore_, cppFunctionSkipper::operator, and tkdetmap_.
Referenced by TkHistoMap().
{ if(!edm::Service<DQMStore>().isAvailable()){ edm::LogError("TkHistoMap") << "\n------------------------------------------" "\nUnAvailable Service DQMStore: please insert in the configuration file an instance like" "\n\tprocess.load(\"DQMServices.Core.DQMStore_cfg\")" "\n------------------------------------------"; } dqmStore_=edm::Service<DQMStore>().operator->(); if(!edm::Service<TkDetMap>().isAvailable()){ edm::LogError("TkHistoMap") << "\n------------------------------------------" "\nUnAvailable Service TkHistoMap: please insert in the configuration file an instance like" "\n\tprocess.TkDetMap = cms.Service(\"TkDetMap\")" "\n------------------------------------------"; } tkdetmap_=edm::Service<TkDetMap>().operator->(); }
void TkHistoMap::loadTkHistoMap | ( | std::string | path, |
std::string | MapName, | ||
bool | mechanicalView = false |
||
) |
Definition at line 45 of file TkHistoMap.cc.
References dqmStore_, folderDefinition(), newFWLiteAna::fullName, DQMStore::get(), HistoNumber, LogTrace, MapName_, and tkHistoMap_.
{ MapName_=MapName; std::string fullName, folder; tkHistoMap_.resize(HistoNumber); for(int layer=1;layer<HistoNumber;++layer){ folder=folderDefinition(path,MapName_,layer,mechanicalView,fullName); #ifdef debug_TkHistoMap LogTrace("TkHistoMap") << "[TkHistoMap::loadTkHistoMap] folder " << folder << " histoName " << fullName << " find " << folder.find_last_of("/") << " length " << folder.length(); #endif if(folder.find_last_of("/")!=folder.length()-1) folder+="/"; tkHistoMap_[layer]=dqmStore_->get(folder+fullName); #ifdef debug_TkHistoMap LogTrace("TkHistoMap") << "[TkHistoMap::loadTkHistoMap] folder " << folder << " histoName " << fullName << " layer " << layer << " ptr " << tkHistoMap_[layer] << " find " << folder.find_last_of("/") << " length " << folder.length(); #endif } }
void TkHistoMap::save | ( | std::string | filename | ) |
Definition at line 41 of file TkHistoMap.cc.
References dqmStore_, and DQMStore::save().
Referenced by TkVoltageMapCreator::beginRun(), SiStripDQMProfileToTkMapConverter::endJob(), SiStripQualityStatistics::endJob(), and APVShotsAnalyzer::endJob().
void TkHistoMap::saveAsCanvas | ( | std::string | filename, |
std::string | options = "" , |
||
std::string | mode = "RECREATE" |
||
) |
Definition at line 202 of file TkHistoMap.cc.
References f, i, MapName_, TkLayerMap::TECM_W1, TkLayerMap::TECM_W2, TkLayerMap::TECM_W3, TkLayerMap::TECM_W4, TkLayerMap::TECM_W5, TkLayerMap::TECM_W6, TkLayerMap::TECM_W7, TkLayerMap::TECM_W8, TkLayerMap::TECM_W9, TkLayerMap::TECP_W1, TkLayerMap::TECP_W2, TkLayerMap::TECP_W3, TkLayerMap::TECP_W4, TkLayerMap::TECP_W5, TkLayerMap::TECP_W6, TkLayerMap::TECP_W7, TkLayerMap::TECP_W8, TkLayerMap::TECP_W9, TkLayerMap::TIB_L1, TkLayerMap::TIB_L2, TkLayerMap::TIB_L3, TkLayerMap::TIB_L4, TkLayerMap::TIDM_D1, TkLayerMap::TIDM_D2, TkLayerMap::TIDM_D3, TkLayerMap::TIDP_D1, TkLayerMap::TIDP_D2, TkLayerMap::TIDP_D3, tkHistoMap_, TkLayerMap::TOB_L1, TkLayerMap::TOB_L2, TkLayerMap::TOB_L3, TkLayerMap::TOB_L4, TkLayerMap::TOB_L5, and TkLayerMap::TOB_L6.
Referenced by SiStripDQMProfileToTkMapConverter::endJob(), and SiStripQualityStatistics::endJob().
{ // TCanvas C(MapName_,MapName_,200,10,900,700); TCanvas* CTIB=new TCanvas(std::string("Canvas_"+MapName_+"TIB").c_str(),std::string("Canvas_"+MapName_+"TIB").c_str()); TCanvas* CTOB=new TCanvas(std::string("Canvas_"+MapName_+"TOB").c_str(),std::string("Canvas_"+MapName_+"TOB").c_str()); TCanvas* CTIDP=new TCanvas(std::string("Canvas_"+MapName_+"TIDP").c_str(),std::string("Canvas_"+MapName_+"TIDP").c_str()); TCanvas* CTIDM=new TCanvas(std::string("Canvas_"+MapName_+"TIDM").c_str(),std::string("Canvas_"+MapName_+"TIDM").c_str()); TCanvas* CTECP=new TCanvas(std::string("Canvas_"+MapName_+"TECP").c_str(),std::string("Canvas_"+MapName_+"TECP").c_str()); TCanvas* CTECM=new TCanvas(std::string("Canvas_"+MapName_+"TECM").c_str(),std::string("Canvas_"+MapName_+"TECM").c_str()); CTIB->Divide(2,2); CTOB->Divide(2,3); CTIDP->Divide(1,3); CTIDM->Divide(1,3); CTECP->Divide(3,3); CTECM->Divide(3,3); int i; i=0; CTIB->cd(++i);tkHistoMap_[TkLayerMap::TIB_L1]->getTProfile2D()->Draw(options.c_str()); CTIB->cd(++i);tkHistoMap_[TkLayerMap::TIB_L2]->getTProfile2D()->Draw(options.c_str()); CTIB->cd(++i);tkHistoMap_[TkLayerMap::TIB_L3]->getTProfile2D()->Draw(options.c_str()); CTIB->cd(++i);tkHistoMap_[TkLayerMap::TIB_L4]->getTProfile2D()->Draw(options.c_str()); i=0; CTIDP->cd(++i);tkHistoMap_[TkLayerMap::TIDP_D1]->getTProfile2D()->Draw(options.c_str()); CTIDP->cd(++i);tkHistoMap_[TkLayerMap::TIDP_D2]->getTProfile2D()->Draw(options.c_str()); CTIDP->cd(++i);tkHistoMap_[TkLayerMap::TIDP_D3]->getTProfile2D()->Draw(options.c_str()); i=0; CTIDM->cd(++i);tkHistoMap_[TkLayerMap::TIDM_D1]->getTProfile2D()->Draw(options.c_str()); CTIDM->cd(++i);tkHistoMap_[TkLayerMap::TIDM_D2]->getTProfile2D()->Draw(options.c_str()); CTIDM->cd(++i);tkHistoMap_[TkLayerMap::TIDM_D3]->getTProfile2D()->Draw(options.c_str()); i=0; CTOB->cd(++i);tkHistoMap_[TkLayerMap::TOB_L1]->getTProfile2D()->Draw(options.c_str()); CTOB->cd(++i);tkHistoMap_[TkLayerMap::TOB_L2]->getTProfile2D()->Draw(options.c_str()); CTOB->cd(++i);tkHistoMap_[TkLayerMap::TOB_L3]->getTProfile2D()->Draw(options.c_str()); CTOB->cd(++i);tkHistoMap_[TkLayerMap::TOB_L4]->getTProfile2D()->Draw(options.c_str()); CTOB->cd(++i);tkHistoMap_[TkLayerMap::TOB_L5]->getTProfile2D()->Draw(options.c_str()); CTOB->cd(++i);tkHistoMap_[TkLayerMap::TOB_L6]->getTProfile2D()->Draw(options.c_str()); i=0; CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W1]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W2]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W3]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W4]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W5]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W6]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W7]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W8]->getTProfile2D()->Draw(options.c_str()); CTECP->cd(++i);tkHistoMap_[TkLayerMap::TECP_W9]->getTProfile2D()->Draw(options.c_str()); i=0; CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W1]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W2]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W3]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W4]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W5]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W6]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W7]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W8]->getTProfile2D()->Draw(options.c_str()); CTECM->cd(++i);tkHistoMap_[TkLayerMap::TECM_W9]->getTProfile2D()->Draw(options.c_str()); TFile *f = new TFile(filename.c_str(),mode.c_str()); CTIB->Write(); CTIDP->Write(); CTIDM->Write(); CTOB->Write(); CTECP->Write(); CTECM->Write(); f->Close(); delete f; }
void TkHistoMap::setBinContent | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 146 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, findQualityFiles::jj, LogTrace, tkdetmap_, tkHistoMap_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by add(), SiStripApvGainsDQM::fillMEsForLayer(), and SiStripQualityDQM::fillMEsForLayer().
{ int16_t layer=tkdetmap_->FindLayer(detid); TkLayerMap::XYbin xybin = tkdetmap_->getXY(detid); tkHistoMap_[layer]->getTProfile2D()->SetBinEntries(tkHistoMap_[layer]->getTProfile2D()->GetBin(xybin.ix,xybin.iy),1); tkHistoMap_[layer]->getTProfile2D()->SetBinContent(tkHistoMap_[layer]->getTProfile2D()->GetBin(xybin.ix,xybin.iy),value); #ifdef debug_TkHistoMap LogTrace("TkHistoMap") << "[TkHistoMap::setbincontent] setBinContent detid " << detid << " Layer " << layer << " value " << value << " ix,iy " << xybin.ix << " " << xybin.iy << " " << xybin.x << " " << xybin.y << " " << tkHistoMap_[layer]->getTProfile2D()->GetName() << " bin " << tkHistoMap_[layer]->getTProfile2D()->GetBin(xybin.ix,xybin.iy); LogTrace("TkHistoMap") << "[TkHistoMap::setbincontent] " << tkHistoMap_[layer]->getTProfile2D()->GetBinContent(xybin.ix,xybin.iy); for(size_t ii=0;ii<4;ii++) for(size_t jj=0;jj<11;jj++){ LogTrace("TkHistoMap") << "[TkHistoMap::setbincontent] " << ii << " " << jj << " " << tkHistoMap_[layer]->getTProfile2D()->GetBinContent(ii,jj); } #endif }
DQMStore* TkHistoMap::dqmStore_ [private] |
Definition at line 51 of file TkHistoMap.h.
Referenced by createTkHistoMap(), folderDefinition(), loadServices(), loadTkHistoMap(), and save().
int TkHistoMap::HistoNumber [private] |
Definition at line 54 of file TkHistoMap.h.
Referenced by createTkHistoMap(), dumpInTkMap(), and loadTkHistoMap().
std::string TkHistoMap::MapName_ [private] |
Definition at line 55 of file TkHistoMap.h.
Referenced by getLayerName(), loadTkHistoMap(), saveAsCanvas(), and TkHistoMap().
TkDetMap* TkHistoMap::tkdetmap_ [private] |
Definition at line 52 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), dumpInTkMap(), fill(), folderDefinition(), getDetId(), getEntries(), getLayerNum(), getValue(), loadServices(), and setBinContent().
std::vector<MonitorElement*> TkHistoMap::tkHistoMap_ [private] |
Definition at line 53 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), fill(), getAllMaps(), getEntries(), getMap(), getValue(), loadTkHistoMap(), saveAsCanvas(), and setBinContent().