62 "Channel Occupancies",
63 "run:subrun:view:ip:ic:occ");
87 std::vector< art::Ptr<rawdata::RawDigit> > digi;
88 for (i=0; i<digidummy->size(); ++
i) {
96 for (i=0; i<digi.size(); ++
i) {
100 int c = cmap->
GetCell(digi[i].
get());
113 if (
fNevt<=10000)
return;
void reconfigure(const fhicl::ParameterSet &p)
SubRunNumber_t subRun() const
float fADCThresh
Filter hits below this ADC threshold.
unsigned int Ncells() const
Number of cells in this plane.
const PlaneGeo * Plane(unsigned int i) const
DEFINE_ART_MODULE(TestTMapFile)
static const int kCELL_MAX
View_t View() const
Which coordinate does this plane measure.
void endSubRun(art::SubRun const &sr)
Commissioning files to look at the quality of our data.
T get(std::string const &key) const
double fNhit[kPLANE_MAX][kCELL_MAX]
Number of hits by plane/cell.
unsigned short GetPlane(const rawdata::RawDigit *dig)
EDAnalyzer(Table< Config > const &config)
Module to produce ntuples of channel occupancies.
T * make(ARGS...args) const
ChanOcc(fhicl::ParameterSet const &pset)
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
static const int kPLANE_MAX
double fNevt
Number of events seen.
unsigned short GetCell(const rawdata::RawDigit *dig)
unsigned int NPlanes() const
void analyze(art::Event const &evt)
Encapsulate the geometry of one entire detector (near, far, ndos)
TNtuple * fNt
Ntuple summarizing channel occupancies.