1 #ifndef _fevt_PixelSimData_h_
2 #define _fevt_PixelSimData_h_
6 #include <boost/iterator/indirect_iterator.hpp>
8 #include <fevt/FdConstants.h>
10 #include <fdet/Channel.h>
12 #include <utl/Trace.h>
13 #include <utl/MultiTrace.h>
14 #include <utl/ShadowPtr.h>
pointer with built-in initialization, deletion, deep copying
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::iterator, LabeledObjectType > Iterator
bool HasPhotonWeightSquareTrace(const FdConstants::LightSource source) const
Check that trace of sums of squares of weights of simulated photons for source /par source is present...
utl::MultiTraceD::Iterator PhotonWeightSquareTraceIterator
void SetNumSamples(const int nSamp)
Set the no. of samples for running sums.
utl::MultiTraceD::ConstIterator ConstPhotonWeightSquareTraceIterator
PhotonTraceIterator PhotonTracesEnd()
Last std::pair<int source, TraceD * trace>
void SetRmsBoxcarsum(double v)
void MakePhotonWeightSquareTrace(unsigned int size, double binning, const FdConstants::LightSource source=FdConstants::eTotal)
void ClearPhotonWeightSquareTraces()
Clear all light components' photon-weight-square-traces.
int GetThreshold() const
Get the simulated trigger threshold of the pixel.
const utl::TraceD & GetPhotonWeightSquareTrace(const FdConstants::LightSource source=FdConstants::eTotal) const
double GetMeanBgPhotonFlux() const
Get mean bg photon flux.
ConstPhotonTraceIterator PhotonTracesBegin() const
bool HasPhotonTrace(const FdConstants::LightSource source) const
Check that trace for source /par source is present.
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledObjectType > ConstIterator
void SetMeanBgPhotonFlux(const double mean)
Set mean bg photon flux.
int GetMaxBoxcarsum() const
void SetMeanBoxcarsum(double v)
LightSource
Possible light sources.
Fluorescence Detector Pixel event.
void SetMean(const double mean)
Set the ADC baseline.
ConstPhotonTraceIterator PhotonTracesEnd() const
utl::MultiTraceD::Iterator PhotonTraceIterator
utl::TraceD & GetPhotonWeightSquareTrace(const FdConstants::LightSource source=FdConstants::eTotal)
Trace of the sums of squares of simulated photon weights.
ConstPhotonWeightSquareTraceIterator PhotonWeightSquareTracesBegin() const
void ClearPhotonTraces()
Clear all light components' photon traces.
utl::InitializedShadowPtr< utl::MultiTraceD > fPhotonTrace
double GetRMS() const
Get the ADC variance.
void SetThreshold(const int thr)
Set the simulated trigger threshold of the pixel.
PhotonWeightSquareTraceIterator PhotonWeightSquareTracesEnd()
Last std::pair<int source, TraceD * trace>
double GetMeanBoxcarsum() const
int GetNumSamples() const
Get the no. of samples for running sums.
PhotonTraceIterator PhotonTracesBegin()
First std::pair<int source, TraceD * trace>
utl::InitializedShadowPtr< utl::MultiTraceD > fPhotonWeightSquareTrace
void SetRMS(const double rms)
Set the ADC variance.
double GetMean() const
Get the ADC baseline.
utl::TraceD & GetPhotonTrace(const FdConstants::LightSource source=FdConstants::eTotal)
Simulated Photon Trace.
double GetRmsBoxcarsum() const
PhotonWeightSquareTraceIterator PhotonWeightSquareTracesBegin()
First std::pair<int source, TraceD * trace>
const utl::TraceD & GetPhotonTrace(const FdConstants::LightSource source=FdConstants::eTotal) const
utl::MultiTraceD::ConstIterator ConstPhotonTraceIterator
ConstPhotonWeightSquareTraceIterator PhotonWeightSquareTracesEnd() const
void SetFltDuration(int v)
Fluorescence Detector Pixel Simulated Data.
void MakePhotonTrace(unsigned int size, double binning, const FdConstants::LightSource source=FdConstants::eTotal)
void SetMaxBoxcarsum(int v)
int GetFltDuration() const