Public Member Functions | |
CFDHitFinder () | |
virtual | ~CFDHitFinder ()=default |
void | SetWaveform (std::vector< uint16_t > &waveform, unsigned int channelNo, uint32_t timestamp) |
void | SetParams (const std::map< CFDParams, double > ¶mSet) |
void | SetDiscriminationType (const std::string type) |
void | SetInterpolationType (const std::string type) |
void | SetFilterType (const std::string type) |
const std::string | GetDiscriminationType () const |
const std::string | GetInterpolationType () const |
const std::string | GetFilterType () const |
const std::map< T, hit_t< T > > & | GetHitCollection () const |
const T & | GetPedestal () const |
const T & | GetNoiseSigma () const |
const T & | GetDiscriminationThreshold () const |
virtual void | Go () |
Private Member Functions | |
void | SetChannel (unsigned int channelNo) |
void | SetTimestamp (uint32_t timestamp) |
void | SetParam (CFDParams param, T value) |
virtual void | FindPedestal () |
virtual void | FindRawHitLogic () |
virtual void | FindCFDHits () |
virtual bool | BackwardFindingOfHitStart (size_t hitPeakTimeIndex, T hitPeakValue, T &hitStartTimeIndex, T &hitRiseTimeInIndex) |
virtual bool | ForwardFindingOfHitFallTime (size_t hitPeakTimeIndex, T &hitFallTimeInIndex) |
virtual T | IntegrateWaveformInADC (size_t hitStartTimeIndex, size_t hitEndTimeIndex) |
virtual T | FindHitWidth (size_t hitPeakTimeIndex, T hitPeakValueADC) |
virtual T | FindPeakValue (size_t hitPeakTimeIndex, T &hitPeakValue) |
virtual void | Reset () |
Private Attributes | |
unsigned int | _ChannelNumber |
uint32_t | _Timestamp |
std::string | _DiscriminationType |
std::string | _InterpolationType |
std::string | _FilterType |
std::vector< T > | _WaveformADCNanosec |
std::vector< T > | _NonfilterWaveformADCNanosec |
std::vector< bool > | _RawHitLogicNanosec |
T | _PedestalInADC |
T | _NoiseSigmaInADC |
T | _DiscriminationThresholdInADC |
std::map< CFDParams, T > | _CFDParamSet |
std::map< T, hit_t< T > > | _HitCollection |
Definition at line 71 of file CFDHitFinderAlg.h.
|
inline |
Definition at line 73 of file CFDHitFinderAlg.h.
|
virtualdefault |
|
privatevirtual |
Definition at line 452 of file CFDHitFinderAlg.h.
References art::errors::Configuration, allTimeWatchdog::endl, beamlinereco::kDiscriminationThreshold, PandAna.Demos.pi0_spectra::p0, plot_validation_datamc::p1, T, confusionMatrixTree::t, getGoodRuns4SAM::t1, t2, submit_syst::x, and submit_syst::y.
|
privatevirtual |
Definition at line 330 of file CFDHitFinderAlg.h.
References beamlinereco::hit_t< T >::AmplitudeInADC, beamlinereco::hit_t< T >::AmplitudeInMiliVolt, beamlinereco::hit_t< T >::DigitizerChannel, beamlinereco::hit_t< T >::FallTimeInNanoSec, MECModelEnuComparisons::i, beamlinereco::hit_t< T >::IntegratedChargeInADCNanoSec, beamlinereco::hit_t< T >::IntegratedChargeInADCTimeTicks, beamlinereco::hit_t< T >::IsContained, calib::j, beamlinereco::kADCDynamicRange, beamlinereco::kADCNBits, beamlinereco::kRawHitFinderTicksFromEnd, beamlinereco::kTimeSamplingInterval, beamlinereco::hit_t< T >::RiseTimeInNanoSec, T, beamlinereco::hit_t< T >::Timestamp, beamlinereco::hit_t< T >::TPeakInNanoSec, beamlinereco::hit_t< T >::TStartInNanoSec, and beamlinereco::hit_t< T >::WidthInNanoSec.
|
privatevirtual |
Definition at line 539 of file CFDHitFinderAlg.h.
References MECModelEnuComparisons::i, beamlinereco::kNSamplingPoints, T, getGoodRuns4SAM::t1, t2, y1, and submit_syst::y2.
|
privatevirtual |
Definition at line 394 of file CFDHitFinderAlg.h.
References PandAna.Demos.pi0_spectra::p0, plot_validation_datamc::p1, plot_validation_datamc::p2, make_associated_cosmic_defs::p3, std::sqrt(), T, submit_syst::x, and submit_syst::y.
|
privatevirtual |
Definition at line 242 of file CFDHitFinderAlg.h.
References ana::Sqrt(), and T.
|
privatevirtual |
Definition at line 289 of file CFDHitFinderAlg.h.
References MECModelEnuComparisons::i, calib::j, beamlinereco::kConsecutiveHitSeperationDurationInTicks, beamlinereco::kRawHitFinderThresholdInNoiseSigma, beamlinereco::kShortRawHitIgnoringDurationInTicks, and T.
|
privatevirtual |
Definition at line 523 of file CFDHitFinderAlg.h.
References beamlinereco::kNSamplingPoints, and T.
|
inline |
Definition at line 100 of file CFDHitFinderAlg.h.
|
inline |
Definition at line 94 of file CFDHitFinderAlg.h.
|
inline |
Definition at line 96 of file CFDHitFinderAlg.h.
|
inline |
Definition at line 97 of file CFDHitFinderAlg.h.
Referenced by beamlinereco::CFDHitReco::produce().
|
inline |
Definition at line 95 of file CFDHitFinderAlg.h.
|
inline |
Definition at line 99 of file CFDHitFinderAlg.h.
|
inline |
|
virtual |
Definition at line 587 of file CFDHitFinderAlg.h.
Referenced by beamlinereco::CFDHitReco::produce().
|
privatevirtual |
Definition at line 432 of file CFDHitFinderAlg.h.
References MECModelEnuComparisons::i, beamlinereco::kIntergratedWindowFixed, beamlinereco::kIntergratedWindowLowerLimitIndex, beamlinereco::kIntergratedWindowUpperLimitIndex, beamlinereco::kNSamplingPoints, and T.
|
inlineprivatevirtual |
Definition at line 136 of file CFDHitFinderAlg.h.
|
private |
Definition at line 217 of file CFDHitFinderAlg.h.
void beamlinereco::CFDHitFinder< T >::SetDiscriminationType | ( | const std::string | type | ) |
Definition at line 232 of file CFDHitFinderAlg.h.
void beamlinereco::CFDHitFinder< T >::SetFilterType | ( | const std::string | type | ) |
Definition at line 237 of file CFDHitFinderAlg.h.
void beamlinereco::CFDHitFinder< T >::SetInterpolationType | ( | const std::string | type | ) |
Definition at line 227 of file CFDHitFinderAlg.h.
|
private |
Definition at line 205 of file CFDHitFinderAlg.h.
References ParseFluxesFile::param.
void beamlinereco::CFDHitFinder< T >::SetParams | ( | const std::map< CFDParams, double > & | paramSet | ) |
Definition at line 210 of file CFDHitFinderAlg.h.
Referenced by beamlinereco::CFDHitReco::reconfigure().
|
private |
Definition at line 222 of file CFDHitFinderAlg.h.
void beamlinereco::CFDHitFinder< T >::SetWaveform | ( | std::vector< uint16_t > & | waveform, |
unsigned int | channelNo, | ||
uint32_t | timestamp | ||
) |
Definition at line 154 of file CFDHitFinderAlg.h.
References art::errors::Configuration, allTimeWatchdog::endl, beamlinereco::Kalman::GetFilteredValue(), MECModelEnuComparisons::i, K, beamlinereco::kGSFilterDegree, beamlinereco::kGSFilterWindow, beamlinereco::kIsWaveformNegativePolarity, beamlinereco::kKalmanFilterGain, beamlinereco::kKalmanFilterMeasurementNoiseCovariance, beamlinereco::kKalmanFilterProcessNoiseCovariance, beamlinereco::kNSamplingPoints, P, r(), slidt::Reset(), beamlinereco::SGSmoothing::Smooth(), and T.
Referenced by beamlinereco::CFDHitReco::produce().
|
private |
Definition at line 123 of file CFDHitFinderAlg.h.
|
private |
Definition at line 111 of file CFDHitFinderAlg.h.
|
private |
Definition at line 121 of file CFDHitFinderAlg.h.
|
private |
Definition at line 113 of file CFDHitFinderAlg.h.
|
private |
Definition at line 115 of file CFDHitFinderAlg.h.
|
private |
Definition at line 124 of file CFDHitFinderAlg.h.
|
private |
Definition at line 114 of file CFDHitFinderAlg.h.
|
private |
Definition at line 120 of file CFDHitFinderAlg.h.
|
private |
Definition at line 117 of file CFDHitFinderAlg.h.
|
private |
Definition at line 119 of file CFDHitFinderAlg.h.
|
private |
Definition at line 118 of file CFDHitFinderAlg.h.
|
private |
Definition at line 112 of file CFDHitFinderAlg.h.
|
private |
Definition at line 116 of file CFDHitFinderAlg.h.