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()) {}
52 <<
". Please check in the Provenance Infomation for proper modules.";
63 const std::vector<int>& src_modules =
src.getModules();
64 const std::vector<int>& src_nClus =
src.getNClusVector();
65 const std::vector<int>& src_clusSize =
src.getClusSizeVector();
66 const std::vector<float>& src_clusCharge =
src.getClusChargeVector();
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) {
static const std::vector< std::string > subDetNames
static const std::vector< std::string > variableNames
void copyNonEmpty(const ClusterSummary &src)
std::vector< float > clusCharge
std::vector< int > modules
static const std::vector< std::vector< std::string > > subDetSelections
ClusterSummary & operator=(const ClusterSummary &rhs)
Log< level::Warning, false > LogWarning
int getModuleLocation(int mod, bool warn=true) const
T mod(const T &a, const T &b)
std::vector< int > clusSize