Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static std::string | toString (const GeomDetEnumerators::SubDetector &) |
static GeomDetEnumerators::SubDetector | toSubDetector (const std::string &sub) |
static std::vector < GeomDetEnumerators::SubDetector > | toSubDetectors (const std::vector< std::string > &subs) |
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 Member Functions | |
void | addAlignmentInfo (const GeomDet &) |
void | alignToGT (const edm::EventSetup &) |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | clearAlignmentInfos () |
std::unique_ptr< TrackerGeometry > | retrieveGeometry (const edm::EventSetup &) |
void | writeToDB () |
Private Attributes | |
const edm::ESGetToken < AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcd > | aliErrorToken_ |
AlignmentErrorsExtended | alignmentErrors_ |
Alignments | alignments_ |
AlignmentSurfaceDeformations | alignmentSurfaceDeformations_ |
const bool | alignToGlobalTag_ |
const edm::ESGetToken < AlignmentSurfaceDeformations, TrackerSurfaceDeformationRcd > | aliSurfaceToken_ |
const edm::ESGetToken < Alignments, TrackerAlignmentRcd > | aliToken_ |
const bool | createReferenceRcd_ |
bool | firstEvent_ |
const edm::ESGetToken < GeometricDet, IdealGeometryRecord > | geomDetToken_ |
const edm::ESGetToken < PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd > | ptitpToken_ |
const edm::ESGetToken < PTrackerParameters, PTrackerParametersRcd > | ptpToken_ |
std::vector< uint32_t > | rawIDs_ |
const std::vector < GeomDetEnumerators::SubDetector > | skipSubDetectors_ |
std::vector < GeomDetEnumerators::SubDetector > | subDets_ |
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 create ideal tracker alignment records.
Implementation: The plugin takes the geometry stored in the global tag and transfers this information to the format needed in the TrackerAlignmentRcd. The APEs are set to zero for all det IDs of the tracker geometry and put into an TrackerAlignmentErrorExtendedRcd. In addition an empty TrackerSurfaceDeformationRcd is created corresponding to ideal surfaces.
An option exists to align to the content of the used global tag. This is useful, if the geometry record and the tracker alignment records do not match.
Definition at line 71 of file CreateTrackerAlignmentRcds.cc.
|
explicit |
Definition at line 112 of file CreateTrackerAlignmentRcds.cc.
|
override |
Definition at line 125 of file CreateTrackerAlignmentRcds.cc.
|
private |
Definition at line 266 of file CreateTrackerAlignmentRcds.cc.
References alignmentErrors_, alignments_, createReferenceRcd_, GeomDet::geographicalId(), LogDebug, Alignments::m_align, AlignmentErrorsExtended::m_alignError, GeomDet::position(), DetId::rawId(), rawIDs_, makeMuonMisalignmentScenario::rot, idealTransformation::rotation, GeomDet::rotation(), GeomDet::subDetector(), subDets_, and toString().
Referenced by analyze().
|
private |
Definition at line 301 of file CreateTrackerAlignmentRcds.cc.
References AlignmentSurfaceDeformations::add(), aliErrorToken_, alignmentErrors_, alignments_, alignmentSurfaceDeformations_, aliSurfaceToken_, aliToken_, HLT_FULL_cff::distance, spr::find(), newFWLiteAna::found, edm::EventSetup::getData(), mps_fire::i, gpuClustering::id, B2GTnPMonitor_cfi::item, AlignmentSurfaceDeformations::items(), LogDebug, Alignments::m_align, AlignmentErrorsExtended::m_alignError, AlignmentSurfaceDeformations::parameters(), submitPVValidationJobs::params, rawIDs_, skipSubDetectors_, subDets_, and toString().
Referenced by analyze().
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 132 of file CreateTrackerAlignmentRcds.cc.
References a, addAlignmentInfo(), alignToGlobalTag_, alignToGT(), b, clearAlignmentInfos(), createReferenceRcd_, firstEvent_, retrieveGeometry(), and writeToDB().
|
private |
Definition at line 248 of file CreateTrackerAlignmentRcds.cc.
References alignmentErrors_, alignments_, alignmentSurfaceDeformations_, AlignmentErrorsExtended::clear(), Alignments::clear(), and rawIDs_.
Referenced by analyze().
|
static |
Definition at line 395 of file CreateTrackerAlignmentRcds.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and edm::ParameterSetDescription::setComment().
|
private |
Definition at line 255 of file CreateTrackerAlignmentRcds.cc.
References TrackerGeomBuilderFromGeometricDet::build(), geomDetToken_, edm::EventSetup::getData(), ptitpToken_, ptpToken_, and topoToken_.
Referenced by analyze().
|
static |
Definition at line 151 of file CreateTrackerAlignmentRcds.cc.
References GeomDetEnumerators::CSC, GeomDetEnumerators::DT, Exception, GeomDetEnumerators::GEM, GeomDetEnumerators::invalidDet, GeomDetEnumerators::ME0, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, GeomDetEnumerators::TEC, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.
Referenced by addAlignmentInfo(), and alignToGT().
|
static |
Definition at line 196 of file CreateTrackerAlignmentRcds.cc.
References GeomDetEnumerators::CSC, GeomDetEnumerators::DT, Exception, GeomDetEnumerators::GEM, GeomDetEnumerators::invalidDet, GeomDetEnumerators::ME0, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, GeomDetEnumerators::TEC, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.
Referenced by toSubDetectors().
|
static |
Definition at line 239 of file CreateTrackerAlignmentRcds.cc.
References mps_fire::result, and toSubDetector().
|
private |
Definition at line 380 of file CreateTrackerAlignmentRcds.cc.
References alignmentErrors_, alignments_, alignmentSurfaceDeformations_, cond::TimeTypeSpecs::beginValue, Exception, edm::Service< T >::isAvailable(), cond::runnumber, SiStripO2O_cfg_template::since, cond::timeTypeSpecs, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by analyze().
|
private |
Definition at line 96 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT().
|
private |
Definition at line 103 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 102 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 104 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 99 of file CreateTrackerAlignmentRcds.cc.
Referenced by analyze().
|
private |
Definition at line 97 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT().
|
private |
Definition at line 95 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT().
|
private |
Definition at line 100 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), and analyze().
|
private |
Definition at line 101 of file CreateTrackerAlignmentRcds.cc.
Referenced by analyze().
|
private |
Definition at line 91 of file CreateTrackerAlignmentRcds.cc.
Referenced by retrieveGeometry().
|
private |
Definition at line 93 of file CreateTrackerAlignmentRcds.cc.
Referenced by retrieveGeometry().
|
private |
Definition at line 92 of file CreateTrackerAlignmentRcds.cc.
Referenced by retrieveGeometry().
|
private |
Definition at line 105 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), and clearAlignmentInfos().
|
private |
Definition at line 98 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT().
|
private |
Definition at line 106 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), and alignToGT().
|
private |
Definition at line 94 of file CreateTrackerAlignmentRcds.cc.
Referenced by retrieveGeometry().