#include <DigiPMTSBNDAlg.hh>
Classes | |
struct | ConfigurationParameters_t |
Public Member Functions | |
DigiPMTSBNDAlg (ConfigurationParameters_t const &config) | |
~DigiPMTSBNDAlg () | |
void | ConstructWaveform (int ch, sim::SimPhotons const &simphotons, std::vector< short unsigned int > &waveform, std::string pdtype, double start_time, unsigned n_sample) |
void | ConstructWaveformCoatedPMT (int ch, std::vector< short unsigned int > &waveform, std::unordered_map< int, sim::SimPhotons > &DirectPhotonsMap, std::unordered_map< int, sim::SimPhotons > &ReflectedPhotonsMap, double start_time, unsigned n_sample) |
void | ConstructWaveformLite (int ch, sim::SimPhotonsLite const &litesimphotons, std::vector< short unsigned int > &waveform, std::string pdtype, double start_time, unsigned n_sample) |
void | ConstructWaveformLiteCoatedPMT (int ch, std::vector< short unsigned int > &waveform, std::unordered_map< int, sim::SimPhotonsLite > &DirectPhotonsMap, std::unordered_map< int, sim::SimPhotonsLite > &ReflectedPhotonsMap, double start_time, unsigned n_sample) |
double | Baseline () |
Private Member Functions | |
void | AddSPE (size_t time_bin, std::vector< double > &wave) |
void | Pulse1PE (std::vector< double > &wave) |
double | Transittimespread (double fwhm) |
void | CreatePDWaveform (sim::SimPhotons const &SimPhotons, double t_min, std::vector< double > &wave, int ch, std::string pdtype) |
void | CreatePDWaveformCoatedPMT (int ch, double t_min, std::vector< double > &wave, std::unordered_map< int, sim::SimPhotons > &DirectPhotonsMap, std::unordered_map< int, sim::SimPhotons > &ReflectedPhotonsMap) |
void | CreatePDWaveformLite (sim::SimPhotonsLite const &litesimphotons, double t_min, std::vector< double > &wave, int ch, std::string pdtype) |
void | CreatePDWaveformLiteCoatedPMT (int ch, double t_min, std::vector< double > &wave, std::unordered_map< int, sim::SimPhotonsLite > &DirectPhotonsMap, std::unordered_map< int, sim::SimPhotonsLite > &ReflectedPhotonsMap) |
void | CreateSaturation (std::vector< double > &wave) |
void | AddLineNoise (std::vector< double > &wave) |
void | AddDarkNoise (std::vector< double > &wave) |
double | FindMinimumTime (sim::SimPhotons const &, int ch, std::string pdtype, std::unordered_map< int, sim::SimPhotons > &directPhotonsOnPMTS) |
double | FindMinimumTimeLite (sim::SimPhotonsLite const &litesimphotons, int ch, std::string pdtype, std::unordered_map< int, sim::SimPhotonsLite > &directPhotonsOnPMTS) |
Private Attributes | |
ConfigurationParameters_t | fParams |
double | fSampling |
double | fQEDirect |
double | fQERefl |
double | sigma1 |
double | sigma2 |
const double | transitTimeSpread_frac = 2.0 * std::sqrt(2.0 * std::log(2.0)) |
double | saturation |
CLHEP::HepRandomEngine * | fEngine |
Reference to art-managed random-number engine. More... | |
CLHEP::RandFlat | fFlatGen |
CLHEP::RandPoissonQ | fPoissonQGen |
CLHEP::RandGaussQ | fGaussQGen |
CLHEP::RandExponential | fExponentialGen |
std::unique_ptr < CLHEP::RandGeneral > | fTimeTPB |
std::unique_ptr < opdet::PMTGainFluctuations > | fPMTGainFluctuationsPtr |
std::vector< double > | fSinglePEWave |
int | pulsesize |
std::unordered_map < raw::Channel_t, std::vector < double > > | fFullWaveforms |
Definition at line 46 of file DigiPMTSBNDAlg.hh.
opdet::DigiPMTSBNDAlg::DigiPMTSBNDAlg | ( | ConfigurationParameters_t const & | config | ) |
Definition at line 10 of file DigiPMTSBNDAlg.cc.
opdet::DigiPMTSBNDAlg::~DigiPMTSBNDAlg | ( | ) |
Definition at line 76 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 374 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 353 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 327 of file DigiPMTSBNDAlg.cc.
|
inline |
Definition at line 111 of file DigiPMTSBNDAlg.hh.
void opdet::DigiPMTSBNDAlg::ConstructWaveform | ( | int | ch, |
sim::SimPhotons const & | simphotons, | ||
std::vector< short unsigned int > & | waveform, | ||
std::string | pdtype, | ||
double | start_time, | ||
unsigned | n_sample | ||
) |
Definition at line 79 of file DigiPMTSBNDAlg.cc.
void opdet::DigiPMTSBNDAlg::ConstructWaveformCoatedPMT | ( | int | ch, |
std::vector< short unsigned int > & | waveform, | ||
std::unordered_map< int, sim::SimPhotons > & | DirectPhotonsMap, | ||
std::unordered_map< int, sim::SimPhotons > & | ReflectedPhotonsMap, | ||
double | start_time, | ||
unsigned | n_sample | ||
) |
Definition at line 92 of file DigiPMTSBNDAlg.cc.
void opdet::DigiPMTSBNDAlg::ConstructWaveformLite | ( | int | ch, |
sim::SimPhotonsLite const & | litesimphotons, | ||
std::vector< short unsigned int > & | waveform, | ||
std::string | pdtype, | ||
double | start_time, | ||
unsigned | n_sample | ||
) |
Definition at line 106 of file DigiPMTSBNDAlg.cc.
void opdet::DigiPMTSBNDAlg::ConstructWaveformLiteCoatedPMT | ( | int | ch, |
std::vector< short unsigned int > & | waveform, | ||
std::unordered_map< int, sim::SimPhotonsLite > & | DirectPhotonsMap, | ||
std::unordered_map< int, sim::SimPhotonsLite > & | ReflectedPhotonsMap, | ||
double | start_time, | ||
unsigned | n_sample | ||
) |
Definition at line 120 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 134 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 162 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 210 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 246 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 346 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 390 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 422 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 302 of file DigiPMTSBNDAlg.cc.
|
private |
Definition at line 318 of file DigiPMTSBNDAlg.cc.
|
private |
Reference to art-managed random-number engine.
Definition at line 130 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 134 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 131 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 147 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 133 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 118 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 139 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 132 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 121 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 122 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 120 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 145 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 135 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 146 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 128 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 124 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 125 of file DigiPMTSBNDAlg.hh.
|
private |
Definition at line 127 of file DigiPMTSBNDAlg.hh.