#include <OptOCOPS.h>
Public Member Functions | |
void | constructSolidShape () override |
ALIdouble * | convertPointToLocalCoordinates (const CLHEP::Hep3Vector &point) |
void | defaultBehaviour (LightRay &lightray, Measurement &meas) override |
void | fastTraversesLightRay (LightRay &lightray) override |
void | makeMeasurement (LightRay &lightray, Measurement &meas) override |
OptOCOPS () | |
OptOCOPS (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
~OptOCOPS () override | |
Public Member Functions inherited from OpticalObject | |
void | addCoordinateEntryToList (Entry *entry) |
void | addExtraEntryToList (Entry *entry) |
void | addExtraEntryValueOriginalOriginalToList (ALIdouble entry_value) |
void | addExtraEntryValueOriginalToList (ALIdouble entry_value) |
void | addExtraEntryValueToList (ALIdouble entry_value) |
double | addPii (double val) |
double | approxTo0 (double val) |
CLHEP::HepRotation | buildRmFromEntryValuesOriginalOriginal () |
const CLHEP::Hep3Vector & | centreGlob () const |
const CLHEP::Hep3Vector & | centreGlobal () const |
const CLHEP::Hep3Vector & | centreGlobOriginal () const |
const CLHEP::Hep3Vector & | centreGlobOriginalOriginal () const |
const CLHEP::Hep3Vector | centreLocal () const |
int | checkMatrixEquations (double angleX, double angleY, double angleZ, CLHEP::HepRotation *rot=nullptr) |
void | construct () |
void | constructFromOptAligInfo (const OpticalAlignInfo &oaInfo) |
virtual void | constructMaterial () |
const std::vector< Entry * > & | CoordinateEntryList () const |
void | createComponentOptOsFromOptAlignInfo () |
virtual void | detailedDeviatesLightRay (LightRay &lightray) |
virtual void | detailedTraversesLightRay (LightRay &lightray) |
double | diff2pi (double ang1, double ang2) |
void | displaceCentreGlob (const XYZcoor coor, const ALIdouble disp) |
void | displaceCentreGlob (const CLHEP::Hep3Vector &dispVec) |
void | displaceCentreGlobOriginal (const XYZcoor coor, const ALIdouble disp) |
void | displaceCentreGlobOriginal (const CLHEP::Hep3Vector &dispVec) |
void | displaceCentreGlobOriginalOriginal (const XYZcoor coor, const ALIdouble disp) |
void | displaceCentreGlobOriginalOriginal (const CLHEP::Hep3Vector &dispVec) |
void | displaceExtraEntry (const ALIuint entryNo, const ALIdouble disp) |
void | displaceExtraEntryOriginal (const ALIuint entryNo, const ALIdouble disp) |
void | displaceExtraEntryOriginalOriginal (const ALIuint entryNo, const ALIdouble disp) |
void | displaceRmGlobAroundGlobal (OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
void | displaceRmGlobAroundLocal (OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
void | displaceRmGlobOriginal (const OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
void | displaceRmGlobOriginalOriginal (const OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
bool | eq2ang (double ang1, double ang2) |
const std::vector< Entry * > & | ExtraEntryList () const |
const ALIint | extraEntryNo (const ALIstring &entry_name) const |
std::vector< ALIdouble > & | ExtraEntryValueList () |
const std::vector< ALIdouble > & | ExtraEntryValueOriginalList () |
const std::vector< ALIdouble > & | ExtraEntryValueOriginalOriginalList () |
virtual void | fastDeviatesLightRay (LightRay &lightray) |
virtual void | fillIguana () |
virtual void | fillVRML () |
const ALIdouble | findExtraEntryValue (const ALIstring &eename) const |
const ALIbool | findExtraEntryValueIfExists (const ALIstring &eename, ALIdouble &value) const |
const ALIdouble | findExtraEntryValueMustExist (const ALIstring &eename) const |
const ALIuint | getCmsswID () const |
std::vector< ALIstring > | getCoordinateFromOptAlignParam (const OpticalAlignParam &oaParam) |
CLHEP::Hep3Vector | getDisplacementInLocalCoordinates (const XYZcoor coor, const ALIdouble disp) |
const double | getEntryCentre (const XYZcoor coor) const |
const double | getEntryCentre (const ALIstring &coor) const |
const double | getEntryRMangle (const XYZcoor coor) const |
const double | getEntryRMangle (const ALIstring &coor) const |
std::vector< double > | getLocalRotationAngles (const std::vector< Entry * > &entries) const |
CocoaMaterialElementary * | getMaterial () const |
ALIPlane | getPlate (const ALIbool forwardPlate, const ALIbool applyWedge) |
std::vector< double > | getRotationAnglesFromMatrix (CLHEP::HepRotation &rmLocal, const std::vector< Entry * > &entries) const |
std::vector< double > | getRotationAnglesInOptOFrame (const OpticalObject *optoAncestor, const std::vector< Entry * > &entries) const |
CocoaSolidShape * | getSolidShape () const |
CLHEP::Hep3Vector | getZAxis () |
const ALIuint | ID () const |
const ALIstring | longName () const |
Measurement * | meas () |
const ALIstring & | name () const |
OpticalObject () | |
OpticalObject (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
const OpticalObject * | parent () const |
virtual void | participateInMeasurement (LightRay &lightray, Measurement &meas, const ALIstring &behav) |
void | propagateGlobalRMOriginalOriginalChangeToChildren (const CLHEP::HepRotation &rmorioriold, const CLHEP::HepRotation &rmoriorinew) |
void | resetGlobalCoordinates () |
void | resetOriginalOriginalCoordinates () |
const CLHEP::HepRotation & | rmGlob () const |
const CLHEP::HepRotation & | rmGlobOriginal () const |
const CLHEP::HepRotation & | rmGlobOriginalOriginal () const |
const CLHEP::HepRotation | rmLocal () const |
void | setCmsswID (ALIuint id) |
void | setExtraEntryValue (const ALIuint entryNo, const ALIdouble disp) |
void | setGlobalCoordinates () |
void | setGlobalRMOriginalOriginal (const CLHEP::HepRotation &rmoriori) |
void | setID (ALIuint id) |
void | setMeas (Measurement *meas) |
set current measurement More... | |
void | setOriginalEntryValues () |
void | setRmGlobal (const CLHEP::HepRotation &rm) |
void | setRmGlobalOriginal (const CLHEP::HepRotation &rm) |
void | setType (const ALIstring &type) |
const ALIstring | shortName () const |
const ALIstring & | type () const |
virtual void | userDefinedBehaviour (LightRay &lightray, Measurement &meas, const ALIstring &behav) |
virtual | ~OpticalObject () |
Private Member Functions | |
ALIdouble | getMeasFromInters (ALILine &line_xhair, ALILine &ccd, CLHEP::Hep3Vector &cops_line) |
Private Attributes | |
ALILine | ccds [4] |
DeviationsFromFileSensor2D * | deviFromFile |
ALIbool | fdevi_from_file |
Additional Inherited Members | |
Protected Member Functions inherited from OpticalObject | |
virtual void | fillExtraEntry (std::vector< ALIstring > &wordlist) |
Protected Attributes inherited from OpticalObject | |
CocoaMaterialElementary * | theMaterial |
CocoaSolidShape * | theSolidShape |
ALIint | verbose |
Definition at line 20 of file OptOCOPS.h.
|
inline |
Definition at line 25 of file OptOCOPS.h.
|
inline |
Definition at line 26 of file OptOCOPS.h.
|
inlineoverride |
Definition at line 28 of file OptOCOPS.h.
References constructSolidShape(), convertPointToLocalCoordinates(), defaultBehaviour(), fastTraversesLightRay(), OpticalObject::fillIguana(), OpticalObject::fillVRML(), getMeasFromInters(), makeMeasurement(), OpticalObject::meas(), and point.
|
overridevirtual |
Reimplemented from OpticalObject.
Definition at line 502 of file OptOCOPS.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), and funct::m.
Referenced by ~OptOCOPS().
ALIdouble * OptOCOPS::convertPointToLocalCoordinates | ( | const CLHEP::Hep3Vector & | point | ) |
Definition at line 365 of file OptOCOPS.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), and ALIUtils::dumprm().
Referenced by ~OptOCOPS().
|
overridevirtual |
Reimplemented from OpticalObject.
Definition at line 33 of file OptOCOPS.cc.
References gather_cfg::cout, and ALIUtils::debug.
Referenced by ~OptOCOPS().
|
overridevirtual |
Reimplemented from OpticalObject.
Definition at line 343 of file OptOCOPS.cc.
References gather_cfg::cout, ALIUtils::debug, LightRay::dumpData(), LightRay::intersect(), dataset::name, LightRay::point(), and LightRay::setPoint().
Referenced by ~OptOCOPS().
|
private |
Definition at line 394 of file OptOCOPS.cc.
References funct::abs(), gather_cfg::cout, ALIUtils::debug, OpticalObject::fillIguana(), OpticalObject::fillVRML(), ALILine::intersect(), ALILine::pt(), EnergyCorrector::pt, Validation_hcalonly_cfi::sign, and ALILine::vec().
Referenced by ~OptOCOPS().
|
overridevirtual |
Reimplemented from OpticalObject.
Definition at line 43 of file OptOCOPS.cc.
References funct::abs(), MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), MillePedeFileConverter_cfg::e, cmsRelvalreport::exit, OpticalObject::findExtraEntryValueIfExists(), cuy::ii, LightRay::intersect(), edm::isNotFinite(), dataset::name, Measurement::OptOList(), PI, LightRay::point(), RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, ALIPlane::project(), OpticalObject::rmGlob(), Measurement::setValueSimulated(), Measurement::setXlaserLine(), Measurement::value(), Measurement::valueSimulated(), and Measurement::xlaserLine().
Referenced by ~OptOCOPS().
|
private |
Definition at line 51 of file OptOCOPS.h.
|
private |
Definition at line 49 of file OptOCOPS.h.
|
private |
Definition at line 50 of file OptOCOPS.h.