#include <CocoaAnalyzer.h>
Private Member Functions | |
bool | CorrectOaParam (OpticalAlignParam *oaParamXML, const OpticalAlignParam &oaParamDB) |
void | CorrectOptAlignments (std::vector< OpticalAlignInfo > &oaListCalib) |
OpticalAlignInfo * | FindOpticalAlignInfoXML (const 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::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 41 of file CocoaAnalyzer.h.
|
explicit |
Definition at line 27 of file CocoaAnalyzer.cc.
References GlobalOptionMgr::getInstance(), edm::ParameterSet::getParameter(), Data_TkAlMuonIsolated_Run2015B_PromptReco_v1_cff::maxEvents, GlobalOptionMgr::setDefaultGlobalOptions(), GlobalOptionMgr::setGlobalOption(), AlCaHLTBitMon_QueryRunRegistry::string, and theCocoaDaqRootFileName.
|
inlineexplicit |
Definition at line 46 of file CocoaAnalyzer.h.
|
inlinevirtual |
Definition at line 47 of file CocoaAnalyzer.h.
References analyze(), beginJob(), EnergyCorrector::c, CorrectOaParam(), CorrectOptAlignments(), MillePedeFileConverter_cfg::e, FindOpticalAlignInfoXML(), GetOptAlignInfoFromOptO(), myFetchDbl(), myFetchString(), ReadCalibrationDB(), ReadXMLFile(), RunCocoa(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Definition at line 578 of file CocoaAnalyzer.cc.
References CorrectOptAlignments(), ReadCalibrationDB(), ReadXMLFile(), RunCocoa(), ALIUtils::setDebugVerbosity(), and theCocoaDaqRootFileName.
Referenced by ~CocoaAnalyzer().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 40 of file CocoaAnalyzer.cc.
Referenced by ~CocoaAnalyzer().
|
private |
Definition at line 548 of file CocoaAnalyzer.cc.
References MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, OpticalAlignParam::dimType(), cppFunctionSkipper::exception, AlCaHLTBitMon_QueryRunRegistry::string, and OpticalAlignParam::value_.
Referenced by CorrectOptAlignments(), and ~CocoaAnalyzer().
|
private |
Definition at line 466 of file CocoaAnalyzer.cc.
References OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, MessageLogger_cfi::cerr, CorrectOaParam(), gather_cfg::cout, ALIUtils::debug, OpticalAlignInfo::extraEntries_, FindOpticalAlignInfoXML(), oaList_, AlCaHLTBitMon_QueryRunRegistry::string, OpticalAlignInfo::x_, OpticalAlignInfo::y_, and OpticalAlignInfo::z_.
Referenced by analyze(), and ~CocoaAnalyzer().
|
private |
Definition at line 524 of file CocoaAnalyzer.cc.
References gather_cfg::cout, ALIUtils::debug, OpticalAlignInfo::name_, oaList_, OpticalAlignments::opticalAlignments_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CorrectOptAlignments(), and ~CocoaAnalyzer().
|
private |
Referenced by ~CocoaAnalyzer().
|
private |
Definition at line 661 of file CocoaAnalyzer.cc.
References gather_cfg::cout, DDfetch(), DDValue::doubles(), and heppy_batch::val.
Referenced by ReadXMLFile(), and ~CocoaAnalyzer().
|
private |
Definition at line 677 of file CocoaAnalyzer.cc.
References gather_cfg::cout, DDfetch(), DDValue::strings(), and heppy_batch::val.
Referenced by ReadXMLFile(), and ~CocoaAnalyzer().
|
private |
Definition at line 439 of file CocoaAnalyzer.cc.
References gather_cfg::cout, ALIUtils::debug, edm::EventSetup::get(), OpticalAlignments::opticalAlignments_, and edm::ESHandle< T >::product().
Referenced by analyze(), and ~CocoaAnalyzer().
|
private |
Definition at line 83 of file CocoaAnalyzer.cc.
References DDExpandedNode::absRotation(), DDExpandedNode::absTranslation(), particleFlowDisplacedVertex_cfi::angles, OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, MessageLogger_cfi::cerr, OpticalAlignMeasurementInfo::clear(), OpticalAlignParam::clear(), OpticalAlignInfo::clear(), gather_cfg::cout, ALIUtils::debug, OpticalAlignParam::dim_type_, OpticalAlignParam::dimType(), OpticalAlignParam::error_, benchmark_cfg::errors, cppFunctionSkipper::exception, OpticalAlignInfo::extraEntries_, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), DDFilteredView::geoHistory(), edm::EventSetup::get(), ALIUtils::getRotationAnglesFromMatrix(), OpticalAlignMeasurementInfo::ID_, OpticalAlignInfo::ID_, cuy::ii, createfilelist::int, OpticalAlignMeasurementInfo::isSimulatedValue_, DDFilteredView::logicalPart(), measList_, OpticalAlignMeasurementInfo::measObjectNames_, DDFilteredView::mergedSpecifics(), myFetchDbl(), myFetchString(), DDName::name(), dataset::name, DDBase< N, C >::name(), OpticalAlignMeasurementInfo::name_, OpticalAlignParam::name_, OpticalAlignInfo::name_, cscdqm::h::names, DDFilteredView::next(), oaList_, OpticalAlignMeasurements::oaMeasurements_, OpticalAlignments::opticalAlignments_, class-composition::parent, OpticalAlignInfo::parentName_, jets_cff::quality, OpticalAlignParam::quality_, DDCompactView::root(), makeMuonMisalignmentScenario::rot, DDFilteredView::rotation(), DDFilteredView::specifics(), AlCaHLTBitMon_QueryRunRegistry::string, DDFilteredView::translation(), OpticalAlignMeasurementInfo::type_, OpticalAlignInfo::type_, OpticalAlignParam::value_, MuonErrorMatrixValues_cff::values, OpticalAlignMeasurementInfo::values_, OpticalAlignInfo::x_, geometryCSVtoXML::xx, geometryCSVtoXML::xy, geometryCSVtoXML::xz, OpticalAlignInfo::y_, geometryCSVtoXML::yy, geometryCSVtoXML::yz, OpticalAlignInfo::z_, and geometryCSVtoXML::zz.
Referenced by analyze(), and ~CocoaAnalyzer().
|
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(), and ~CocoaAnalyzer().
|
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().