All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Attributes | List of all members
opdet::DigiArapucaSBNDAlgMaker Class Reference

#include <DigiArapucaSBNDAlg.hh>

Classes

struct  Config
 

Public Member Functions

 DigiArapucaSBNDAlgMaker (Config const &config)
 
std::unique_ptr
< DigiArapucaSBNDAlg
operator() (detinfo::LArProperties const &larProp, detinfo::DetectorClocksData const &clockData, CLHEP::HepRandomEngine *engine) const
 

Private Attributes

DigiArapucaSBNDAlg::ConfigurationParameters_t fBaseConfig
 Part of the configuration learned from configuration files. More...
 

Detailed Description

Definition at line 151 of file DigiArapucaSBNDAlg.hh.

Constructor & Destructor Documentation

opdet::DigiArapucaSBNDAlgMaker::DigiArapucaSBNDAlgMaker ( Config const &  config)

Definition at line 367 of file DigiArapucaSBNDAlg.cc.

368  {
369  // settings
370  fBaseConfig.ADC = config.voltageToADC();
371  fBaseConfig.Baseline = config.baseline();
372  fBaseConfig.Saturation = config.saturation();
373  fBaseConfig.XArapucaVUVEff = config.xArapucaVUVEff();
374  fBaseConfig.XArapucaVISEff = config.xArapucaVISEff();
375  fBaseConfig.RiseTime = config.riseTime();
376  fBaseConfig.FallTime = config.fallTime();
377  fBaseConfig.MeanAmplitude = config.meanAmplitude();
378  fBaseConfig.DarkNoiseRate = config.darkNoiseRate();
379  fBaseConfig.BaselineRMS = config.baselineRMS();
380  fBaseConfig.CrossTalk = config.crossTalk();
381  fBaseConfig.PulseLength = config.pulseLength();
382  fBaseConfig.PeakTime = config.peakTime();
383  fBaseConfig.DecayTXArapucaVIS = config.decayTXArapucaVIS();
384  fBaseConfig.ArapucaDataFile = config.arapucaDataFile();
385  fBaseConfig.ArapucaSinglePEmodel = config.ArapucasinglePEmodel();
386  fBaseConfig.frequency_Daphne = config.DaphneFrequency();
387  fBaseConfig.MakeAmpFluctuations = config.makeAmpFluctuations();
388  fBaseConfig.AmpFluctuation = config.ampFluctuation();
389  }
DigiArapucaSBNDAlg::ConfigurationParameters_t fBaseConfig
Part of the configuration learned from configuration files.
double frequency_Daphne
Optical-clock frequency for daphne readouts.

Member Function Documentation

std::unique_ptr< DigiArapucaSBNDAlg > opdet::DigiArapucaSBNDAlgMaker::operator() ( detinfo::LArProperties const &  larProp,
detinfo::DetectorClocksData const &  clockData,
CLHEP::HepRandomEngine *  engine 
) const

Definition at line 391 of file DigiArapucaSBNDAlg.cc.

396  {
397  // set the configuration
398  auto params = fBaseConfig;
399 
400  // set up parameters
401  params.larProp = &larProp;
402  params.frequency = clockData.OpticalClock().Frequency();
403  params.frequency_Daphne = fBaseConfig.frequency_Daphne; //Mhz
404  params.engine = engine;
405 
406  return std::make_unique<DigiArapucaSBNDAlg>(params);
407  } // DigiArapucaSBNDAlgMaker::create()
DigiArapucaSBNDAlg::ConfigurationParameters_t fBaseConfig
Part of the configuration learned from configuration files.
detinfo::LArProperties const * larProp
LarProperties service provider.
double frequency_Daphne
Optical-clock frequency for daphne readouts.

Member Data Documentation

DigiArapucaSBNDAlg::ConfigurationParameters_t opdet::DigiArapucaSBNDAlgMaker::fBaseConfig
private

Part of the configuration learned from configuration files.

Definition at line 276 of file DigiArapucaSBNDAlg.hh.


The documentation for this class was generated from the following files: