5 "STRIP",
"TOB",
"TIB",
"TID",
"TEC",
"PIXEL",
"BPIX",
"FPIX"};
7 {
"0x1e000000-0x1A000000",
"0x1e000000-0x16000000",
"0x1e000000-0x18000000",
"0x1e000000-0x1C000000"},
8 {
"0x1e000000-0x1A000000"},
9 {
"0x1e000000-0x16000000"},
10 {
"0x1e000000-0x18000000"},
11 {
"0x1e000000-0x1C000000"},
12 {
"0x1e000000-0x12000000",
"0x1e000000-0x14000000"},
13 {
"0x1e000000-0x12000000"},
14 {
"0x1e000000-0x14000000"}};
20 :
modules(nSelections), nClus(nSelections), clusSize(nSelections), clusCharge(nSelections) {
21 for (
int i = 0;
i < nSelections; ++
i)
38 nClus(src.getNClusVector()),
39 clusSize(src.getClusSizeVector()),
40 clusCharge(src.getClusChargeVector()) {}
51 edm::LogWarning(
"NoModule") <<
"No information for requested module " << mod
52 <<
". Please check in the Provinence Infomation for proper modules.";
63 const std::vector<int>& src_modules = src.
getModules();
68 modules.reserve(src_modules.size());
69 nClus.reserve(src_modules.size());
70 clusSize.reserve(src_modules.size());
73 for (
unsigned int iM = 0; iM < src_nClus.size(); ++iM) {
74 if (src.
nClus[iM] != 0) {
75 modules.push_back(src_modules[iM]);
76 nClus.push_back(src_nClus[iM]);
77 clusSize.push_back(src_clusSize[iM]);
84 for (
unsigned int iM = 0; iM <
modules.size(); ++iM) {
const std::vector< int > & getClusSizeVector() const
static const std::vector< std::string > subDetNames
static const std::vector< std::string > variableNames
void copyNonEmpty(const ClusterSummary &src)
const std::vector< float > & getClusChargeVector() const
std::vector< float > clusCharge
int getModuleLocation(int mod, bool warn=true) const
std::vector< int > modules
static const std::vector< std::vector< std::string > > subDetSelections
const std::vector< int > & getNClusVector() const
ClusterSummary & operator=(const ClusterSummary &rhs)
Log< level::Warning, false > LogWarning
const std::vector< int > & getModules() const
T mod(const T &a, const T &b)
std::vector< int > clusSize