#include <WriteESAlignments.h>
Public Types | |
typedef Alignments * | AliPtr |
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 (AliPtr aliPtr) |
Private Attributes | |
edm::ESGetToken< Alignments, ESAlignmentRcd > | alignmentToken_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geometryToken_ |
Definition at line 14 of file WriteESAlignments.h.
typedef Alignments* WriteESAlignments::AliPtr |
Definition at line 16 of file WriteESAlignments.h.
typedef std::vector<AlignTransform> WriteESAlignments::AliVec |
Definition at line 17 of file WriteESAlignments.h.
typedef std::vector<double> WriteESAlignments::DVec |
Definition at line 22 of file WriteESAlignments.h.
Definition at line 20 of file WriteESAlignments.h.
Definition at line 19 of file WriteESAlignments.h.
WEA::WriteESAlignments | ( | edm::ConsumesCollector && | cc | ) |
Definition at line 16 of file WriteESAlignments.cc.
|
private |
Definition at line 53 of file WriteESAlignments.cc.
References a, alignmentToken_, zMuMuMuonUserData::alpha, b, zMuMuMuonUserData::beta, gather_cfg::cout, EcalPreshowerGeometry::detIdFromLocalAlignmentIndex(), DetId::Ecal, EcalPreshower, g, CustomPhysics_cfi::gamma, relativeConstraints::geom, geometryToken_, edm::EventSetup::getData(), mps_fire::i, triggerObjects_cff::id, k_nA, idealTransformation::rotation, x, y, and z.
Referenced by writeAlignments().
|
private |
Definition at line 42 of file WriteESAlignments.cc.
References gather_cfg::cout, cond::service::PoolDBOutputService::currentTime(), edm::Service< T >::isAvailable(), and cond::service::PoolDBOutputService::writeOne().
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 20 of file WriteESAlignments.cc.
References cms::cuda::assert(), convert(), k_nA, and write().
|
private |
Definition at line 49 of file WriteESAlignments.h.
Referenced by convert().
|
private |
Definition at line 48 of file WriteESAlignments.h.
Referenced by convert().
|
static |
Definition at line 24 of file WriteESAlignments.h.
Referenced by convert(), and writeAlignments().