36 #ifndef AdcEventViewer_H 37 #define AdcEventViewer_H 92 Name avary,
Name aylab,
Name ayunit,
float aymin,
float aymax,
float ayoff)
93 : varx(avarx), xlab(axlab), xunit(axunit), xmin(axmin), xmax(axmax), xoff(axoff),
94 vary(avary), ylab(aylab), yunit(ayunit), ymin(aymin), ymax(aymax), yoff(ayoff) { }
97 if ( var == varx ) xvals.push_back(val);
98 if ( var == vary ) yvals.push_back(val);
102 return xlab + (xunit.size() ?
" [" + xunit +
"]" :
"");
105 return ylab + (yunit.size() ?
" [" + yunit +
"]" :
"");
std::map< Name, TH1 * > HistMap
GraphInfo(Name avarx, Name axlab, Name axunit, float axmin, float axmax, float axoff, Name avary, Name aylab, Name ayunit, float aymin, float aymax, float ayoff)
std::map< Name, Name > NameMap
void add(Name var, float val)
DataMap endEvent(const DuneEventInfo &devt) const override
std::vector< Index > IndexVector
std::vector< float > FloatVector
bool updateWithView() const override
std::map< Name, HistInfo > HistInfoMap
std::map< Name, ChannelRangeState > ChannelRangeStates
DataMap view(const AdcChannelData &acd) const override
void displayGraphs() const
DataMap beginEvent(const DuneEventInfo &devt) const override
std::vector< TH1 * > HistVector
AdcEventViewer(fhicl::ParameterSet const &ps)
ChannelRangeStates crstates
static constexpr double ps
void beginEventState(const DuneEventInfo &devt) const
ChannelRangeState & crstate(Name crn) const
NameVector m_ChannelRanges
void displayHists() const
std::vector< LongIndex > LongIndexVector
std::vector< GraphInfo > GraphInfoVector
void endEventState(const DuneEventInfo &devt) const
std::vector< IndexRange > IndexRangeVector
~AdcEventViewer() override
std::map< AdcChannel, AdcChannelData > AdcChannelDataMap
std::shared_ptr< State > StatePtr
DataMap viewMap(const AdcChannelDataMap &acds) const override
std::vector< TGraph * > GraphVector
std::vector< Name > NameVector
std::set< Index > IndexSet