64 const string myname =
"strumTpcWires: ";
68 cout << myname <<
"Geometry not found." <<
endl;
73 if ( ! pgeo->
HasTPC(tid) ) {
74 cout << myname <<
"TPC not found: " << tid <<
endl;
81 for (
Index ipla=0; ipla<npla; ++ipla ) {
85 for (
Index iwir=0; iwir<nwir; ++iwir ) {
89 if ( ++isam >= nsam ) isam = 0;
unsigned int Nplanes() const
Number of planes in this tpc.
The data type to uniquely identify a Plane.
Geometry information for a single TPC.
int fill(AdcChannelData &acd, Index icha, Index isam0)
std::string DetectorName() const
Returns a string with the name of the detector, as configured.
Geometry information for a single wire plane.The plane is represented in the geometry by a solid whic...
The data type to uniquely identify a TPC.
bool HasTPC(geo::TPCID const &tpcid) const
Returns whether we have the specified TPC.
raw::ChannelID_t PlaneWireToChannel(WireID const &wireid) const
Returns the ID of the TPC channel connected to the specified wire.
unsigned int Nwires() const
Number of wires in this plane.
TPCGeo const & TPC(unsigned int const tpc=0, unsigned int const cstat=0) const
Returns the specified TPC.
PlaneGeo const & Plane(geo::View_t view) const
Return the plane in the tpc with View_t view.
QTextStream & endl(QTextStream &s)