#include <DigiArapucaSBNDAlg.hh>
Classes | |
struct | ConfigurationParameters_t |
Public Member Functions | |
DigiArapucaSBNDAlg (ConfigurationParameters_t const &config) | |
~DigiArapucaSBNDAlg () | |
double | Baseline () |
void | ConstructWaveform (int ch, sim::SimPhotons const &simphotons, std::vector< short unsigned int > &waveform, std::string pdtype, bool is_daphne, double start_time, unsigned n_samples) |
void | ConstructWaveformLite (int ch, sim::SimPhotonsLite const &litesimphotons, std::vector< short unsigned int > &waveform, std::string pdtype, bool is_daphne, double start_time, unsigned n_samples) |
Private Member Functions | |
void | CreatePDWaveform (sim::SimPhotons const &SimPhotons, double t_min, std::vector< double > &wave, std::string pdtype, bool is_daphne) |
void | CreatePDWaveformLite (std::map< int, int > const &photonMap, double t_min, std::vector< double > &wave, std::string pdtype, bool is_daphne) |
void | SinglePDWaveformCreatorLite (double effT, std::unique_ptr< CLHEP::RandGeneral > &timeHisto, std::vector< double > &wave, std::map< int, int > const &photonMap, double const &t_min, bool is_daphne) |
void | SinglePDWaveformCreatorLite (double effT, std::vector< double > &wave, std::map< int, int > const &photonMap, double const &t_min, bool is_daphne) |
void | AddSPE (size_t time_bin, std::vector< double > &wave, const std::vector< double > &fWaveformSP, int nphotons) |
void | Pulse1PE (std::vector< double > &wave, const double sampling) |
void | AddLineNoise (std::vector< double > &wave) |
void | AddDarkNoise (std::vector< double > &wave, std::vector< double > &WaveformSP) |
double | FindMinimumTime (sim::SimPhotons const &simphotons) |
double | FindMinimumTimeLite (std::map< int, int > const &photonMap) |
void | CreateSaturation (std::vector< double > &wave) |
Private Attributes | |
const ConfigurationParameters_t | fParams |
const double | fSampling |
const double | fSampling_Daphne |
const double | fXArapucaVUVEff |
const double | fXArapucaVISEff |
const double | fADCSaturation |
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 > | fTimeXArapucaVUV |
std::unique_ptr < CLHEP::RandGeneral > | fTimeTPB |
std::vector< double > | fWaveformSP |
std::vector< double > | fWaveformSP_Daphne |
std::unordered_map < raw::Channel_t, std::vector < double > > | fFullWaveforms |
Definition at line 41 of file DigiArapucaSBNDAlg.hh.
opdet::DigiArapucaSBNDAlg::DigiArapucaSBNDAlg | ( | ConfigurationParameters_t const & | config | ) |
Definition at line 9 of file DigiArapucaSBNDAlg.cc.
opdet::DigiArapucaSBNDAlg::~DigiArapucaSBNDAlg | ( | ) |
Definition at line 75 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 327 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 306 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 279 of file DigiArapucaSBNDAlg.cc.
|
inline |
Definition at line 77 of file DigiArapucaSBNDAlg.hh.
void opdet::DigiArapucaSBNDAlg::ConstructWaveform | ( | int | ch, |
sim::SimPhotons const & | simphotons, | ||
std::vector< short unsigned int > & | waveform, | ||
std::string | pdtype, | ||
bool | is_daphne, | ||
double | start_time, | ||
unsigned | n_samples | ||
) |
Definition at line 78 of file DigiArapucaSBNDAlg.cc.
void opdet::DigiArapucaSBNDAlg::ConstructWaveformLite | ( | int | ch, |
sim::SimPhotonsLite const & | litesimphotons, | ||
std::vector< short unsigned int > & | waveform, | ||
std::string | pdtype, | ||
bool | is_daphne, | ||
double | start_time, | ||
unsigned | n_samples | ||
) |
Definition at line 93 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 113 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 167 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 299 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 344 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 354 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 269 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 196 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 234 of file DigiArapucaSBNDAlg.cc.
|
private |
Definition at line 107 of file DigiArapucaSBNDAlg.hh.
|
private |
Reference to art-managed random-number engine.
Definition at line 109 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 113 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 110 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 119 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 112 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 101 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 111 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 103 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 104 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 115 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 114 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 117 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 118 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 106 of file DigiArapucaSBNDAlg.hh.
|
private |
Definition at line 105 of file DigiArapucaSBNDAlg.hh.