#include <Alignment/TrackerAlignment/plugins/MCMisalignmentScaler.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
using | ScalerMap = std::unordered_map< unsigned int, std::unordered_map< int, double > > |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
ScalerMap | decodeSubDetectors (const edm::VParameterSet &) |
Private Attributes | |
const edm::ESGetToken < Alignments, TrackerAlignmentRcd > | aliToken_ |
bool | firstEvent_ {true} |
const edm::ESGetToken < GeometricDet, IdealGeometryRecord > | geomDetToken_ |
const double | outlierPullToIdealCut_ |
const edm::ESGetToken < SiPixelQuality, SiPixelQualityRcd > | pixelQualityToken_ |
const edm::ESGetToken < PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd > | ptitpToken_ |
const edm::ESGetToken < PTrackerParameters, PTrackerParametersRcd > | ptpToken_ |
const bool | pullBadModulesToIdeal_ |
const ScalerMap | scalers_ |
const edm::ESGetToken < SiStripQuality, SiStripQualityRcd > | stripQualityToken_ |
const edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | topoToken_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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) |
Description: Plugin to rescale misalignment wrt. ideal geometry
Implementation:
The plugin takes the ideal geometry and the alignment object and rescales the position difference by the scaling factor provided by the user.
Definition at line 62 of file MCMisalignmentScaler.cc.
|
private |
Definition at line 77 of file MCMisalignmentScaler.cc.
|
explicit |
Definition at line 92 of file MCMisalignmentScaler.cc.
References decodeSubDetectors(), and edm::ParameterSet::getParameter().
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 109 of file MCMisalignmentScaler.cc.
References a, aliToken_, b, cond::TimeTypeSpecs::beginValue, TrackerGeomBuilderFromGeometricDet::build(), TrackerGeometry::dets(), Exception, firstEvent_, geomDetToken_, edm::EventSetup::getData(), edm::Service< T >::isAvailable(), SiStripQuality::IsModuleBad(), SiPixelQuality::IsModuleBad(), Alignments::m_align, outlierPullToIdealCut_, PixelSubdetector::PixelBarrel, pixelQualityToken_, ptitpToken_, ptpToken_, pullBadModulesToIdeal_, AlignTransform::rawId(), cond::runnumber, HLT_FULL_cff::scaleFactor, scalers_, TrackerTopology::side(), SiStripO2O_cfg_template::since, stripQualityToken_, GeomDetEnumerators::subDetId, StripSubdetector::TIB, TrackerTopology::tibSide(), cond::timeTypeSpecs, StripSubdetector::TOB, TrackerTopology::tobSide(), topoToken_, and cond::service::PoolDBOutputService::writeOneIOV().
|
private |
Definition at line 232 of file MCMisalignmentScaler.cc.
References funct::abs(), Exception, mergeVDriftHistosByStation::name, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackValidation_cff::pset, AlCaHLTBitMon_QueryRunRegistry::string, GeomDetEnumerators::subDetId, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by MCMisalignmentScaler().
|
static |
Definition at line 307 of file MCMisalignmentScaler.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::addVPSet(), submitPVResolutionJobs::desc, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 76 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 86 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 85 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 73 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 83 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 71 of file MCMisalignmentScaler.cc.
Referenced by analyze().
|
private |
Definition at line 75 of file MCMisalignmentScaler.cc.
Referenced by analyze().