198 unsigned int minT = 0;
201 float ThumbFactor = 0.85;
202 unsigned int binT = (maxT-minT)*ThumbFactor;
215 std::stringstream hname;
246 hname.str(
""); hname <<
"fAmbigWireU0_" <<
apa <<
"_" <<
evt;
248 hname.str(
""); hname <<
"fCheatWireU0_" <<
apa <<
"_" <<
evt;
250 hname.str(
""); hname <<
"fDisambigWireU0_" <<
apa <<
"_" <<
evt;
253 hname.str(
""); hname <<
"fAmbigWireV0_" <<
apa <<
"_" <<
evt;
255 hname.str(
""); hname <<
"fCheatWireV0_" <<
apa <<
"_" <<
evt;
257 hname.str(
""); hname <<
"fDisambigWireV0_" <<
apa <<
"_" <<
evt;
260 hname.str(
""); hname <<
"fAmbigWireU1_" <<
apa <<
"_" <<
evt;
262 hname.str(
""); hname <<
"fCheatWireU1_" <<
apa <<
"_" <<
evt;
264 hname.str(
""); hname <<
"fDisambigWireU1_" <<
apa <<
"_" <<
evt;
267 hname.str(
""); hname <<
"fAmbigWireV1_" <<
apa <<
"_" <<
evt;
269 hname.str(
""); hname <<
"fCheatWireV1_" <<
apa <<
"_" <<
evt;
271 hname.str(
""); hname <<
"fDisambigWireV1_" <<
apa <<
"_" <<
evt;
285 hname.str(
""); hname <<
"fTimeChanZ0_" <<
apa <<
"_" <<
evt;
286 fTimeChanZ0[evt-1][
apa] = tfs->make<TH2I>( hname.str().c_str(),
"",
287 (fZ0ChanMax - fZ0ChanMin + 1)*ThumbFactor,
288 fZ0ChanMin, fZ0ChanMax,
289 binT, minZ0T, maxZ0T);
291 hname.str(
""); hname <<
"fTimeChanZ1_" <<
apa <<
"_" <<
evt;
292 fTimeChanZ1[evt-1][
apa] = tfs->make<TH2I>( hname.str().c_str(),
"",
293 (fZ1ChanMax - fZ1ChanMin + 1)*ThumbFactor,
294 fZ1ChanMin, fZ1ChanMax, binT, minT, maxT);
std::vector< std::vector< TH2I * > > fAmbigWireU0
std::vector< std::vector< TH2I * > > fDisambigWireU1
std::vector< geo::WireID > ChannelToWire(raw::ChannelID_t const channel) const
Returns a list of wires connected to the specified TPC channel.
Planes which measure Z direction.
std::vector< std::vector< TH2I * > > fCheatWireV1
unsigned int Nwires(unsigned int p, unsigned int tpc=0, unsigned int cstat=0) const
Returns the total number of wires in the specified plane.
std::vector< std::vector< TH2I * > > fAmbigWireU1
unsigned int Nchannels() const
Returns the number of TPC readout channels in the detector.
std::vector< std::vector< TH2I * > > fTimeChanZ0
std::vector< std::vector< TH2I * > > fDisambigWireU0
std::vector< std::vector< TH2I * > > fCheatWireV0
std::vector< std::vector< TH2I * > > fAmbigWireV0
art::ServiceHandle< geo::Geometry > fGeom
View_t View(geo::PlaneID const &pid) const
Returns the view (wire orientation) on the channels of specified TPC plane.
std::vector< std::vector< TH2I * > > fCheatWireU1
unsigned int fChansPerAPA
unsigned int NTPC(unsigned int cstat=0) const
Returns the total number of TPCs in the specified cryostat.
std::vector< std::vector< TH2I * > > fDisambigWireV1
std::vector< std::vector< TH2I * > > fAmbigWireV1
std::vector< std::vector< TH2I * > > fDisambigWireV0
std::vector< std::vector< TH2I * > > fTimeChanZ1
std::vector< std::vector< TH2I * > > fCheatWireU0