26 std::string v_name = cover + side +
"CMA";
67 if (
m_params.etaIndex ==
id.eta_index() &&
m_params.phiIndex ==
id.phi_index())
return true;
70 if (
m_params.padIndex ==
id.PAD_index() &&
m_params.IxxIndex ==
id.Ixx_index())
return true;
78 if (*
this ==
id)
return false;
79 if (
m_params.view <
id.type())
return true;
80 if (
m_params.coverage <
id.coverage())
return true;
82 int id2 =
id.eta_index() * 10 +
id.phi_index();
87 if (*
this !=
id)
return *
this;
99 char exttag[5] = {
' ',
' ',
' ',
' ',
'\0'};
101 for (
int i = 0; i < 5; ++i) {
102 if (tag[i] ==
'\0')
break;
106 std::string
covtag(exttag);
108 std::string
type = (
id.type() == Phi) ?
" phi cma " +
covtag :
" eta cma " +
covtag;
110 stream <<
type << std::setw(2) <<
id.number() <<
": Eta ";
111 stream << std::setw(2) <<
id.eta_index();
112 stream <<
" Phi " << std::setw(2) <<
id.phi_index();
113 stream <<
" PAD " << std::setw(2) <<
id.PAD_index();
114 stream <<
" Ixx " << std::setw(2) <<
id.Ixx_index();
std::ostream & operator<<(std::ostream &stream, const CMAidentity &id)
CMAidentity(const defineParams &pars)
CMAidentity & operator+=(const CMAidentity &)
static const std::string name(const ViewType, const CMAcoverage)
static const char * covtag(const CMAcoverage co)
CMAcoverage coverage() const
bool operator!=(const CMAidentity &) const
bool operator==(const CMAidentity &) const
bool operator<(const CMAidentity &) const
static const char CoverageTAG[3][5]
static bool coverage(const std::string &, CMAcoverage &)
std::pair< int, int > Offline_indexes