#include <WriteESAlignments.h>
Public Types | |
typedef std::vector< AlignTransform > | AliVec |
typedef std::vector< double > | DVec |
typedef AlignTransform::Rotation | Rot |
typedef AlignTransform::Translation | Trl |
Public Member Functions | |
void | writeAlignments (const edm::EventSetup &eventSetup, const DVec &alphaVec, const DVec &betaVec, const DVec &gammaVec, const DVec &xtranslVec, const DVec &ytranslVec, const DVec &ztranslVec) |
WriteESAlignments (edm::ConsumesCollector &&cc) | |
Static Public Attributes | |
static const unsigned int | k_nA = EcalPreshowerGeometry::numberOfAlignments() |
Private Member Functions | |
void | convert (const edm::EventSetup &eS, const DVec &a, const DVec &b, const DVec &g, const DVec &x, const DVec &y, const DVec &z, AliVec &va) |
void | write (const Alignments &ali) |
Private Attributes | |
edm::ESGetToken< Alignments, ESAlignmentRcd > | alignmentToken_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geometryToken_ |
Definition at line 14 of file WriteESAlignments.h.
typedef std::vector<AlignTransform> WriteESAlignments::AliVec |
Definition at line 16 of file WriteESAlignments.h.
typedef std::vector<double> WriteESAlignments::DVec |
Definition at line 21 of file WriteESAlignments.h.
Definition at line 19 of file WriteESAlignments.h.
Definition at line 18 of file WriteESAlignments.h.
WEA::WriteESAlignments | ( | edm::ConsumesCollector && | cc | ) |
Definition at line 17 of file WriteESAlignments.cc.
References gpuPixelDoublets::cc.
|
private |
Definition at line 54 of file WriteESAlignments.cc.
References a, alignmentToken_, alpha, b, HLT_2022v15_cff::beta, EcalPreshowerGeometry::detIdFromLocalAlignmentIndex(), DetId::Ecal, EcalPreshower, g, CustomPhysics_cfi::gamma, relativeConstraints::geom, geometryToken_, edm::EventSetup::getData(), mps_fire::i, l1ctLayer2EG_cff::id, k_nA, idealTransformation::rotation, x, y, and z.
Referenced by writeAlignments().
|
private |
Definition at line 43 of file WriteESAlignments.cc.
References cond::service::PoolDBOutputService::currentTime(), edm::Service< T >::isAvailable(), and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by writeAlignments().
void WEA::writeAlignments | ( | const edm::EventSetup & | eventSetup, |
const DVec & | alphaVec, | ||
const DVec & | betaVec, | ||
const DVec & | gammaVec, | ||
const DVec & | xtranslVec, | ||
const DVec & | ytranslVec, | ||
const DVec & | ztranslVec | ||
) |
Definition at line 21 of file WriteESAlignments.cc.
References cms::cuda::assert(), convert(), options_cfi::eventSetup, k_nA, and write().
|
private |
Definition at line 48 of file WriteESAlignments.h.
Referenced by convert().
|
private |
Definition at line 47 of file WriteESAlignments.h.
Referenced by convert().
|
static |
Definition at line 23 of file WriteESAlignments.h.
Referenced by convert(), and writeAlignments().