#include <CocoaAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
virtual void | beginJob () override |
CocoaAnalyzer (edm::ParameterSet const &p) | |
CocoaAnalyzer (int i) | |
virtual | ~CocoaAnalyzer () |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 28 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.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 587 of file CocoaAnalyzer.cc.
References CorrectOptAlignments(), ReadCalibrationDB(), ReadXMLFile(), RunCocoa(), ALIUtils::setDebugVerbosity(), and theCocoaDaqRootFileName.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 41 of file CocoaAnalyzer.cc.
|
private |
Definition at line 557 of file CocoaAnalyzer.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, ALIUtils::debug, OpticalAlignParam::dimType(), cppFunctionSkipper::exception, AlCaHLTBitMon_QueryRunRegistry::string, and OpticalAlignParam::value_.
Referenced by CorrectOptAlignments().
|
private |
Definition at line 475 of file CocoaAnalyzer.cc.
References OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, ecal_dqm_sourceclient-live_cfg::cerr, CorrectOaParam(), gather_cfg::cout, ALIUtils::debug, OpticalAlignInfo::extraEntries_, FindOpticalAlignInfoXML(), oaList_, AlCaHLTBitMon_QueryRunRegistry::string, OpticalAlignInfo::x_, OpticalAlignInfo::y_, and OpticalAlignInfo::z_.
Referenced by analyze().
|
private |
Definition at line 533 of file CocoaAnalyzer.cc.
References gather_cfg::cout, ALIUtils::debug, OpticalAlignInfo::name_, oaList_, OpticalAlignments::opticalAlignments_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CorrectOptAlignments().
|
private |
|
private |
Definition at line 670 of file CocoaAnalyzer.cc.
References gather_cfg::cout, DDfetch(), and DDValue::doubles().
Referenced by ReadXMLFile().
|
private |
Definition at line 686 of file CocoaAnalyzer.cc.
References gather_cfg::cout, DDfetch(), and DDValue::strings().
Referenced by ReadXMLFile().
|
private |
Definition at line 448 of file CocoaAnalyzer.cc.
References gather_cfg::cout, ALIUtils::debug, and edm::EventSetup::get().
Referenced by analyze().
|
private |
Definition at line 84 of file CocoaAnalyzer.cc.
References DDExpandedNode::absRotation(), DDExpandedNode::absTranslation(), DDFilteredView::addFilter(), AND, OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, ecal_dqm_sourceclient-live_cfg::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_, alcazmumu_cfi::filter, DDFilteredView::firstChild(), DDFilteredView::geoHistory(), edm::EventSetup::get(), ALIUtils::getRotationAnglesFromMatrix(), OpticalAlignMeasurementInfo::ID_, OpticalAlignInfo::ID_, cuy::ii, OpticalAlignMeasurementInfo::isSimulatedValue_, DDFilteredView::logicalPart(), matches, measList_, OpticalAlignMeasurementInfo::measObjectNames_, DDFilteredView::mergedSpecifics(), myFetchDbl(), myFetchString(), DDName::name(), mergeVDriftHistosByStation::name, DDBase< N, C >::name(), OpticalAlignMeasurementInfo::name_, OpticalAlignParam::name_, OpticalAlignInfo::name_, cscdqm::h::names, DDFilteredView::next(), oaList_, OpticalAlignMeasurements::oaMeasurements_, OpticalAlignments::opticalAlignments_, dbtoconf::parent, OpticalAlignInfo::parentName_, HLT_25ns14e33_v1_cff::quality, OpticalAlignParam::quality_, makeMuonMisalignmentScenario::rot, DDFilteredView::rotation(), DDSpecificsFilter::setCriteria(), DDFilteredView::specifics(), AlCaHLTBitMon_QueryRunRegistry::string, DDFilteredView::translation(), OpticalAlignMeasurementInfo::type_, OpticalAlignInfo::type_, relativeConstraints::value, OpticalAlignParam::value_, makeHLTPrescaleTable::values, OpticalAlignMeasurementInfo::values_, OpticalAlignInfo::x_, create_public_lumi_plots::xy, OpticalAlignInfo::y_, and OpticalAlignInfo::z_.
Referenced by analyze().
|
private |
Definition at line 47 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().