|
|
Go to the documentation of this file. 1 #ifndef RecoLocalCalo_EcalRecProducers_plugins_TimeComputationKernels_h
2 #define RecoLocalCalo_EcalRecProducers_plugins_TimeComputationKernels_h
24 bool const* useless_sample_values,
38 uint32_t
const* dids_eb,
39 uint32_t
const* dids_ee,
40 bool const* useless_sample_values,
41 char const* pedestal_nums,
53 unsigned int const timeFitParameters_sizeEB,
54 unsigned int const timeFitParameters_sizeEE,
60 uint32_t
const offsetForInputs);
69 uint32_t
const* dids_eb,
70 uint32_t
const* dids_ee,
71 bool const* useless_samples,
87 uint32_t
const offsetForInputs);
90 uint16_t
const* digis_ee,
93 bool* useless_sample_values,
94 unsigned int const sample_mask,
96 uint32_t
const offsetForInputs);
100 uint32_t
const* dids_eb,
101 uint32_t
const* dids_ed,
102 bool const* useless_samples,
108 uint32_t
const offsetForInputs);
112 uint32_t
const* dids_eb,
113 uint16_t
const* digis_ee,
114 uint32_t
const* dids_ee,
115 float const* rms_x12,
118 float const* mean_x12,
119 float const* mean_x6,
120 float const* mean_x1,
121 float const* gain12Over6,
122 float const* gain6Over1,
126 bool* useless_sample_values,
128 uint32_t
const offsetForHashes,
129 uint32_t
const offsetForInputs,
130 unsigned int const sample_maskEB,
131 unsigned int const sample_maskEE,
142 uint16_t
const* digis_eb,
143 uint32_t
const* dids_eb,
144 uint16_t
const* digis_ee,
145 uint32_t
const* dids_ee,
146 float const* amplitudeBinsEB,
147 float const* amplitudeBinsEE,
148 float const* shiftBinsEB,
149 float const* shiftBinsEE,
152 float const* g_rms_x12,
153 float const* timeCalibConstant,
160 int const amplitudeBinsSizeEB,
161 int const amplitudeBinsSizeEE,
164 float const offsetTimeValueEB,
165 float const offsetTimeValueEE,
178 uint32_t
const offsetForHashes,
179 uint32_t
const offsetForInputs,
180 int const nchannels);
185 #endif // RecoLocalCalo_EcalRecProducers_plugins_TimeComputationKernels_h
__global__ void kernel_time_computation_init(uint16_t const *digis_eb, uint32_t const *dids_eb, uint16_t const *digis_ee, uint32_t const *dids_ee, float const *rms_x12, float const *rms_x6, float const *rms_x1, float const *mean_x12, float const *mean_x6, float const *mean_x1, float const *gain12Over6, float const *gain6Over1, SampleVector::Scalar *sample_values, SampleVector::Scalar *sample_value_errors, SampleVector::Scalar *ampMaxError, bool *useless_sample_values, char *pedestal_nums, uint32_t const offsetForHashes, uint32_t const offsetForInputs, unsigned int const sample_maskEB, unsigned int const sample_maskEE, int nchannels)
__global__ void kernel_time_compute_nullhypot(SampleVector::Scalar const *sample_values, SampleVector::Scalar const *sample_value_errors, bool const *useless_sample_values, SampleVector::Scalar *chi2s, SampleVector::Scalar *sum0s, SampleVector::Scalar *sumAAs, int const nchannels)
__global__ void kernel_time_correction_and_finalize(::ecal::reco::StorageScalarType const *g_amplitudeEB, ::ecal::reco::StorageScalarType const *g_amplitudeEE, uint16_t const *digis_eb, uint32_t const *dids_eb, uint16_t const *digis_ee, uint32_t const *dids_ee, float const *amplitudeBinsEB, float const *amplitudeBinsEE, float const *shiftBinsEB, float const *shiftBinsEE, SampleVector::Scalar const *g_timeMax, SampleVector::Scalar const *g_timeError, float const *g_rms_x12, float const *timeCalibConstant, ::ecal::reco::StorageScalarType *g_jitterEB, ::ecal::reco::StorageScalarType *g_jitterEE, ::ecal::reco::StorageScalarType *g_jitterErrorEB, ::ecal::reco::StorageScalarType *g_jitterErrorEE, uint32_t *flagsEB, uint32_t *flagsEE, int const amplitudeBinsSizeEB, int const amplitudeBinsSizeEE, ConfigurationParameters::type const timeConstantTermEB, ConfigurationParameters::type const timeConstantTermEE, float const offsetTimeValueEB, float const offsetTimeValueEE, ConfigurationParameters::type const timeNconstEB, ConfigurationParameters::type const timeNconstEE, ConfigurationParameters::type const amplitudeThresholdEB, ConfigurationParameters::type const amplitudeThresholdEE, ConfigurationParameters::type const outOfTimeThreshG12pEB, ConfigurationParameters::type const outOfTimeThreshG12pEE, ConfigurationParameters::type const outOfTimeThreshG12mEB, ConfigurationParameters::type const outOfTimeThreshG12mEE, ConfigurationParameters::type const outOfTimeThreshG61pEB, ConfigurationParameters::type const outOfTimeThreshG61pEE, ConfigurationParameters::type const outOfTimeThreshG61mEB, ConfigurationParameters::type const outOfTimeThreshG61mEE, uint32_t const offsetForHashes, uint32_t const offsetForInputs, int const nchannels)
__global__ void kernel_time_compute_ampl(SampleVector::Scalar const *sample_values, SampleVector::Scalar const *sample_value_errors, uint32_t const *dids_eb, uint32_t const *dids_ed, bool const *useless_samples, SampleVector::Scalar const *g_timeMax, SampleVector::Scalar const *amplitudeFitParametersEB, SampleVector::Scalar const *amplitudeFitParametersEE, SampleVector::Scalar *g_amplitudeMax, int const nchannels, uint32_t const offsetForInputs)
__global__ void kernel_time_compute_findamplchi2_and_finish(SampleVector::Scalar const *sample_values, SampleVector::Scalar const *sample_value_errors, uint32_t const *dids_eb, uint32_t const *dids_ee, bool const *useless_samples, SampleVector::Scalar const *g_tMaxAlphaBeta, SampleVector::Scalar const *g_tMaxErrorAlphaBeta, SampleVector::Scalar const *g_accTimeMax, SampleVector::Scalar const *g_accTimeWgt, ConfigurationParameters::type const *amplitudeFitParametersEB, ConfigurationParameters::type const *amplitudeFitParametersEE, SampleVector::Scalar const *sumAAsNullHypot, SampleVector::Scalar const *sum0sNullHypot, SampleVector::Scalar const *chi2sNullHypot, TimeComputationState *g_state, SampleVector::Scalar *g_ampMaxAlphaBeta, SampleVector::Scalar *g_ampMaxError, SampleVector::Scalar *g_timeMax, SampleVector::Scalar *g_timeError, int const nchannels, uint32_t const offsetForInputs)
__global__ void kernel_time_compute_fixMGPAslew(uint16_t const *digis_eb, uint16_t const *digis_ee, SampleVector::Scalar *sample_values, SampleVector::Scalar *sample_value_errors, bool *useless_sample_values, unsigned int const sample_mask, int const nchannels, uint32_t const offsetForInputs)
__global__ void kernel_time_compute_makeratio(SampleVector::Scalar const *sample_values, SampleVector::Scalar const *sample_value_errors, uint32_t const *dids_eb, uint32_t const *dids_ee, bool const *useless_sample_values, char const *pedestal_nums, ConfigurationParameters::type const *amplitudeFitParametersEB, ConfigurationParameters::type const *amplitudeFitParametersEE, ConfigurationParameters::type const *timeFitParametersEB, ConfigurationParameters::type const *timeFitParametersEE, SampleVector::Scalar const *sumAAsNullHypot, SampleVector::Scalar const *sum0sNullHypot, SampleVector::Scalar *tMaxAlphaBetas, SampleVector::Scalar *tMaxErrorAlphaBetas, SampleVector::Scalar *g_accTimeMax, SampleVector::Scalar *g_accTimeWgt, TimeComputationState *g_state, unsigned int const timeFitParameters_sizeEB, unsigned int const timeFitParameters_sizeEE, ConfigurationParameters::type const timeFitLimits_firstEB, ConfigurationParameters::type const timeFitLimits_firstEE, ConfigurationParameters::type const timeFitLimits_secondEB, ConfigurationParameters::type const timeFitLimits_secondEE, int const nchannels, uint32_t const offsetForInputs)