CMS 3D CMS Logo

WriteESAlignments.h
Go to the documentation of this file.
1 #ifndef SOMEPACKAGE_WRITEESALIGNMENTS_H
2 #define SOMEPACKAGE_WRITEESALIGNMENTS_H 1
3 
4 namespace edm {
5  class ConsumesCollector;
6  class EventSetup;
7 } // namespace edm
8 
13 
15 public:
16  typedef Alignments* AliPtr;
17  typedef std::vector<AlignTransform> AliVec;
18 
21 
22  typedef std::vector<double> DVec;
23 
24  static const unsigned int k_nA;
25 
27 
29  const DVec& alphaVec,
30  const DVec& betaVec,
31  const DVec& gammaVec,
32  const DVec& xtranslVec,
33  const DVec& ytranslVec,
34  const DVec& ztranslVec);
35 
36 private:
37  void convert(const edm::EventSetup& eS,
38  const DVec& a,
39  const DVec& b,
40  const DVec& g,
41  const DVec& x,
42  const DVec& y,
43  const DVec& z,
44  AliVec& va);
45 
46  void write(AliPtr aliPtr);
47 
50 };
51 
52 #endif
WriteESAlignments::AliVec
std::vector< AlignTransform > AliVec
Definition: WriteESAlignments.h:17
DDAxes::y
WriteESAlignments::alignmentToken_
edm::ESGetToken< Alignments, ESAlignmentRcd > alignmentToken_
Definition: WriteESAlignments.h:49
edm
HLT enums.
Definition: AlignableModifier.h:19
AlignTransform::Rotation
CLHEP::HepRotation Rotation
Definition: AlignTransform.h:19
WriteESAlignments::Trl
AlignTransform::Translation Trl
Definition: WriteESAlignments.h:19
Alignments.h
AlignTransform::Translation
CLHEP::Hep3Vector Translation
Definition: AlignTransform.h:18
DDAxes::x
ESGetToken.h
WriteESAlignments::write
void write(AliPtr aliPtr)
Definition: WriteESAlignments.cc:42
WriteESAlignments::WriteESAlignments
WriteESAlignments(edm::ConsumesCollector &&cc)
Definition: WriteESAlignments.cc:16
DDAxes::z
b
double b
Definition: hdecay.h:118
CaloGeometryRecord.h
a
double a
Definition: hdecay.h:119
WriteESAlignments::k_nA
static const unsigned int k_nA
Definition: WriteESAlignments.h:24
edm::EventSetup
Definition: EventSetup.h:57
cc
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
WriteESAlignments::AliPtr
Alignments * AliPtr
Definition: WriteESAlignments.h:16
WriteESAlignments
Definition: WriteESAlignments.h:14
WriteESAlignments::DVec
std::vector< double > DVec
Definition: WriteESAlignments.h:22
WriteESAlignments::writeAlignments
void writeAlignments(const edm::EventSetup &eventSetup, const DVec &alphaVec, const DVec &betaVec, const DVec &gammaVec, const DVec &xtranslVec, const DVec &ytranslVec, const DVec &ztranslVec)
Definition: WriteESAlignments.cc:20
CaloGeometry.h
options_cfi.eventSetup
eventSetup
Definition: options_cfi.py:12
WriteESAlignments::geometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
Definition: WriteESAlignments.h:48
WriteESAlignments::Rot
AlignTransform::Rotation Rot
Definition: WriteESAlignments.h:20
EventSetup
Alignments
Definition: Alignments.h:10
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
g
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::convert
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)
Definition: WriteESAlignments.cc:53