View

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
#ifndef DataFormats_SiStripCommon_ConstantsForView_H
#define DataFormats_SiStripCommon_ConstantsForView_H

#include "DataFormats/SiStripCommon/interface/Constants.h"
#include <string>

/** 
    @file ConstantsForView.h

    @brief Constants and enumerated types for sistrip::View
*/

namespace sistrip {

  // ---------- Constants ----------

  static const char unknownView_[] = "UnknownView";
  static const char undefinedView_[] = "UndefinedView";

  static const char readoutView_[] = "ReadoutView";
  static const char controlView_[] = "ControlView";
  static const char detectorView_[] = "DetectorView";

  // ---------- Enumerated type ----------

  enum View {
    UNKNOWN_VIEW = sistrip::unknown_,
    UNDEFINED_VIEW = sistrip::invalid_,
    READOUT_VIEW = 1,
    CONTROL_VIEW = 2,
    DETECTOR_VIEW = 3
  };

}  // namespace sistrip

#endif  // DataFormats_SiStripCommon_ConstantsForView_H