ChamberLocationSpec

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
#ifndef CondFormatsRPCObjectsChamberLocationSpec_H
#define CondFormatsRPCObjectsChamberLocationSpec_H
#include "CondFormats/Serialization/interface/Serializable.h"

#include <string>

/* \class ChamberLocationSpec
 * Chamber Location specification as in online DB
 */

struct ChamberLocationSpec {
  int diskOrWheel;
  int layer;
  int sector;
  char subsector;
  char febZOrnt;
  char febZRadOrnt;
  char barrelOrEndcap;

  /// debug printout
  std::string print(int depth = 0) const;

  std::string chamberLocationName() const;

  COND_SERIALIZABLE;
};

#endif