#include <CocoaAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &c) |
virtual void | beginJob () |
CocoaAnalyzer (edm::ParameterSet const &p) | |
CocoaAnalyzer (int i) | |
virtual | ~CocoaAnalyzer () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
bool | CorrectOaParam (OpticalAlignParam *oaParamXML, OpticalAlignParam oaParamDB) |
void | CorrectOptAlignments (std::vector< OpticalAlignInfo > &oaListCalib) |
OpticalAlignInfo * | FindOpticalAlignInfoXML (OpticalAlignInfo oaInfo) |
OpticalAlignInfo | GetOptAlignInfoFromOptO (OpticalObject *opto) |
double | myFetchDbl (const DDsvalues_type &dvst, const std::string &spName, const size_t &vecInd) |
std::string | myFetchString (const DDsvalues_type &dvst, const std::string &spName, const size_t &vecInd) |
std::vector< OpticalAlignInfo > | ReadCalibrationDB (const edm::EventSetup &evts) |
void | ReadXMLFile (const edm::EventSetup &evts) |
void | RunCocoa () |
Private Attributes | |
OpticalAlignMeasurements | measList_ |
OpticalAlignments | oaList_ |
std::string | theCocoaDaqRootFileName |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 41 of file CocoaAnalyzer.h.
|
explicit |
Definition at line 28 of file CocoaAnalyzer.cc.
References GlobalOptionMgr::getInstance(), edm::ParameterSet::getParameter(), LaserTracksInput_cfi::maxEvents, GlobalOptionMgr::setDefaultGlobalOptions(), GlobalOptionMgr::setGlobalOption(), and theCocoaDaqRootFileName.
|
inlineexplicit |
Definition at line 46 of file CocoaAnalyzer.h.
|
inlinevirtual |
Definition at line 47 of file CocoaAnalyzer.h.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 586 of file CocoaAnalyzer.cc.
References CorrectOptAlignments(), ReadCalibrationDB(), ReadXMLFile(), RunCocoa(), ALIUtils::setDebugVerbosity(), and theCocoaDaqRootFileName.
|
virtual |
|
private |
Definition at line 556 of file CocoaAnalyzer.cc.
References ExpressReco_HICollisions_FallBack::cerr, gather_cfg::cout, ALIUtils::debug, OpticalAlignParam::dimType(), cmsCodeRules.cppFunctionSkipper::exception, and OpticalAlignParam::value_.
Referenced by CorrectOptAlignments().
|
private |
Definition at line 474 of file CocoaAnalyzer.cc.
References OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, ExpressReco_HICollisions_FallBack::cerr, CorrectOaParam(), gather_cfg::cout, ALIUtils::debug, OpticalAlignInfo::extraEntries_, FindOpticalAlignInfoXML(), oaList_, OpticalAlignInfo::x_, OpticalAlignInfo::y_, and OpticalAlignInfo::z_.
Referenced by analyze().
|
private |
Definition at line 532 of file CocoaAnalyzer.cc.
References gather_cfg::cout, ALIUtils::debug, OpticalAlignInfo::name_, oaList_, and OpticalAlignments::opticalAlignments_.
Referenced by CorrectOptAlignments().
|
private |
|
private |
Definition at line 669 of file CocoaAnalyzer.cc.
References gather_cfg::cout, DDfetch(), and DDValue::doubles().
Referenced by ReadXMLFile().
|
private |
Definition at line 685 of file CocoaAnalyzer.cc.
References gather_cfg::cout, DDfetch(), and DDValue::strings().
Referenced by ReadXMLFile().
|
private |
Definition at line 447 of file CocoaAnalyzer.cc.
References gather_cfg::cout, ALIUtils::debug, and edm::EventSetup::get().
Referenced by analyze().
|
private |
Definition at line 83 of file CocoaAnalyzer.cc.
References DDExpandedNode::absRotation(), DDExpandedNode::absTranslation(), DDFilteredView::addFilter(), DDSpecificsFilter::AND, OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, ExpressReco_HICollisions_FallBack::cerr, OpticalAlignMeasurementInfo::clear(), OpticalAlignParam::clear(), OpticalAlignInfo::clear(), gather_cfg::cout, ALIUtils::debug, OpticalAlignParam::dim_type_, OpticalAlignParam::dimType(), OpticalAlignParam::error_, ExpressReco_HICollisions_FallBack::errors, cmsCodeRules.cppFunctionSkipper::exception, OpticalAlignInfo::extraEntries_, align_tpl::filter, DDFilteredView::firstChild(), DDFilteredView::geoHistory(), edm::EventSetup::get(), ALIUtils::getRotationAnglesFromMatrix(), OpticalAlignMeasurementInfo::ID_, OpticalAlignInfo::ID_, OpticalAlignMeasurementInfo::isSimulatedValue_, DDFilteredView::logicalPart(), DDSpecificsFilter::matches, measList_, OpticalAlignMeasurementInfo::measObjectNames_, DDFilteredView::mergedSpecifics(), myFetchDbl(), myFetchString(), AlCaRecoCosmics_cfg::name, DDName::name(), DDBase< N, C >::name(), OpticalAlignMeasurementInfo::name_, OpticalAlignParam::name_, OpticalAlignInfo::name_, h::names, DDFilteredView::next(), oaList_, OpticalAlignMeasurements::oaMeasurements_, OpticalAlignments::opticalAlignments_, dbtoconf::parent, OpticalAlignInfo::parentName_, OpticalAlignParam::quality_, DDFilteredView::rotation(), DDSpecificsFilter::setCriteria(), DDFilteredView::specifics(), DDFilteredView::translation(), OpticalAlignMeasurementInfo::type_, OpticalAlignInfo::type_, relativeConstraints::value, OpticalAlignParam::value_, makeHLTPrescaleTable::values, OpticalAlignMeasurementInfo::values_, OpticalAlignInfo::x_, xy(), OpticalAlignInfo::y_, and OpticalAlignInfo::z_.
Referenced by analyze().
|
private |
Definition at line 46 of file CocoaAnalyzer.cc.
References Model::BuildMeasurementsFromOA(), Model::BuildSystemDescriptionFromOA(), gather_cfg::cout, ALIUtils::debug, ALIFileOut::getInstance(), Fit::getInstance(), Model::getInstance(), measList_, oaList_, ALIUtils::report, Model::ReportFName(), and Fit::startFit().
Referenced by analyze().
|
private |
Definition at line 74 of file CocoaAnalyzer.h.
Referenced by ReadXMLFile(), and RunCocoa().
|
private |
Definition at line 73 of file CocoaAnalyzer.h.
Referenced by CorrectOptAlignments(), FindOpticalAlignInfoXML(), ReadXMLFile(), and RunCocoa().
|
private |
Definition at line 75 of file CocoaAnalyzer.h.
Referenced by analyze(), and CocoaAnalyzer().