19 const string myname =
"AdcChannelDataTester::fill: ";
26 for (
Index isam=0; isam<
rawwf.size(); ++isam ) {
30 for (
Index isam=0; isam<
samwf.size(); ++isam ) {
41 const string myname =
"strumChannels: ";
46 cout << myname <<
"Geometry not found." <<
endl;
51 for (
Index icha=0; icha<ncha; ++icha ) {
53 fill(acds[icha], icha, icha);
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;
102 const string myname =
"strumCryoWires: ";
106 cout << myname <<
"Geometry not found." <<
endl;
111 for (
Index itpc=0; itpc<gcry.
NTPC(); ++itpc ) {
124 const string myname =
"strumDetectorWires: ";
128 cout << myname <<
"Geometry not found." <<
endl;
133 for (
Index icry=0; icry<ncry; ++icry ) {
unsigned int Nplanes() const
Number of planes in this tpc.
The data type to uniquely identify a Plane.
Geometry information for a single TPC.
Geometry information for a single cryostat.
unsigned int Ncryostats() const
Returns the number of cryostats in the detector.
art framework interface to geometry description
std::vector< float > samwf
unsigned int Nchannels() const
Returns the number of TPC readout channels in the detector.
int strumCryoWires(AdcChannelDataMap &acds, Index icry=0)
void setChannelInfo(ChannelInfoPtr pchi)
int fill(AdcChannelData &acd, Index icha, Index isam0)
std::string DetectorName() const
Returns a string with the name of the detector, as configured.
int strumChannels(AdcChannelDataMap &acds, Index ncha=0)
Geometry information for a single wire plane.The plane is represented in the geometry by a solid whic...
void setEventInfo(EventInfoPtr pevi)
unsigned int NTPC() const
Number of TPCs in this cryostat.
CryostatGeo const & Cryostat(geo::CryostatID const &cryoid) const
Returns the specified cryostat.
The data type to uniquely identify a TPC.
Q_EXPORT QTSManip setw(int w)
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.
int strumTpcWires(AdcChannelDataMap &acds, Index itpc, Index icry=0)
std::map< AdcChannel, AdcChannelData > AdcChannelDataMap
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.
int strumDetectorWires(AdcChannelDataMap &acds)
QTextStream & endl(QTextStream &s)
Event finding and building.
std::vector< short > rawwf