#include <CalibTracker/SiStripLorentzAngle/plugins/SiStripLorentzAnglePCLHarvester.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
std::string | getStem (const std::string &histoName, bool isFolder) |
Private Attributes | |
const SiStripLorentzAngle * | currentLorentzAngle_ |
const bool | debug_ |
const std::string | dqmDir_ |
const std::vector< double > | fitRange_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomEsToken_ |
SiStripLorentzAngleCalibrationHistograms | hists_ |
SiStripLorentzAngleCalibrationHistograms | iHists_ |
const edm::ESGetToken< SiStripLatency, SiStripLatencyRcd > | latencyToken_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magneticFieldToken_ |
bool | mismatchedBField_ |
bool | mismatchedLatency_ |
const std::string | recordName_ |
const edm::ESGetToken< SiStripLorentzAngle, SiStripLorentzAngleDepRcd > | siStripLAEsToken_ |
std::pair< double, double > | theFitRange_ {0., 0.} |
float | theMagField_ {0.f} |
std::unique_ptr< TrackerTopology > | theTrackerTopology_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | topoEsTokenBR_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | topoEsTokenER_ |
Static Private Attributes | |
static constexpr float | teslaToInverseGeV_ = 2.99792458e-3f |
Additional Inherited Members | |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
edm::EDPutTokenT< DQMToken > | jobToken_ |
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::GetterOfProducts< DQMToken > | runmegetter_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Description: reads the intermediate ALCAPROMPT DQMIO-like dataset and performs the fitting of the SiStrip Lorentz Angle in the Prompt Calibration Loop
Definition at line 46 of file SiStripLorentzAnglePCLHarvester.cc.
SiStripLorentzAnglePCLHarvester::SiStripLorentzAnglePCLHarvester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 88 of file SiStripLorentzAnglePCLHarvester.cc.
|
overridedefault |
|
override |
Definition at line 116 of file SiStripLorentzAnglePCLHarvester.cc.
References SiStripLorentzAngleCalibrationHistograms::apvmode_, siStripLACalibration::apvModeAsString(), SiStripLorentzAngleCalibrationHistograms::bfield_, currentLorentzAngle_, siStripLACalibration::fieldAsString(), relativeConstraints::geom, geomEsToken_, edm::EventSetup::getData(), SiStripLorentzAngle::getLorentzAngle(), iHists_, MagneticField::inverseBzAtOriginInGeV(), SiStripLorentzAngleCalibrationHistograms::la_db_, latencyToken_, magneticFieldToken_, mismatchedBField_, mismatchedLatency_, siStripLACalibration::moduleLocationType(), SiStripLorentzAngleCalibrationHistograms::moduleLocationType_, siStripLAEsToken_, teslaToInverseGeV_, theMagField_, and topoEsTokenBR_.
|
overrideprivatevirtual |
Implements DQMEDHarvester.
Definition at line 172 of file SiStripLorentzAnglePCLHarvester.cc.
References funct::abs(), SiStripLorentzAngleCalibrationHistograms::apvmode_, SiStripLorentzAngleCalibrationHistograms::bfield_, dqm::implementation::IBooker::bookProfile(), dqm::implementation::NavigatorBase::cd(), cond::service::PoolDBOutputService::currentTime(), debug_, dqmDir_, cppFunctionSkipper::exception, Exception, siStripLACalibration::fitFunction(), dqm-mbProfile::format, dqm::implementation::IGetter::get(), getStem(), SiStripLorentzAngleCalibrationHistograms::h2_, LaserClient_cfi::high, trackingPlots::hp, iHists_, edm::Service< T >::isAvailable(), MainPageGenerator::l, SiStripLorentzAngleCalibrationHistograms::la_db_, hgcalTBTopologyTester_cfi::layers, LogDebug, LaserClient_cfi::low, DiMuonMassBiasClient_cfi::MEtoHarvest, mismatchedBField_, mismatchedLatency_, SiStripLorentzAngleCalibrationHistograms::modtypes_, edm::one::EDProducerBase::moduleDescription(), SiStripLorentzAngleCalibrationHistograms::moduleLocationType_, EcalCalibMonitorClient_cfi::moduleName, SiStripLorentzAngleCalibrationHistograms::nlayers_, SiStripLorentzAngleCalibrationHistograms::p_, recordName_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, theFitRange_, theMagField_, cms::Exception::what(), and cond::service::PoolDBOutputService::writeOneIOV().
|
overrideprivate |
Definition at line 165 of file SiStripLorentzAnglePCLHarvester.cc.
References edm::EventSetup::getData(), theTrackerTopology_, and topoEsTokenER_.
|
static |
Definition at line 343 of file SiStripLorentzAnglePCLHarvester.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 320 of file SiStripLorentzAnglePCLHarvester.cc.
References HltBtagPostValidation_cff::histoName, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_QueryRunRegistry::string, and unpackBuffers-CaloStage2::token.
Referenced by dqmEndJob().
|
private |
Definition at line 83 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun().
|
private |
Definition at line 71 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by dqmEndJob().
|
private |
Definition at line 74 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by dqmEndJob().
|
private |
Definition at line 75 of file SiStripLorentzAnglePCLHarvester.cc.
|
private |
Definition at line 60 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun().
|
private |
Definition at line 82 of file SiStripLorentzAnglePCLHarvester.cc.
|
private |
Definition at line 72 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun(), and dqmEndJob().
|
private |
Definition at line 62 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun().
|
private |
Definition at line 64 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun().
|
private |
Definition at line 68 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun(), and dqmEndJob().
|
private |
Definition at line 69 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun(), and dqmEndJob().
|
private |
Definition at line 76 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by dqmEndJob().
|
private |
Definition at line 63 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun().
|
staticprivate |
Definition at line 79 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun().
|
private |
Definition at line 80 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by dqmEndJob().
|
private |
Definition at line 77 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun(), and dqmEndJob().
|
private |
Definition at line 84 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by endRun().
|
private |
Definition at line 61 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by beginRun().
|
private |
Definition at line 61 of file SiStripLorentzAnglePCLHarvester.cc.
Referenced by endRun().