11#include <framework/datastore/RelationsObject.h>
40 ECLDsp(
int CellId,
int NADCPoints,
int* ADCData)
47 ECLDsp(
int CellId,
const std::vector<int>& ADCData) :
63 void setDspA(
const std::vector <int>& DspArrayVector)
89 unsigned int index = FitTypeIn ;
123 for (
int i = 0; i < 31; i++)
154 unsigned int index = FitTypeIn ;
Class to store ECL ShaperDSP waveform ADC data.
double m_backgroundPhotonTime
Pile-up photon time.
void setTwoComponentTotalAmp(double input)
Set two comp total amp.
double m_TwoComponentTime
Two comp time.
double getTwoComponentTime() const
get two comp time
ClassDef(ECLDsp, 6)
2 dspa array with variable length
double m_TwoComponentChi2
Two comp chi2.
TwoComponentFitType m_TwoComponentFitType
offline fit hypothesis.
double m_TwoComponentDiodeAmp
Two comp diode amp.
int getCellId() const
Get Cell ID.
void setTwoComponentFitType(TwoComponentFitType ft)
Set fit type.
double m_TwoComponentHadronAmp
Two comp hadron amp.
double m_TwoComponentBaseline
Two comp baseline.
double getTwoComponentHadronAmp() const
get two comp hadron amp
void setDspA(const std::vector< int > &DspArrayVector)
Set Dsp array.
void getDspA(int DspArray[31]) const
Get Dsp Array.
ECLDsp(int CellId, const std::vector< int > &ADCData)
Constructor for data.
void setTwoComponentHadronAmp(double input)
Set two comp hadron amp.
double m_TwoComponentTotalAmp
Two comp total amp.
ECLDsp(int CellId, int NADCPoints, int *ADCData)
Constructor for data.
void setCellId(int CellId)
Set Cell ID.
void setTwoComponentSavedChi2(TwoComponentFitType FitTypeIn, double input)
Set two comp chi2 for a fit type see enum TwoComponentFitType in ECLDsp.h for description of fit type...
void setBackgroundPhotonTime(double input)
Set pile-up photon time.
double getTwoComponentBaseline() const
get two comp baseline
int getNADCPoints() const
Get number of ADC points.
void setBackgroundPhotonEnergy(double input)
Set pile-up photon energy.
double getTwoComponentSavedChi2(TwoComponentFitType FitTypeIn) const
get two comp chi2 for a fit type see enum TwoComponentFitType in ECLDsp.h for description of fit type...
TwoComponentFitType
Offline two component fit type.
@ photonHadronBackgroundPhoton
photon + hadron template + pile-up photon fit
@ poorChi2
All offline fit attempts were greater than chi2 threshold.
@ photonDiodeCrossing
photon + diode template fit
@ photonHadron
photon + hadron template fit
double getBackgroundPhotonEnergy() const
get pile up photon energy
double getTwoComponentTotalAmp() const
get two comp total amp
int computePeaktoPeakAmp() const
Compute maximum peak to peak value.
void setTwoComponentDiodeAmp(double input)
Set two comp diode amp.
std::vector< int > m_DspAVector
Dsp array vith variable length for calibration, tests, etc.
void setDspA(int DspArray[31])
Set Dsp array.
double m_backgroundPhotonEnergy
Pile-up photon energy.
double getTwoComponentChi2() const
get two comp chi2
TwoComponentFitType getTwoComponentFitType() const
get two comp fit type
static ECLDsp * getByCellID(int cid)
Find ECLDsp by Cell ID using linear search.
double getTwoComponentDiodeAmp() const
get two comp diode amp
void setTwoComponentTime(double input)
Set two comp time.
std::vector< int > getDspA() const
Get Dsp Array.
ECLDsp()
default constructor for ROOT
double getBackgroundPhotonTime() const
get pile up photon time
void setTwoComponentChi2(double input)
Set two comp chi2.
void setTwoComponentBaseline(double input)
Set two comp baseline.
double m_TwoComponentSavedChi2[3]
Two comp chi2 for each fit tried in reconstruction.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.