CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
WriteESAlignments.h
Go to the documentation of this file.
1 #ifndef Geometry_EcalAlgo_WriteESAlignments_h
2 #define Geometry_EcalAlgo_WriteESAlignments_h
3 
4 namespace edm {
5  class ConsumesCollector;
6  class EventSetup;
7 } // namespace edm
8 
13 
15 public:
16  typedef std::vector<AlignTransform> AliVec;
17 
20 
21  typedef std::vector<double> DVec;
22 
23  static const unsigned int k_nA;
24 
26 
27  void writeAlignments(const edm::EventSetup& eventSetup,
28  const DVec& alphaVec,
29  const DVec& betaVec,
30  const DVec& gammaVec,
31  const DVec& xtranslVec,
32  const DVec& ytranslVec,
33  const DVec& ztranslVec);
34 
35 private:
36  void convert(const edm::EventSetup& eS,
37  const DVec& a,
38  const DVec& b,
39  const DVec& g,
40  const DVec& x,
41  const DVec& y,
42  const DVec& z,
43  AliVec& va);
44 
45  void write(const Alignments& ali);
46 
49 };
50 
51 #endif
AlignTransform::Rotation Rot
AlignTransform::Translation Trl
std::vector< AlignTransform > AliVec
CLHEP::Hep3Vector Translation
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
WriteESAlignments(edm::ConsumesCollector &&cc)
void write(const Alignments &ali)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
double b
Definition: hdecay.h:118
static const unsigned int k_nA
double a
Definition: hdecay.h:119
std::vector< double > DVec
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 writeAlignments(const edm::EventSetup &eventSetup, const DVec &alphaVec, const DVec &betaVec, const DVec &gammaVec, const DVec &xtranslVec, const DVec &ytranslVec, const DVec &ztranslVec)
edm::ESGetToken< Alignments, ESAlignmentRcd > alignmentToken_
CLHEP::HepRotation Rotation