1 #ifndef DQM_SiStripCommon_TKHistoMap_h
2 #define DQM_SiStripCommon_TKHistoMap_h
24 bool mechanicalView =
false);
29 bool mechanicalView =
false);
63 bool dumpEntries =
false);
73 bool createTkMap =
true);
virtual std::string getTitle() const
get MonitorElement title
constexpr char const * layerName[numberOfLayers]
void setBinContent(DetId detid, float value)
std::vector< MonitorElement * > & getAllMaps()
DetId getDetId(const MonitorElement *ME, int ix, int iy)
void fillFromAscii(const std::string &filename)
void load(const TkDetMap *tkDetMap, const std::string &path, float baseline, bool mechanicalView, bool isTH2F, bool createTkMap=true)
std::vector< MonitorElement * > tkHistoMapVect
const std::vector< MonitorElement * > & getAllMaps() const
constexpr std::array< uint8_t, layerIndexSize > layer
std::vector< MonitorElement * > tkHistoMap_
std::string getLayerName(std::string title)
static int getLayerNum(const std::string &in)
DetId getDetId(int layer, int ix, int iy)
void save(const std::string &filename)
dqm::legacy::MonitorElement MonitorElement
void createTkHistoMap(DQMStore::IBooker &ibooker, const std::string &path, const std::string &MapName, float baseline, bool mechanicalView)
TkLayerMap::XYbin cached_XYbin
TkHistoMap(const TkDetMap *tkDetMap, DQMStore::IBooker &ibooker, const std::string &path, const std::string &MapName, float baseline=0, bool mechanicalView=false)
dqm::legacy::DQMStore DQMStore
void dumpInTkMap(TrackerMap *tkmap, bool dumpEntries=false)
MonitorElement * getMap(short layerNumber)
DetId getDetId(const std::string &title, int ix, int iy)
void fill(DetId detid, float value)
uint16_t getLayerNum(const std::string &layerName)
const TkDetMap * tkdetmap_
void saveAsCanvas(const std::string &filename, const std::string &options="", const std::string &mode="RECREATE")
void loadTkHistoMap(const std::string &path, const std::string &MapName, bool mechanicalView=false)
DetId getDetFromBin(int layer, int ix, int iy) const
void add(DetId detid, float value)
float getEntries(DetId detid)
float getValue(DetId detid)
std::string folderDefinition(DQMStore::IBooker &ibooker, std::string folder, const std::string &MapName, int layer, bool mechanicalView, std::string &fullName)