4 #ifndef EVD_RAWDATADRAWER_H 5 #define EVD_RAWDATADRAWER_H 19 class DetectorPropertiesData;
28 class PlaneDataChangeTracker_t;
34 class RawDigitCacheDataClass;
36 typedef ::util::PlaneDataChangeTracker_t
CacheID_t;
70 bool bZoomToRoI =
false);
72 void FillQHisto(
const art::Event& evt,
unsigned int plane, TH1F* histo);
74 void FillTQHisto(
const art::Event& evt,
unsigned int plane,
unsigned int wire, TH1F* histo);
88 void ExtractRange(TVirtualPad* pPad, std::vector<double>
const* zoom =
nullptr);
91 void SetDrawingLimits(
float low_wire,
float high_wire,
float low_tdc,
float high_tdc);
93 int GetRegionOfInterest(
int plane,
int& minw,
int& maxw,
int& mint,
int& maxt);
96 void ResetRegionOfInterest();
102 void GetChargeSum(
int plane,
double& charge,
double& convcharge);
111 unsigned int width = 0;
112 unsigned int height = 0;
118 return (width != 0) && (height != 0);
122 operator bool()
const {
return isFilled(); }
176 void DrawRawDigit2D(
art::Event const& evt, evdb::View2D* view,
unsigned int plane);
195 void QueueDrawingBoxes(evdb::View2D* view,
197 std::vector<BoxInfo_t>
const& BoxInfo);
202 void RunRoIextractor(
art::Event const& evt,
unsigned int plane);
207 SetDrawingLimitsFromRoI(pid.
Plane);
Namespace for general, non-LArSoft-specific utilities.
double fStartTick
low tick
unsigned int PlaneID_t
Type for the ID number.
The data type to uniquely identify a Plane.
details::CacheID_t * fCacheID
information about the last processed plane
bool isFilled() const
Returns whether the stored value is valid.
std::vector< double > fRawCharge
Sum of Raw Charge.
std::vector< int > fWireMin
lowest wire in interesting region for each plane
std::vector< int > fTimeMax
highest time in interesting region for each plane
unsigned short Status_t
type representing channel status
double fTicks
number of ticks of the clock
PadResolution_t PadResolution
stored pad resolution
Cached set of RawDigitInfo_t.
std::vector< int > fWireMax
highest wire in interesting region for each plane
void SetDrawingLimitsFromRoI(geo::PlaneID const pid)
double TotalClockTicks() const
General LArSoft Utilities.
PlaneID_t Plane
Index of the plane within its TPC.
Definition of data types for geometry description.
Detects the presence of a new event, data product or wire plane.
Aid in the rendering of RawData objects.
Interface for experiment-specific channel quality info provider.
static std::vector< raw::RawDigit > const EmptyRawDigits
Empty collection, used in return value of invalid digits.
details::CellGridClass * fDrawingRange
information about the viewport
std::vector< int > fTimeMin
lowest time in interesting region for each plane
::util::PlaneDataChangeTracker_t CacheID_t
Manages a grid-like division of 2D space.
evd::details::RawDigitCacheDataClass * digit_cache
Cache of raw digits.
Event finding and building.
std::vector< double > fConvertedCharge
Sum of Charge Converted using Birks' formula.