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
|
#ifndef DataFormats_SiStripCommon_ConstantsForCablingSource_H
#define DataFormats_SiStripCommon_ConstantsForCablingSource_H
#include "DataFormats/SiStripCommon/interface/Constants.h"
#include <string>
/**
@file ConstantsForCablingSource.h
@brief Constants and enumerated type for defining the various
"sources" of cabling object information.
*/
namespace sistrip {
// ---------- Constants ----------
static const char unknownCablingSource_[] = "UnknownCablingSource";
static const char undefinedCablingSource_[] = "UndefinedCablingSource";
static const char cablingFromConns_[] = "CablingFromConnections";
static const char cablingFromDevices_[] = "CablingFromDevices";
static const char cablingFromDetIds_[] = "CablingFromDetIds";
// ---------- Enumerated type ----------
enum CablingSource {
UNKNOWN_CABLING_SOURCE = sistrip::unknown_,
UNDEFINED_CABLING_SOURCE = sistrip::invalid_,
CABLING_FROM_CONNS = 1,
CABLING_FROM_DEVICES = 2,
CABLING_FROM_DETIDS = 3
};
} // namespace sistrip
#endif // DataFormats_SiStripCommon_ConstantsForCablingSource_H
|