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 | |
AlignmentErrorsExtended | alignmentErrors_ |
Alignments | alignments_ |
AlignmentSurfaceDeformations | alignmentSurfaceDeformations_ |
const bool | alignToGlobalTag_ |
const bool | createReferenceRcd_ |
bool | firstEvent_ |
std::vector< uint32_t > | rawIDs_ |
const std::vector< GeomDetEnumerators::SubDetector > | skipSubDetectors_ |
std::vector< GeomDetEnumerators::SubDetector > | subDets_ |
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) |
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<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) |
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 69 of file CreateTrackerAlignmentRcds.cc.
|
explicit |
Definition at line 102 of file CreateTrackerAlignmentRcds.cc.
|
override |
Definition at line 108 of file CreateTrackerAlignmentRcds.cc.
|
private |
Definition at line 253 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 288 of file CreateTrackerAlignmentRcds.cc.
References AlignmentSurfaceDeformations::add(), alignmentErrors_, alignments_, alignmentSurfaceDeformations_, HLT_2018_cff::distance, spr::find(), newFWLiteAna::found, edm::EventSetup::get(), mps_fire::i, triggerObjects_cff::id, B2GTnPMonitor_cfi::item, AlignmentSurfaceDeformations::items(), LogDebug, Alignments::m_align, AlignmentErrorsExtended::m_alignError, AlignmentSurfaceDeformations::parameters(), CalibrationSummaryClient_cfi::params, rawIDs_, skipSubDetectors_, subDets_, and toString().
Referenced by analyze().
|
overrideprivate |
Definition at line 115 of file CreateTrackerAlignmentRcds.cc.
References a, addAlignmentInfo(), alignToGlobalTag_, alignToGT(), b, clearAlignmentInfos(), createReferenceRcd_, firstEvent_, retrieveGeometry(), PbPb_ZMuSkimMuonDPG_cff::tracker, and writeToDB().
|
private |
Definition at line 230 of file CreateTrackerAlignmentRcds.cc.
References alignmentErrors_, alignments_, alignmentSurfaceDeformations_, AlignmentErrorsExtended::clear(), Alignments::clear(), and rawIDs_.
Referenced by analyze().
|
static |
Definition at line 385 of file CreateTrackerAlignmentRcds.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setComment().
|
private |
Definition at line 237 of file CreateTrackerAlignmentRcds.cc.
References TrackerGeomBuilderFromGeometricDet::build(), edm::EventSetup::get(), and edm::ESHandle< T >::product().
Referenced by analyze().
|
static |
Definition at line 134 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 179 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 222 of file CreateTrackerAlignmentRcds.cc.
References mps_fire::result, and toSubDetector().
|
private |
Definition at line 370 of file CreateTrackerAlignmentRcds.cc.
References alignmentErrors_, alignments_, alignmentSurfaceDeformations_, cond::TimeTypeSpecs::beginValue, Exception, edm::Service< T >::isAvailable(), cond::runnumber, writeEcalDQMStatus::since, cond::timeTypeSpecs, and cond::service::PoolDBOutputService::writeOne().
Referenced by analyze().
|
private |
Definition at line 93 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 92 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 94 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 89 of file CreateTrackerAlignmentRcds.cc.
Referenced by analyze().
|
private |
Definition at line 90 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), and analyze().
|
private |
Definition at line 91 of file CreateTrackerAlignmentRcds.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), and clearAlignmentInfos().
|
private |
Definition at line 88 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT().
|
private |
Definition at line 96 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), and alignToGT().