Go to the source code of this file.
Definition at line 10 of file test_wireplaneid.cxx.
17 cerr <<
"u.ident=" << u.ident() <<
" v.ident=" << v.ident() <<
" w.ident=" <<
w.ident() <<
endl;
18 cerr <<
"u=" << u <<
" v=" << v <<
" w=" <<
w <<
endl;
36 for (
int ilayer = 0; ilayer< 4; ++ilayer) {
38 for (
int face=0; face < 2 ; ++face) {
41 cerr <<
"Raw: " << ilayer <<
" " << layer <<
" " << face <<
" " <<
apa <<
endl;
45 cerr <<
"\twpid=" << wpid <<
endl;
47 cerr <<
"\tident=" << wpid.ident()
48 <<
" ilayer=" << wpid.ilayer()
49 <<
" layer=" << wpid.layer()
50 <<
" index=" << wpid.index() <<
endl;
53 if (ilayer) {
AssertMsg(wpid.valid(),
"known layer should give true wpid"); }
54 else {
AssertMsg(!wpid.valid(),
"unknown layer should give false wpid");}
56 Assert(ilayer-1 == wpid.index());
57 Assert(face == wpid.face());
WirePlaneLayer_t
Enumerate layer IDs. These are not indices!
QTextStream & endl(QTextStream &s)