Skip to content

Commit

Permalink
Some helpful addition to prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Sep 19, 2018
1 parent 4cf1566 commit 648ac80
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DataFormats/ForwardDetId/src/HFNoseDetId.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ HFNoseDetId& HFNoseDetId::operator=(const DetId& gen) {
}

std::ostream& operator<<(std::ostream& s,const HFNoseDetId& id) {
return s << " EE:HE= " << id.isEE() << ":" << id.isHE()
return s << " HFNoseDetId::EE:HE= " << id.isEE() << ":" << id.isHE()
<< " type= " << id.type() << " z= " << id.zside()
<< " layer= " << id.layer()
<< " wafer(u,v:x,y)= (" << id.waferU() << "," << id.waferV() << ":"
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/ForwardDetId/src/HGCScintillatorDetId.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ HGCScintillatorDetId& HGCScintillatorDetId::operator=(const DetId& gen) {
}

std::ostream& operator<<(std::ostream& s,const HGCScintillatorDetId& id) {
return s << " EE:HE= " << id.isEE() << ":" << id.isHE()
return s << " HGCScintillatorDetId::EE:HE= " << id.isEE() << ":" << id.isHE()
<< " type= " << id.type() << " layer= " << id.layer()
<< " radius= " << id.iradius() << " phi= " << id.iphi();
}
2 changes: 1 addition & 1 deletion DataFormats/ForwardDetId/src/HGCSiliconDetId.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ HGCSiliconDetId& HGCSiliconDetId::operator=(const DetId& gen) {
}

std::ostream& operator<<(std::ostream& s,const HGCSiliconDetId& id) {
return s << " EE:HE= " << id.isEE() << ":" << id.isHE()
return s << " HGCSiliconDetId::EE:HE= " << id.isEE() << ":" << id.isHE()
<< " type= " << id.type() << " z= " << id.zside()
<< " layer= " << id.layer()
<< " wafer(u,v:x,y)= (" << id.waferU() << "," << id.waferV() << ":"
Expand Down
8 changes: 4 additions & 4 deletions DataFormats/ForwardDetId/src/HGCalDetId.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ bool HGCalDetId::isValid(ForwardSubdetector subdet, int zp, int lay, int waferty


std::ostream& operator<<(std::ostream& s,const HGCalDetId& id) {
return s << "isHGCal=" << id.isHGCal() << " subdet= " << id.subdetId()
<< " zpos=" << id.zside() << " layer=" << id.layer()
<< " wafer type=" << id.waferType() << " wafer=" << id.wafer()
<< " cell=" << id.cell();
return s << "HGCalDetId::isHGCal=" << id.isHGCal() << " subdet= "
<< id.subdetId() << " zpos=" << id.zside() << " layer="
<< id.layer() << " wafer type=" << id.waferType() << " wafer="
<< id.wafer() << " cell=" << id.cell();
}

0 comments on commit 648ac80

Please sign in to comment.