OpticalAlignMeasurementInfo

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
#ifndef OpticalAlignMeasurementInfo_H
#define OpticalAlignMeasurementInfo_H

#include "CondFormats/Serialization/interface/Serializable.h"

#include <string>
#include <vector>
#include <iostream>

#include "CondFormats/OptAlignObjects/interface/OAQuality.h"
#include "CondFormats/OptAlignObjects/interface/OpticalAlignInfo.h"

/**
  easy output...
**/

class OpticalAlignMeasurementInfo;

std::ostream &operator<<(std::ostream &, const OpticalAlignMeasurementInfo &);

// a Class holding data for an Optical Alignment Measurement
/**
    Author:  Michael Case
    Date:    March 7, 2006

 **/

class OpticalAlignMeasurementInfo {
public:
  std::string type_;
  std::string name_;
  std::vector<std::string> measObjectNames_;
  std::vector<bool> isSimulatedValue_;
  std::vector<OpticalAlignParam>
      values_;  //names of measurement values (H:, V:, T:, ...)  Dimension of this vector gives dimension of Measurement
  unsigned int ID_;

  void clear() {
    ID_ = 0;
    type_ = "";
    name_ = "";
    measObjectNames_.clear();
    values_.clear();
    isSimulatedValue_.clear();
  }

  COND_SERIALIZABLE;
};

#endif  //OpticalAlignMeasureInfo_H