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 70 of file CreateTrackerAlignmentRcds.cc.
|
explicit |
Definition at line 105 of file CreateTrackerAlignmentRcds.cc.
|
override |
Definition at line 114 of file CreateTrackerAlignmentRcds.cc.
|
private |
Definition at line 239 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 282 of file CreateTrackerAlignmentRcds.cc.
References AlignmentSurfaceDeformations::add(), alignmentErrors_, alignments_, alignmentSurfaceDeformations_, SoftLeptonByDistance_cfi::distance, spr::find(), runEdmFileComparison::found, edm::EventSetup::get(), mps_fire::i, triggerObjects_cff::id, AlignmentSurfaceDeformations::items(), LogDebug, Alignments::m_align, AlignmentErrorsExtended::m_alignError, AlignmentSurfaceDeformations::parameters(), rawIDs_, skipSubDetectors_, subDets_, and toString().
Referenced by analyze().
|
overrideprivate |
Definition at line 125 of file CreateTrackerAlignmentRcds.cc.
References a, addAlignmentInfo(), alignToGlobalTag_, alignToGT(), b, clearAlignmentInfos(), createReferenceRcd_, firstEvent_, retrieveGeometry(), AlCaHLTBitMon_QueryRunRegistry::string, trackingTruthProducer_cfi::tracker, and writeToDB().
|
private |
Definition at line 209 of file CreateTrackerAlignmentRcds.cc.
References alignmentErrors_, alignments_, alignmentSurfaceDeformations_, AlignmentErrorsExtended::clear(), Alignments::clear(), and rawIDs_.
Referenced by analyze().
|
static |
Definition at line 397 of file CreateTrackerAlignmentRcds.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setComment().
|
private |
Definition at line 219 of file CreateTrackerAlignmentRcds.cc.
References TrackerGeomBuilderFromGeometricDet::build(), edm::EventSetup::get(), and edm::ESHandle< T >::product().
Referenced by analyze().
|
static |
Definition at line 145 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 174 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 200 of file CreateTrackerAlignmentRcds.cc.
References mps_fire::result, and toSubDetector().
|
private |
Definition at line 378 of file CreateTrackerAlignmentRcds.cc.
References alignmentErrors_, alignments_, alignmentSurfaceDeformations_, cond::TimeTypeSpecs::beginValue, Exception, edm::Service< T >::isAvailable(), cond::runnumber, ntuplemaker::since, cond::timeTypeSpecs, and cond::service::PoolDBOutputService::writeOne().
Referenced by analyze().
|
private |
Definition at line 95 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 94 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 96 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT(), clearAlignmentInfos(), and writeToDB().
|
private |
Definition at line 91 of file CreateTrackerAlignmentRcds.cc.
Referenced by analyze().
|
private |
Definition at line 92 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), and analyze().
|
private |
Definition at line 93 of file CreateTrackerAlignmentRcds.cc.
Referenced by analyze().
|
private |
Definition at line 97 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), alignToGT(), and clearAlignmentInfos().
|
private |
Definition at line 90 of file CreateTrackerAlignmentRcds.cc.
Referenced by alignToGT().
|
private |
Definition at line 98 of file CreateTrackerAlignmentRcds.cc.
Referenced by addAlignmentInfo(), and alignToGT().