146 throw cet::exception(
"RawEVDDP") <<
"For DUNE DP expected to have only 2 views ";
150 unsigned int minT = 0;
152 unsigned int binT = (maxT-minT);
156 int nBins = (
int)((maxADC - minADC)/2.0);
158 for(
unsigned int i=0;i<
fGeom->
NTPC();i++)
162 name <<
"fTimeChanU";
165 title <<
"Time vs Channel(Plane U, CRM";
167 TempHisto2 = tfs->make<TH2I>(name.str().c_str(),title.str().c_str(),
fChPerView, 0,
fChPerView, binT, minT, maxT);
171 name <<
"fTimeChanThumbU";
174 title <<
"Time vs Channel(Plane U, CRM";
176 TempHisto2 = tfs->make<TH2I>(name.str().c_str(),title.str().c_str(), 32, 0,
fChPerView, 32, minT, maxT);
183 title <<
"Max ADC per channel (Plane U, CRM";
185 TempHisto1 = tfs->make<TH1I>(name.str().c_str(),title.str().c_str(), nBins, minADC, maxADC);
190 name <<
"fTimeChanV";
193 title <<
"Time vs Channel(Plane V, CRM";
195 TempHisto2 = tfs->make<TH2I>(name.str().c_str(),title.str().c_str(),
fChPerView, 0,
fChPerView, binT, minT, maxT);
199 name <<
"fTimeChanThumbV";
202 title <<
"Time vs Channel(Plane V, CRM";
204 TempHisto2 = tfs->make<TH2I>(name.str().c_str(),title.str().c_str(), 32, 0,
fChPerView, 32, minT, maxT);
211 title <<
"Max ADC per channel (Plane V, CRM";
213 TempHisto1 = tfs->make<TH1I>(name.str().c_str(),title.str().c_str(), nBins, minADC, maxADC);
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
std::vector< TH2I * > fTimeChanU
unsigned int Ncryostats() const
Returns the number of cryostats in the detector.
unsigned int Nchannels() const
Returns the number of TPC readout channels in the detector.
std::vector< TH2I * > fTimeChanV
std::vector< TH2I * > fTimeChanThumbU
std::vector< TH1I * > fADCMaxDistU
unsigned int NTPC(unsigned int cstat=0) const
Returns the total number of TPCs in the specified cryostat.
art::ServiceHandle< geo::Geometry > fGeom
unsigned int Nviews() const
Returns the number of views (different wire orientations)
std::vector< TH2I * > fTimeChanThumbV
cet::coded_exception< error, detail::translate > exception
std::vector< TH1I * > fADCMaxDistV