CMS 3D CMS Logo

Public Member Functions | Private Types | Private Member Functions | Private Attributes

TkHistoMap Class Reference

#include <TkHistoMap.h>

List of all members.

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)
MonitorElementgetMap (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

DQMStoredqmStore_
int HistoNumber
std::string MapName_
TkDetMaptkdetmap_
std::vector< MonitorElement * > tkHistoMap_

Detailed Description

Definition at line 13 of file TkHistoMap.h.


Member Typedef Documentation

typedef std::vector<MonitorElement*> TkHistoMap::tkHistoMapVect [private]

Definition at line 15 of file TkHistoMap.h.


Constructor & Destructor Documentation

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.

{};

Member Function Documentation

void TkHistoMap::add ( uint32_t &  detid,
float  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 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, LogTrace, tkdetmap_, tkHistoMap_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.

Referenced by SiStripQualityStatistics::analyze(), SiStripMonitorCluster::analyze(), APVShotsAnalyzer::analyze(), SiStripMonitorDigi::analyze(), SiStripDQMProfileToTkMapConverter::beginRun(), SiStripMonitorTrack::clusterInfos(), fillFromAscii(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripNoisesDQM::fillMEsForLayer(), SiStripPedestalsDQM::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.

                                                {
  ifstream file;
  file.open(filename.c_str());
  float value;
  uint32_t detid;
  while (file.good()){
    file >> detid >> value;
    fill(detid,value);
  }
  file.close();
}
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, 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().

{return getDetId(ME->getTitle(),ix,iy);}
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().

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]

Definition at line 34 of file TkHistoMap.h.

References MapName_.

Referenced by getDetId().

{return title.erase(0,MapName_.size()+1);}
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_.

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_, cmsCodeRules::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)
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, 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
}

Member Data Documentation

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().

std::vector<MonitorElement*> TkHistoMap::tkHistoMap_ [private]