69 std::cerr <<
"internal error TGCHitPattern::getChannel()" << std::endl;
91 int size = strlen(pat);
93 for(
int i = 0; i < size; i++){
100 std::cout <<
"TGCHitPattern::setChannel() error : size is different" << std::endl;
115 if(i%
unit==0) std::cout<<
"\n_";
121 std::cout << std::endl;
128 std::cout <<
" [" <<
m_length <<
"bit] ";
137 std::cout << std::endl;
177 for(
int i=
m_length -1; i >= 0; i--){
193 for(i=0; i<Cycle; i++) {
194 for (j=0; j<Width; j++) std::cout <<
"=";
196 std::cout <<
" |\n| ";
197 for(i=0; i<Cycle; i++) {
198 for (j=0; j<Width; j++) {
199 if ((j == 0) && (i%10 == 0)) std::cout << i/10;
200 else std::cout <<
" ";
204 std::cout <<
" |\n| ";
205 for(i=0;
i<Cycle;
i++) {
206 for (j=0; j<
Width; j++) {
207 if (j == 0) std::cout <<
i%10;
208 else std::cout <<
" ";
212 std::cout <<
" |\n| ";
213 for(i=0;
i<Cycle;
i++) {
214 for (j=0; j<
Width; j++) std::cout <<
"-";
222 if ((i>0) && (i%Cycle==0)) std::cout<<
" |\n| ";
223 for (j=0; j<
Width; j++) {
225 else std::cout <<
".";
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
void setLength(int length)
TGCHitPattern & operator=(const TGCHitPattern &right)
bool getChannel(int iChannel) const
void push_back(TGCHitPattern *hp)
void setChannel(int iChannel, bool pattern)
void setPattern(bool *newpattern)
void visual(int Cycle, int Width, int Tag) const