CMS 3D CMS Logo

FebConnectorSpec.h
Go to the documentation of this file.
1 #ifndef CondFormatsRPCObjectsFebConnectorSpec_H
2 #define CondFormatsRPCObjectsFebConnectorSpec_H
3 
5 
6 #include <vector>
11 #include <string>
12 
24 public:
27 
29  int linkBoardInputNum() const { return theLinkBoardInputNum; }
30 
32  void addStrips(int algo) { theAlgo = algo; }
33 
35  const ChamberStripSpec strip(int pinNumber) const;
36 
38  const uint32_t& rawId() const;
39 
40  const ChamberLocationSpec& chamber() const { return theChamber; }
41  const FebLocationSpec& feb() const { return theFeb; }
42 
43  const int nstrips() const { return theAlgo / 10000; }
44 
45  const int chamberStripNum(int istrip) const;
46 
47  const int cmsStripNum(int istrip) const { return 0; }
48 
49  const int cablePinNum(int istrip) const;
50 
52  std::string print(int depth = 0) const;
53 
54 private:
56 
59 
60  int theAlgo;
61  mutable uint32_t theRawId COND_TRANSIENT;
62 
64 };
65 
66 #endif
ChamberLocationSpec
Definition: ChamberLocationSpec.h:11
FebConnectorSpec::theFeb
FebLocationSpec theFeb
Definition: FebConnectorSpec.h:58
ChamberStripSpec.h
FebConnectorSpec::strip
const ChamberStripSpec strip(int pinNumber) const
strip info for input pin
Definition: FebConnectorSpec.cc:9
FebConnectorSpec::FebConnectorSpec
FebConnectorSpec(int num=-1)
Definition: FebConnectorSpec.h:25
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
FebConnectorSpec::print
std::string print(int depth=0) const
debug
Definition: FebConnectorSpec.cc:71
COND_TRANSIENT
#define COND_TRANSIENT
Definition: Serializable.h:63
ChamberStripSpec
Definition: ChamberStripSpec.h:11
FebLocationSpec.h
FebConnectorSpec::theChamber
ChamberLocationSpec theChamber
Definition: FebConnectorSpec.h:57
FebConnectorSpec::cablePinNum
const int cablePinNum(int istrip) const
Definition: FebConnectorSpec.cc:52
FebConnectorSpec::chamberStripNum
const int chamberStripNum(int istrip) const
Definition: FebConnectorSpec.cc:40
cmsdt::algo
algo
Definition: constants.h:165
FebConnectorSpec::theLinkBoardInputNum
int theLinkBoardInputNum
Definition: FebConnectorSpec.h:55
FebConnectorSpec::theAlgo
int theAlgo
Definition: FebConnectorSpec.h:60
FebConnectorSpec::rawId
const uint32_t & rawId() const
DetUnit to which data belongs.
Definition: FebConnectorSpec.cc:64
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FebConnectorSpec::feb
const FebLocationSpec & feb() const
Definition: FebConnectorSpec.h:41
FebConnectorSpec::theRawId
uint32_t theRawId
Definition: FebConnectorSpec.h:61
Serializable.h
FebConnectorSpec::addStrips
void addStrips(int algo)
add strip info
Definition: FebConnectorSpec.h:32
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
FebLocationSpec
Definition: FebLocationSpec.h:12
DetId.h
FebConnectorSpec::linkBoardInputNum
int linkBoardInputNum() const
this FEB channel in LinkBoard
Definition: FebConnectorSpec.h:29
FebConnectorSpec::nstrips
const int nstrips() const
Definition: FebConnectorSpec.h:43
FebConnectorSpec::chamber
const ChamberLocationSpec & chamber() const
Definition: FebConnectorSpec.h:40
ChamberLocationSpec.h
FebConnectorSpec
Definition: FebConnectorSpec.h:23
FebConnectorSpec::cmsStripNum
const int cmsStripNum(int istrip) const
Definition: FebConnectorSpec.h:47