Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:25

0001 #ifndef OpticalAlignMeasurementInfo_H
0002 #define OpticalAlignMeasurementInfo_H
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <string>
0007 #include <vector>
0008 #include <iostream>
0009 
0010 #include "CondFormats/OptAlignObjects/interface/OAQuality.h"
0011 #include "CondFormats/OptAlignObjects/interface/OpticalAlignInfo.h"
0012 
0013 /**
0014   easy output...
0015 **/
0016 
0017 class OpticalAlignMeasurementInfo;
0018 
0019 std::ostream &operator<<(std::ostream &, const OpticalAlignMeasurementInfo &);
0020 
0021 // a Class holding data for an Optical Alignment Measurement
0022 /**
0023     Author:  Michael Case
0024     Date:    March 7, 2006
0025 
0026  **/
0027 
0028 class OpticalAlignMeasurementInfo {
0029 public:
0030   std::string type_;
0031   std::string name_;
0032   std::vector<std::string> measObjectNames_;
0033   std::vector<bool> isSimulatedValue_;
0034   std::vector<OpticalAlignParam>
0035       values_;  //names of measurement values (H:, V:, T:, ...)  Dimension of this vector gives dimension of Measurement
0036   unsigned int ID_;
0037 
0038   void clear() {
0039     ID_ = 0;
0040     type_ = "";
0041     name_ = "";
0042     measObjectNames_.clear();
0043     values_.clear();
0044     isSimulatedValue_.clear();
0045   }
0046 
0047   COND_SERIALIZABLE;
0048 };
0049 
0050 #endif  //OpticalAlignMeasureInfo_H