CSCZSensorData

CSCZSensors

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 51
#ifndef CSCZSensors_H
#define CSCZSensors_H

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

/* #include "CondFormats/OptAlignObjects/interface/OpticalAlignInfo.h" */
#include <vector>
#include <string>

/**
   easy output...
**/

/* class CSCZSensors; */

/* std::ostream & operator<<(std::ostream &, const CSCZSensors &); */

class CSCZSensorData {
public:
  std::string sensorType_;
  int sensorNo_;
  std::string meLayer_;
  std::string logicalAlignmentName_;
  std::string cernDesignator_;
  std::string cernBarcode_;
  float absSlope_;
  float absSlopeError_;
  float normSlope_;
  float normSlopeError_;
  float absIntercept_;
  float absInterceptError_;
  float normIntercept_;
  float normInterceptError_;
  float shifts_;

  COND_SERIALIZABLE;
};

/**
   Description: Class for CSCZSensors for use as calibration.
**/
class CSCZSensors {
public:
  CSCZSensors() {}
  virtual ~CSCZSensors() {}
  std::vector<CSCZSensorData> cscZSens_;

  COND_SERIALIZABLE;
};

#endif  // CSCZSensors_H