14 #include "nuevdb/EventDisplayBase/EventHolder.h"    71     const art::Event* 
event = evdb::EventHolder::Instance()->GetEvent();
    78     fMaximum = std::numeric_limits<float>::lowest();
    83       event->getByLabel(rawDataLabel, rawDigitVecHandle);
    85       if (!rawDigitVecHandle.
isValid()) 
continue;
    87       for (
size_t rawDigitIdx = 0; rawDigitIdx < rawDigitVecHandle->size(); rawDigitIdx++) {
   109             << 
".  Pedestals not subtracted.";
   112         std::vector<short> uncompressed(rawDigit->
Samples());
   117         for (
size_t idx = 0; idx < uncompressed.size(); idx++) {
   118           float signalVal = 
float(uncompressed[idx]) - pedestal;
   120           histPtr->Fill(
float(idx) + 0.5, signalVal);
   123         short minimumVal = *std::min_element(uncompressed.begin(), uncompressed.end());
   124         short maximumVal = *std::max_element(uncompressed.begin(), uncompressed.end());
   129         histPtr->SetLineColor(kBlack);
   145     histPtr->SetMaximum(maxHiVal);
   146     histPtr->SetMinimum(maxLowVal);
   148     histPtr->Draw(options.c_str());
   166     int numBins = numTicks;
   169       "fRAWQHisto", 
";t [ticks];q [ADC]", numBins, startTick, startTick + numTicks);
   173     histPtr->SetMaximum(cst->
fRawQHigh[(
size_t)sigType]);
   174     histPtr->SetMinimum(cst->
fRawQLow[(
size_t)sigType]);
   176     histPtr->SetLineColor(kBlack);
   177     histPtr->SetLineWidth(1);
   179     histPtr->GetXaxis()->SetLabelSize(0.10);   
   180     histPtr->GetXaxis()->SetLabelOffset(0.01); 
   181     histPtr->GetXaxis()->SetTitleSize(0.10);   
   182     histPtr->GetXaxis()->SetTitleOffset(0.60); 
   184     histPtr->GetYaxis()->SetLabelSize(0.10);    
   185     histPtr->GetYaxis()->SetLabelOffset(0.002); 
   186     histPtr->GetYaxis()->SetTitleSize(0.10);    
   187     histPtr->GetYaxis()->SetTitleOffset(0.16);  
 float GetPedestal() const 
 
const ADCvector_t & ADCs() const 
Reference to the compressed ADC count vector. 
 
std::vector< double > fRawQLow
low edge of ADC values for drawing raw digits 
 
ULong64_t Samples() const 
Number of samples in the uncompressed ADC data. 
 
ChannelID_t Channel() const 
DAQ channel this raw data was read from. 
 
SigType_t SignalType(geo::PlaneID const &pid) const 
Returns the type of signal on the channels of specified TPC plane. 
 
art framework interface to geometry description 
 
bool isValid() const  noexcept
 
enum geo::_plane_sigtype SigType_t
 
static int max(int a, int b)
 
std::vector< double > fRawQHigh
high edge of ADC values for drawing raw digits 
 
raw::Compress_t Compression() const 
Compression algorithm used to store the ADC counts. 
 
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
 
std::vector< art::InputTag > fRawDataLabels
module label that made the raw digits, default is daq 
 
virtual float PedMean(raw::ChannelID_t ch) const  =0
Retrieve pedestal information. 
 
unsigned int ChannelID_t
Type representing the ID of a readout channel. 
 
void Uncompress(const std::vector< short > &adc, std::vector< short > &uncompressed, raw::Compress_t compress)
Uncompresses a raw data buffer. 
 
int fPedestalOption
0: use DetPedestalService; 1: Use pedestal in raw::RawDigt; 2: no ped subtraction ...
 
LArSoft geometry interface. 
 
Event finding and building.