#include <CocoaToDDLMgr.h>
Public Member Functions | |
ALIint | buildRotationNumber (OpticalObject *opto) |
CocoaToDDLMgr () | |
void | lv (OpticalObject *opto) |
void | ma (CocoaMaterialElementary *ma) |
ALIbool | materialIsRepeated (CocoaMaterialElementary *ma) |
void | measurementsAsSpecPars () |
void | newPartPost (std::string name, std::string extension) |
void | newPartPre (std::string name) |
void | newSectPost (std::string name) |
void | newSectPost_lv (std::string name) |
void | newSectPost_ma (std::string name) |
void | newSectPost_pv (std::string name) |
void | newSectPost_ro (std::string name) |
void | newSectPost_so (std::string name) |
void | newSectPost_specPar (std::string name) |
void | newSectPre (std::string name, std::string type) |
void | newSectPre_lv (std::string name) |
void | newSectPre_ma (std::string name) |
void | newSectPre_pv (std::string name) |
void | newSectPre_ro (std::string name) |
void | newSectPre_so (std::string name) |
void | newSectPre_specPar (std::string name) |
void | pv (OpticalObject *opto) |
void | ro (const CLHEP::HepRotation &ro, int n) |
std::string | scrubString (const std::string &s) |
void | so (OpticalObject *opto) |
void | specPar (OpticalObject *opto) |
void | writeDDDFile (ALIstring filename) |
void | writeHeader (ALIstring filename) |
void | writeLogicalVolumes () |
void | writeMaterials () |
void | writePhysicalVolumes () |
void | writeRotations () |
void | writeSolids () |
void | writeSpecPars () |
void | writeSpecParsCocoa () |
~CocoaToDDLMgr () | |
Static Public Member Functions | |
static CocoaToDDLMgr * | getInstance () |
Private Attributes | |
ALIFileOut | file_ |
std::string | filename_ |
std::vector < CocoaMaterialElementary * > | theMaterialList |
std::vector< CLHEP::HepRotation > | theRotationList |
Static Private Attributes | |
static CocoaToDDLMgr * | instance = 0 |
Definition at line 26 of file CocoaToDDLMgr.h.
|
inline |
|
inline |
Definition at line 32 of file CocoaToDDLMgr.h.
ALIint CocoaToDDLMgr::buildRotationNumber | ( | OpticalObject * | opto | ) |
Definition at line 815 of file CocoaToDDLMgr.cc.
References OpticalObject::rmLocal(), and theRotationList.
Referenced by pv().
|
static |
void CocoaToDDLMgr::lv | ( | OpticalObject * | opto | ) |
Definition at line 466 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, file_, OpticalObject::getMaterial(), CocoaMaterialElementary::getName(), OpticalObject::name(), mergeVDriftHistosByStation::name, OpticalObject::shortName(), AlCaHLTBitMon_QueryRunRegistry::string, and OpticalObject::type().
Referenced by writeLogicalVolumes().
void CocoaToDDLMgr::ma | ( | CocoaMaterialElementary * | ma | ) |
g*cm3;
Definition at line 221 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, file_, CocoaMaterialElementary::getA(), CocoaMaterialElementary::getDensity(), CocoaMaterialElementary::getName(), CocoaMaterialElementary::getSymbol(), CocoaMaterialElementary::getZ(), theMaterialList, and UC.
Referenced by materialIsRepeated(), and writeMaterials().
ALIbool CocoaToDDLMgr::materialIsRepeated | ( | CocoaMaterialElementary * | ma | ) |
Definition at line 768 of file CocoaToDDLMgr.cc.
References ma(), and theMaterialList.
Referenced by writeMaterials().
void CocoaToDDLMgr::measurementsAsSpecPars | ( | ) |
Definition at line 677 of file CocoaToDDLMgr.cc.
References Measurement::dim(), file_, cuy::ii, Model::MeasurementList(), OpticalObject::name(), Measurement::name(), Measurement::OptONameList(), Measurement::sigma(), AlCaHLTBitMon_QueryRunRegistry::string, Measurement::type(), Measurement::value(), Measurement::valueIsSimulated(), and Measurement::valueType().
Referenced by writeSpecPars().
void CocoaToDDLMgr::newPartPost | ( | std::string | name, |
std::string | extension | ||
) |
void CocoaToDDLMgr::newPartPre | ( | std::string | name | ) |
Definition at line 184 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, file_, filename_, and mergeVDriftHistosByStation::name.
Referenced by writeHeader().
void CocoaToDDLMgr::newSectPost | ( | std::string | name | ) |
Definition at line 760 of file CocoaToDDLMgr.cc.
References file_.
Referenced by newSectPost_lv(), newSectPost_ma(), newSectPost_pv(), newSectPost_ro(), newSectPost_so(), and newSectPost_specPar().
void CocoaToDDLMgr::newSectPost_lv | ( | std::string | name | ) |
Definition at line 494 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, and newSectPost().
Referenced by writeLogicalVolumes().
void CocoaToDDLMgr::newSectPost_ma | ( | std::string | name | ) |
Definition at line 252 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, and newSectPost().
Referenced by writeMaterials().
void CocoaToDDLMgr::newSectPost_pv | ( | std::string | name | ) |
Definition at line 554 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, and newSectPost().
Referenced by writePhysicalVolumes().
void CocoaToDDLMgr::newSectPost_ro | ( | std::string | name | ) |
Definition at line 598 of file CocoaToDDLMgr.cc.
References newSectPost().
Referenced by writeRotations().
void CocoaToDDLMgr::newSectPost_so | ( | std::string | name | ) |
Definition at line 446 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, and newSectPost().
Referenced by writeSolids().
void CocoaToDDLMgr::newSectPost_specPar | ( | std::string | name | ) |
Definition at line 744 of file CocoaToDDLMgr.cc.
References newSectPost().
Referenced by writeSpecPars().
void CocoaToDDLMgr::newSectPre | ( | std::string | name, |
std::string | type | ||
) |
Definition at line 753 of file CocoaToDDLMgr.cc.
References file_.
Referenced by newSectPre_lv(), newSectPre_ma(), newSectPre_pv(), newSectPre_ro(), and newSectPre_so().
void CocoaToDDLMgr::newSectPre_lv | ( | std::string | name | ) |
Definition at line 457 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, filename_, newSectPre(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeLogicalVolumes().
void CocoaToDDLMgr::newSectPre_ma | ( | std::string | name | ) |
Definition at line 212 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, filename_, newSectPre(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeMaterials().
void CocoaToDDLMgr::newSectPre_pv | ( | std::string | name | ) |
Definition at line 505 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, filename_, newSectPre(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writePhysicalVolumes().
void CocoaToDDLMgr::newSectPre_ro | ( | std::string | name | ) |
Definition at line 565 of file CocoaToDDLMgr.cc.
References filename_, newSectPre(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeRotations().
void CocoaToDDLMgr::newSectPre_so | ( | std::string | name | ) |
Definition at line 263 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, filename_, newSectPre(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeSolids().
void CocoaToDDLMgr::newSectPre_specPar | ( | std::string | name | ) |
Definition at line 606 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, file_, and filename_.
Referenced by writeSpecPars().
void CocoaToDDLMgr::pv | ( | OpticalObject * | opto | ) |
Definition at line 514 of file CocoaToDDLMgr.cc.
References buildRotationNumber(), OpticalObject::centreLocal(), gather_cfg::cout, file_, OpticalObject::name(), OpticalObject::parent(), OpticalObject::shortName(), tree::t, and UC.
Referenced by writePhysicalVolumes().
void CocoaToDDLMgr::ro | ( | const CLHEP::HepRotation & | ro, |
int | n | ||
) |
Definition at line 572 of file CocoaToDDLMgr.cc.
References file_, GlobalPosition_Frontier_DevDB_cff::tag, and UC.
Referenced by writeRotations().
std::string CocoaToDDLMgr::scrubString | ( | const std::string & | s | ) |
Definition at line 784 of file CocoaToDDLMgr.cc.
References run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
void CocoaToDDLMgr::so | ( | OpticalObject * | opto | ) |
Definition at line 272 of file CocoaToDDLMgr.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, cppFunctionSkipper::exception, file_, CocoaSolidShapeTubs::getDeltaPhiAngle(), CocoaSolidShapeTubs::getInnerRadius(), CocoaSolidShapeTubs::getOuterRadius(), CocoaSolidShapeTubs::getStartPhiAngle(), CocoaSolidShape::getType(), CocoaSolidShapeBox::getXHalfLength(), CocoaSolidShapeBox::getYHalfLength(), CocoaSolidShapeTubs::getZHalfLength(), CocoaSolidShapeBox::getZHalfLength(), ALIFileOut::name(), mergeVDriftHistosByStation::name, AlCaHLTBitMon_QueryRunRegistry::string, and UC.
Referenced by writeSolids().
void CocoaToDDLMgr::specPar | ( | OpticalObject * | opto | ) |
Definition at line 618 of file CocoaToDDLMgr.cc.
References OpticalObject::CoordinateEntryList(), OpticalObject::ExtraEntryList(), file_, OpticalObject::getCmsswID(), cuy::ii, Entry::name(), OpticalObject::name(), Entry::quality(), Entry::sigma(), AlCaHLTBitMon_QueryRunRegistry::string, Entry::type(), OpticalObject::type(), UC, and Entry::value().
Referenced by writeSpecPars().
void CocoaToDDLMgr::writeDDDFile | ( | ALIstring | filename | ) |
Definition at line 34 of file CocoaToDDLMgr.cc.
References newPartPost(), writeHeader(), writeLogicalVolumes(), writeMaterials(), writePhysicalVolumes(), writeRotations(), writeSolids(), and writeSpecPars().
void CocoaToDDLMgr::writeHeader | ( | ALIstring | filename | ) |
Definition at line 63 of file CocoaToDDLMgr.cc.
References newPartPre().
Referenced by writeDDDFile().
void CocoaToDDLMgr::writeLogicalVolumes | ( | ) |
Definition at line 108 of file CocoaToDDLMgr.cc.
References lv(), newSectPost_lv(), newSectPre_lv(), and Model::OptOList().
Referenced by writeDDDFile().
void CocoaToDDLMgr::writeMaterials | ( | ) |
Definition at line 69 of file CocoaToDDLMgr.cc.
References ma(), materialIsRepeated(), newSectPost_ma(), newSectPre_ma(), and Model::OptOList().
Referenced by writeDDDFile().
void CocoaToDDLMgr::writePhysicalVolumes | ( | ) |
Definition at line 128 of file CocoaToDDLMgr.cc.
References newSectPost_pv(), newSectPre_pv(), Model::OptOList(), and pv().
Referenced by writeDDDFile().
void CocoaToDDLMgr::writeRotations | ( | ) |
Definition at line 144 of file CocoaToDDLMgr.cc.
References newSectPost_ro(), newSectPre_ro(), ro(), and theRotationList.
Referenced by writeDDDFile().
void CocoaToDDLMgr::writeSolids | ( | ) |
Definition at line 86 of file CocoaToDDLMgr.cc.
References gather_cfg::cout, newSectPost_so(), newSectPre_so(), Model::OptOList(), and so().
Referenced by writeDDDFile().
void CocoaToDDLMgr::writeSpecPars | ( | ) |
Definition at line 159 of file CocoaToDDLMgr.cc.
References measurementsAsSpecPars(), newSectPost_specPar(), newSectPre_specPar(), Model::OptOList(), specPar(), and writeSpecParsCocoa().
Referenced by writeDDDFile().
void CocoaToDDLMgr::writeSpecParsCocoa | ( | ) |
Definition at line 727 of file CocoaToDDLMgr.cc.
References file_, ALIFileOut::name(), and Model::OptOList().
Referenced by writeSpecPars().
|
private |
Definition at line 76 of file CocoaToDDLMgr.h.
Referenced by lv(), ma(), measurementsAsSpecPars(), newPartPost(), newPartPre(), newSectPost(), newSectPre(), newSectPre_specPar(), pv(), ro(), so(), specPar(), and writeSpecParsCocoa().
|
private |
Definition at line 77 of file CocoaToDDLMgr.h.
Referenced by newPartPre(), newSectPre_lv(), newSectPre_ma(), newSectPre_pv(), newSectPre_ro(), newSectPre_so(), and newSectPre_specPar().
|
staticprivate |
Definition at line 74 of file CocoaToDDLMgr.h.
Referenced by getInstance().
|
private |
Definition at line 79 of file CocoaToDDLMgr.h.
Referenced by ma(), and materialIsRepeated().
|
private |
Definition at line 80 of file CocoaToDDLMgr.h.
Referenced by buildRotationNumber(), and writeRotations().