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 
28  void writeAlignments(const edm::EventSetup& eventSetup,
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
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
def convert(infile, ofile)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
double b
Definition: hdecay.h:118
static const unsigned int k_nA
HLT enums.
double a
Definition: hdecay.h:119
std::vector< double > DVec
edm::ESGetToken< Alignments, ESAlignmentRcd > alignmentToken_
CLHEP::HepRotation Rotation