6 {
"0x1e000000-0x1A000000",
"0x1e000000-0x16000000",
"0x1e000000-0x18000000",
"0x1e000000-0x1C000000"},
7 {
"0x1e000000-0x1A000000"},{
"0x1e000000-0x16000000"},{
"0x1e000000-0x18000000"},{
"0x1e000000-0x1C000000"},
8 {
"0x1e000000-0x12000000",
"0x1e000000-0x14000000"},
9 {
"0x1e000000-0x12000000"},{
"0x1e000000-0x14000000"}
44 for (
auto m :
modules){++iM;
if (
m==mod)
return iM;}
47 edm::LogWarning(
"NoModule") <<
"No information for requested module "<<mod<<
". Please check in the Provinence Infomation for proper modules.";
58 const std::vector<int> & src_modules = src.
getModules();
63 modules .reserve(src_modules.size());
64 nClus .reserve(src_modules.size());
65 clusSize .reserve(src_modules.size());
68 for(
unsigned int iM = 0; iM < src_nClus.size(); ++iM){
69 if(src.
nClus[iM] != 0){
70 modules .push_back(src_modules [iM]);
71 nClus .push_back(src_nClus [iM]);
72 clusSize .push_back(src_clusSize [iM]);
79 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)
const std::vector< int > & getModules() const
T mod(const T &a, const T &b)
std::vector< int > clusSize