Classes | Enumerations | Functions | Variables
rsim Namespace Reference

Common configuration params for SimpleReadout, FPGAAlgorithms, NoiseMaker. More...

Classes

class  CommonParameters
 Can be used as either a member holding configurations, or a mix-in. More...
 
struct  DetectorParams
 
class  ExcessNoiseMaker
 
class  FPGA_DualCorrelatedSampling
 
class  FPGA_DumpASICOutput
 
class  FPGA_MatchedFiltering
 
struct  GainParams
 
class  IFPGAAlgorithm
 Interface implemented by all FPGA algorithms. More...
 
class  IPulseShaper
 
class  LegacyPulseShaper
 
class  MakeNoiseSpectrumFile
 
class  NoiseMaker
 
class  PulseShaper
 
class  ReadoutSim
 
struct  ReadoutSimParams
 
class  RecordNoiseSpectrumFile
 

Enumerations

enum  MsgLevel { FATAL = 0, ERROR = 10, INFO = 20, DEBUG = 30 }
 

Functions

IFPGAAlgorithmCreateFPGAAlgorithm (const fhicl::ParameterSet &pset)
 Create and configure the correct algorithm based on pset. More...
 

Variables

const int kCovMatSize = 6
 

Detailed Description

Common configuration params for SimpleReadout, FPGAAlgorithms, NoiseMaker.

Code to make electronics channel noise.

Code to shape pulses without the effect of the pre-amplifier and energy dependent fall times.

Code to shape pulses include the effect of the pre-amplifier and the energy dependent fall time.

TODO.

Code for simulating the spread in photo-electrons according to the theory of APDs.

Author
Christopher Backhouse
Date
Author
auris.nosp@m.aam@.nosp@m.ucmai.nosp@m.l.uc.nosp@m..edu
Date
Author
??
Date
Author
Christopher Backhouse
rbpat.nosp@m.ter@.nosp@m.calte.nosp@m.ch.e.nosp@m.du
Date
Author
Ryan Patterson - rbpat.nosp@m.ter@.nosp@m.calte.nosp@m.ch.e.nosp@m.du
Christopher Backhouse - bckho.nosp@m.use@.nosp@m.calte.nosp@m.ch.e.nosp@m.du

Enumeration Type Documentation

Enumerator
FATAL 
ERROR 
INFO 
DEBUG 

Definition at line 7 of file MsgLevel.h.

7 { FATAL = 0, ERROR = 10, INFO = 20, DEBUG = 30};

Function Documentation

IFPGAAlgorithm * rsim::CreateFPGAAlgorithm ( const fhicl::ParameterSet pset)

Create and configure the correct algorithm based on pset.

Definition at line 167 of file FPGAAlgorithms.cxx.

References rsim::FPGA_DualCorrelatedSampling::ASICToDigits(), ana::assert(), rsim::FPGA_DumpASICOutput::FPGA_DumpASICOutput(), and fhicl::ParameterSet::get().

Referenced by rsim::ReadoutSim::beginRun().

168  {
169  const std::string algo = pset.get<std::string>("FPGAAlgorithm");
170 
171 
172  if(algo == "DualCorrelatedSampling")
173  return new FPGA_DualCorrelatedSampling(pset);
174  if(algo == "FPGA_MatchedFiltering")
175  return new FPGA_MatchedFiltering(pset);
176  if(algo == "DumpASICOutput")
177  return new FPGA_DumpASICOutput(pset);
178 
179 
180  assert(0 && "Unknown FPGA algorithm");
181 
182  return nullptr;
183  }
T get(std::string const &key) const
Definition: ParameterSet.h:231
::xsd::cxx::tree::string< char, simple_type > string
Definition: Database.h:154
assert(nhit_max >=nhit_nbins)

Variable Documentation

const int rsim::kCovMatSize = 6