1 #ifndef DQM_SiStripCommon_TKHistoMap_h 2 #define DQM_SiStripCommon_TKHistoMap_h 24 bool mechanicalView =
false,
30 bool mechanicalView =
false);
64 bool dumpEntries =
false);
74 bool createTkMap =
true);
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)
const std::vector< MonitorElement * > & getAllMaps() const
void load(const TkDetMap *tkDetMap, const std::string &path, float baseline, bool mechanicalView, bool isTH2F, bool createTkMap=true)
std::vector< MonitorElement * > tkHistoMapVect
std::vector< MonitorElement * > tkHistoMap_
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
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
DetId getDetFromBin(int layer, int ix, int iy) const
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")
TkHistoMap(const TkDetMap *tkDetMap, DQMStore::IBooker &ibooker, const std::string &path, const std::string &MapName, float baseline=0, bool mechanicalView=false, bool isTH2F=false)
void loadTkHistoMap(const std::string &path, const std::string &MapName, bool mechanicalView=false)
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)