Fluorescence Detector Channel Simulated Data Event. More...
#include <ChannelSimData.h>
Public Types | |
typedef utl::MultiTraceI::ConstIterator | ConstFADCTraceIterator |
typedef utl::MultiTraceI::Iterator | FADCTraceIterator |
Public Member Functions | |
FADCTraceIterator | FADCTracesBegin () |
First std::pair<int source, TraceD* trace> More... | |
ConstFADCTraceIterator | FADCTracesBegin () const |
FADCTraceIterator | FADCTracesEnd () |
Last std::pair<int source, TraceD* trace> More... | |
ConstFADCTraceIterator | FADCTracesEnd () const |
utl::TraceI & | GetFADCTrace (const FdConstants::LightSource source=FdConstants::eTotal) |
const utl::TraceI & | GetFADCTrace (const FdConstants::LightSource source=FdConstants::eTotal) const |
bool | HasFADCTrace (const FdConstants::LightSource source) const |
Check that source /par source is present. More... | |
void | MakeFADCTrace (unsigned int size, double binning, const FdConstants::LightSource source=FdConstants::eTotal) |
void | MakeFADCTrace (const utl::TraceI &t, const FdConstants::LightSource source=FdConstants::eTotal) |
Private Member Functions | |
ChannelSimData () | |
~ChannelSimData () | |
Private Attributes | |
utl::InitializedShadowPtr < utl::MultiTraceI > | fFADCTrace |
Friends | |
class | Channel |
class | utl::ShadowPtr< ChannelSimData > |
Fluorescence Detector Channel Simulated Data Event.
Definition at line 22 of file ChannelSimData.h.
Definition at line 46 of file ChannelSimData.h.
An iterator over the available FADC trace sources. Returns a pair<int,TraceI *> when dereferenced
Definition at line 45 of file ChannelSimData.h.
|
inlineprivate |
Definition at line 57 of file ChannelSimData.h.
|
inlineprivate |
Definition at line 58 of file ChannelSimData.h.
|
inline |
First std::pair<int source, TraceD* trace>
Definition at line 49 of file ChannelSimData.h.
References fFADCTrace.
Referenced by testFEventImpl::checkChannelSimDataValues().
|
inline |
Definition at line 50 of file ChannelSimData.h.
References fFADCTrace.
|
inline |
Last std::pair<int source, TraceD* trace>
Definition at line 53 of file ChannelSimData.h.
References fFADCTrace.
Referenced by testFEventImpl::checkChannelSimDataValues().
|
inline |
Definition at line 54 of file ChannelSimData.h.
References fFADCTrace.
|
inline |
Simulated FADC trace after electronics, before trigger for possibly different source.Throw utl::NonExistentComponentException
Definition at line 27 of file ChannelSimData.h.
References fFADCTrace.
Referenced by testFEventImpl::checkChannelSimDataValues(), FdElectronicsSimulatorOG::FdElectronicsSimulator::ElecSim(), FdTriggerSimulatorOG::FdTriggerSimulator::FLTSim(), FdTriggerSimulatorOG::FdTriggerSimulator::MakeMirrorEvent(), UserModule::PlotFADCTraces(), ThresholdCalculatorKG::ThresholdCalculator::Run(), and testFEventImpl::setChannelSimDataValues().
|
inline |
Definition at line 29 of file ChannelSimData.h.
References fFADCTrace.
|
inline |
Check that source /par source is present.
Definition at line 40 of file ChannelSimData.h.
References fFADCTrace.
Referenced by testFEventImpl::checkChannelSimDataValues(), FdElectronicsSimulatorOG::FdElectronicsSimulator::ElecSim(), FdTriggerSimulatorOG::FdTriggerSimulator::FLTSim(), UserModule::PlotFADCTraces(), and ThresholdCalculatorKG::ThresholdCalculator::Run().
void ChannelSimData::MakeFADCTrace | ( | unsigned int | size, |
double | binning, | ||
const FdConstants::LightSource | source = FdConstants::eTotal |
||
) |
Add a source of Type Telescope::LightSource /example AddSource(Telescope::eDirect);
Definition at line 11 of file ChannelSimData.cc.
References ERROR.
Referenced by FdElectronicsSimulatorOG::FdElectronicsSimulator::ElecSim(), io::ChannelSimData_ROOT::operator>>(), and testFEventImpl::setChannelSimDataValues().
void ChannelSimData::MakeFADCTrace | ( | const utl::TraceI & | t, |
const FdConstants::LightSource | source = FdConstants::eTotal |
||
) |
Definition at line 24 of file ChannelSimData.cc.
References ERROR.
|
friend |
Definition at line 62 of file ChannelSimData.h.
|
friend |
Definition at line 63 of file ChannelSimData.h.
|
private |
Definition at line 60 of file ChannelSimData.h.
Referenced by FADCTracesBegin(), FADCTracesEnd(), GetFADCTrace(), and HasFADCTrace().