65 vector<MonitorElement*> mEList ;
66 map<string, int> mEHash ;
68 infoExtractor_->selectMEList(bei, mEName, mEList) ;
69 infoExtractor_->getMEList( bei, mEHash) ;
71 int nImages = mEHash.size() ;
73 for(vector<MonitorElement*>::iterator it=mEList.begin(); it!=mEList.end(); it++)
78 trackerMap->print(
true, TKType);
82 innerFrame.open(
"rightEmbedded.html",
ios::out );
87 <<
"[SiPixelTrackerMapCreator::create()] "
89 <<
"Could not open rightEmbedded.html"
95 innerFrame <<
"<html> " <<
"\n"
97 <<
" Author: D. Menasce " <<
"\n"
98 <<
" Pixel Tracker Map " <<
"\n"
101 <<
"<meta http-equiv='pragma' " <<
"\n"
102 <<
" content ='no-cache'> " <<
"\n"
105 <<
" <link rel = 'stylesheet' " <<
"\n"
106 <<
" type = 'text/css' " <<
"\n"
107 <<
" href = 'css_files/wz_dragdrop.css>' " <<
"\n"
108 <<
" <link rel = 'stylesheet' " <<
"\n"
109 <<
" type = 'text/css' " <<
"\n"
110 <<
" href = 'css_files/magnifier.css'> " <<
"\n"
111 <<
" <script type = 'text/javascript' " <<
"\n"
112 <<
" src = 'js_files/magnifier.js'> " <<
"\n"
113 <<
" </script> " <<
"\n"
114 <<
" <script type = 'text/javascript' " <<
"\n"
115 <<
" src = 'js_files/wz_dragdrop.js'> " <<
"\n"
116 <<
" </script> " <<
"\n"
117 <<
" <script type = 'text/javascript' " <<
"\n"
118 <<
" src = 'js_files/DMLibrary.js'> " <<
"\n"
119 <<
" </script> " <<
"\n"
121 <<
"</head> " <<
"\n"
123 <<
"<body bgcolor='#414141'> " <<
"\n"
125 <<
" <center> " <<
"\n"
127 for(
int img=1; img<=nImages; img++)
129 stringstream sId, sNm ;
130 sId.str(
""); sId <<
"binding" << img ;
131 sNm.str(
""); sNm <<
"baseImage" << img ;
132 string sid = sId.str() ;
133 string snm = sNm.str() ;
134 innerFrame <<
" <div id = 'binding' " <<
"\n"
135 <<
" name = '" << sid <<
"'> " <<
"\n"
136 <<
" <img id = '" << snm <<
"' " <<
"\n"
137 <<
" name = '" << snm <<
"' " <<
"\n"
138 <<
" src = 'images/EmptyPlot.png' " <<
"\n"
139 <<
" alt = 'picture geometry:800x600' " <<
"\n"
140 <<
" onload = 'RightEmbedded.innerLoading(\"" << sid <<
"\",\"" << snm <<
"\")'" <<
"\n"
141 <<
" onclick = 'RightEmbedded.innerTransport(event)' " <<
"\n"
142 <<
" onmouseover = 'this.T_SHADOWWIDTH=4; " <<
"\n"
143 <<
" this.T_OPACITY =70; " <<
"\n"
144 <<
" this.T_FONTCOLOR =\"#000000\"; " <<
"\n"
145 <<
" this.T_WIDTH =200; " <<
"\n"
146 <<
" return escape(\"Click to send to pan/zoom area\")' " <<
"\n"
147 <<
" width = '267' " <<
"\n"
148 <<
" height = '200' /> " <<
"\n"
149 <<
" </div> " << endl ;
151 innerFrame <<
" " <<
"\n"
152 <<
"</center> " <<
"\n"
154 <<
"<script type = 'text/javascript' " <<
"\n"
155 <<
" src = 'js_files/rightEmbedded.js'> " <<
"\n"
156 <<
"</script> " <<
"\n"
158 <<
"<script type='text/javascript' " <<
"\n"
159 <<
" src ='js_files/wz_tooltip.js'> " <<
"\n"
160 <<
"</script> " <<
"\n"
161 <<
"</html> " << endl ;
182 <<
"[SiPixelTrackerMapCreator::create()] "
184 <<
"List of histograms in"
194 for (vector<string>::const_iterator it = histoList.begin(); it != histoList.end(); it++)
197 <<
"[SiPixelTrackerMapCreator::create()] "
208 for (vector<string>::const_iterator it = subDirs.begin(); it != subDirs.end(); it++)
212 <<
"[SiPixelTrackerMapCreator::create()] "
220 exploreBeiStructure(bei);
223 <<
"[SiPixelTrackerMapCreator::create()] "
std::vector< std::string > getSubdirs(void) const
~SiPixelTrackerMapCreator()
SiPixelTrackerMapCreator(std::string themEName, std::string theTKType, bool offlineXMLfile)
void cd(void)
go to top directory (ie. root)
bool exploreBeiStructure(DQMStore *bei)
void create(DQMStore *bei)
(Documentation under construction).
void paintTkMap(MonitorElement *mE)
std::vector< std::string > getMEs(void) const
get list of (non-dir) MEs of current directory
void goUp(void)
equivalent to "cd .."
const std::string & pwd(void) const