50 sprintf(slayer,
"Layer_%i", DBlayer);
52 sprintf(sladder,
"Ladder_%02i", DBladder);
54 sprintf(smodule,
"Module_%i", DBmodule);
56 std::ostringstream sfolder;
60 sfolder <<
"/Shell_" << DBshell <<
"/" << slayer;
63 sfolder <<
"/" << sladder;
70 sfolder <<
"/" << smodule;
90 sprintf(slayer,
"Layer_%i", DBlayer);
92 sprintf(sladder,
"Ladder_%02i", DBladder);
94 sprintf(smodule,
"Module_%i", DBmodule);
96 std::ostringstream sfolder;
100 sfolder <<
"/Shell_" << DBshell <<
"/" << slayer;
103 sfolder <<
"/" << sladder;
110 sfolder <<
"/" << smodule;
138 sprintf(sdisk,
"Disk_%i", disk);
140 sprintf(sblade,
"Blade_%02i", blade);
142 sprintf(spanel,
"Panel_%i", panel);
144 sprintf(smodule,
"Module_%i",
module);
146 std::ostringstream sfolder;
148 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/HalfCylinder_" << side <<
"/" << sdisk;
150 sfolder <<
"/" << sblade;
153 sfolder <<
"/" << spanel <<
"/" << smodule;
178 sprintf(sdisk,
"Disk_%i", disk);
180 sprintf(sblade,
"Blade_%02i", blade);
182 sprintf(spanel,
"Panel_%i", panel);
184 sprintf(smodule,
"Module_%i",
module);
186 std::ostringstream sfolder;
188 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/HalfCylinder_" << side <<
"/" << sdisk;
190 sfolder <<
"/" << sblade;
193 sfolder <<
"/" << spanel <<
"/" << smodule;
206 throw cms::Exception(
"LogicError") <<
"[SiPixelFolderOrganizer::setModuleFolder] Not a Pixel detector "
214 const uint32_t &rawdetid,
239 sprintf(slayer,
"Layer_%i", DBlayer);
241 sprintf(sladder,
"Ladder_%02i", DBladder);
243 sprintf(smodule,
"Module_%i", DBmodule);
245 std::ostringstream sfolder;
249 sfolder <<
"/Shell_" << DBshell <<
"/" << slayer;
252 sfolder <<
"/" << sladder;
259 sfolder <<
"/" << smodule;
279 sprintf(slayer,
"Layer_%i", DBlayer);
281 sprintf(sladder,
"Ladder_%02i", DBladder);
283 sprintf(smodule,
"Module_%i", DBmodule);
285 std::ostringstream sfolder;
289 sfolder <<
"/Shell_" << DBshell <<
"/" << slayer;
292 sfolder <<
"/" << sladder;
299 sfolder <<
"/" << smodule;
327 sprintf(sdisk,
"Disk_%i", disk);
329 sprintf(sblade,
"Blade_%02i", blade);
331 sprintf(spanel,
"Panel_%i", panel);
333 sprintf(smodule,
"Module_%i",
module);
335 std::ostringstream sfolder;
337 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/HalfCylinder_" << side <<
"/" << sdisk;
339 sfolder <<
"/" << sblade;
342 sfolder <<
"/" << spanel <<
"/" << smodule;
367 sprintf(sdisk,
"Disk_%i", disk);
369 sprintf(sblade,
"Blade_%02i", blade);
371 sprintf(spanel,
"Panel_%i", panel);
373 sprintf(smodule,
"Module_%i",
module);
375 std::ostringstream sfolder;
377 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/HalfCylinder_" << side <<
"/" << sdisk;
379 sfolder <<
"/" << sblade;
382 sfolder <<
"/" << spanel <<
"/" << smodule;
395 throw cms::Exception(
"LogicError") <<
"[SiPixelFolderOrganizer::setModuleFolder] Not a Pixel detector "
403 std::string subDetectorFolder =
"AdditionalPixelErrors";
405 sprintf(sFed,
"FED_%i",
FedId);
406 std::ostringstream sfolder;
408 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/" << sFed;
416 std::string subDetectorFolder =
"AdditionalPixelErrors";
418 sprintf(sFed,
"FED_%i",
FedId);
419 std::ostringstream sfolder;
421 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/" << sFed;
440 sprintf(slayer,
"Layer_%i", DBlayer);
442 sprintf(sladder,
"Ladder_%02i", DBladder);
444 sprintf(smodule,
"Module_%i", DBmodule);
446 std::ostringstream sfolder;
447 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/Shell_" << DBshell <<
"/" << slayer <<
"/" << sladder;
452 sfolder <<
"/" << smodule;
453 path = sfolder.str();
470 sprintf(slayer,
"Layer_%i", DBlayer);
472 sprintf(sladder,
"Ladder_%02i", DBladder);
474 sprintf(smodule,
"Module_%i", DBmodule);
476 std::ostringstream sfolder;
477 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/Shell_" << DBshell <<
"/" << slayer <<
"/" << sladder;
482 sfolder <<
"/" << smodule;
483 path = sfolder.str();
501 sprintf(sdisk,
"Disk_%i", disk);
503 sprintf(sblade,
"Blade_%02i", blade);
505 sprintf(spanel,
"Panel_%i", panel);
507 sprintf(smodule,
"Module_%i",
module);
509 std::ostringstream sfolder;
510 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/HalfCylinder_" << side <<
"/" << sdisk <<
"/" << sblade
511 <<
"/" << spanel <<
"/" << smodule;
512 path = sfolder.str();
527 sprintf(sdisk,
"Disk_%i", disk);
529 sprintf(sblade,
"Blade_%02i", blade);
531 sprintf(spanel,
"Panel_%i", panel);
533 sprintf(smodule,
"Module_%i",
module);
535 std::ostringstream sfolder;
536 sfolder <<
topFolderName <<
"/" << subDetectorFolder <<
"/HalfCylinder_" << side <<
"/" << sdisk <<
"/" << sblade
537 <<
"/" << spanel <<
"/" << smodule;
538 path = sfolder.str();
544 throw cms::Exception(
"LogicError") <<
"[SiPixelFolderOrganizer::getModuleFolder] Not a Pixel detector "