Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rsim::MakeNoiseSpectrumFile Class Reference
Inheritance diagram for rsim::MakeNoiseSpectrumFile:
art::EDAnalyzer rsim::CommonParameters art::EventObserverBase art::Consumer art::EngineCreator

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 MakeNoiseSpectrumFile (fhicl::ParameterSet const &pset)
 
virtual ~MakeNoiseSpectrumFile ()
 
void analyze (const art::Event &evt)
 
void beginJob ()
 
void endJob ()
 
std::string workerType () const
 
bool modifiesEvent () const
 
void registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &)
 
std::string const & processName () const
 
bool wantAllEvents () const
 
bool wantEvent (Event const &e)
 
fhicl::ParameterSetID selectorConfig () const
 
art::Handle< art::TriggerResultsgetTriggerResults (Event const &e) const
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< Tconsumes (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TconsumesView (InputTag const &it)
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< TmayConsume (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TmayConsumeView (InputTag const &it)
 
base_engine_tcreateEngine (seed_t seed)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label)
 
seed_t get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1)
 

Static Public Member Functions

static cet::exempt_ptr< Consumernon_module_context ()
 

Protected Member Functions

CurrentProcessingContext const * currentContext () const
 
detail::CachedProducts & cachedProducts ()
 
void validateConsumedProduct (BranchType const bt, ProductInfo const &pi)
 
void prepareForJob (fhicl::ParameterSet const &pset)
 
void showMissingConsumes () const
 

Protected Attributes

int fN
 How many spills have we simulated? More...
 
TMatrixD fCovMat
 
TMatrixD fCovMatStats
 
TVectorD fMeanVec
 
TVectorD fMeanVecStats
 
rsim::IFPGAAlgorithmfFPGAAlgo
 
rsim::NoiseMaker fNoiseMaker
 
TH3 * fNoiseMap
 
double fClocktick
 digitization clock period, ns More...
 
int fNumClockticksInSpill
 number of clockticks in a spill More...
 
int fNumClockticksPerDigitization
 How many ticks between each ADC. More...
 
double fADCMaxPE
 maximum signal size that the ADC can handle without saturating (in PE) More...
 
double fAPDExcessNoiseFactor
 APD's "excess noise factor" (see .cxx for more) More...
 
double fASICBaselineInADCCounts
 ASIC baseline output level, in ADC counts. More...
 
double fGain
 APD gain (electrons per photoelectron) More...
 
bool fUseDBThresholds
 Use thresholds from DB instead of fcl defaults. More...
 
bool fUseRandomThresholds
 Use thresholds drawn from a histogram instead of fcl defaults. More...
 
bool fUseNewEmptyCellNoise
 For backwards compatibility with the old noise model until the 2nd analysis is over. More...
 
std::string fThresholdFile
 File containing thresholds for the random threshold option. More...
 
std::string fEmptyCellNoiseFile
 File containing the empty cell noise templates. More...
 
std::string fGainFile
 File containing the distribution of gains on the detector. More...
 
double fLeakageCurrent
 
double fVoltageNoiseDensity
 
double fASICRiseTime
 ASIC shaping curve: rise time, ns. More...
 
double fASICFallTime
 ASIC shaping curve: fall time, ns. More...
 

Detailed Description

Definition at line 32 of file MakeNoiseSpectrumFile_module.cc.

Member Typedef Documentation

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

rsim::MakeNoiseSpectrumFile::MakeNoiseSpectrumFile ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 59 of file MakeNoiseSpectrumFile_module.cc.

References art::EngineCreator::createEngine(), fhicl::ParameterSet::get(), sim::GetRandomNumberSeed(), and seed.

59  :
60  EDAnalyzer(pset),
61  CommonParameters(pset),
62  fN(0),
66  fNoiseMaker(pset)
67  {
68  // get the random number seed, use a random default if not specified
69  // in the configuration file.
70  unsigned int seed = pset.get<unsigned int>("Seed",
72 
73  createEngine(seed);
74  }
CommonParameters(const fhicl::ParameterSet &pset)
base_engine_t & createEngine(seed_t seed)
IFPGAAlgorithm * CreateFPGAAlgorithm(const fhicl::ParameterSet &pset)
Create and configure the correct algorithm based on pset.
int fN
How many spills have we simulated?
unsigned int seed
Definition: runWimpSim.h:102
EDAnalyzer(Table< Config > const &config)
Definition: EDAnalyzer.h:100
unsigned int GetRandomNumberSeed()
Definition: Simulation.cxx:13
rsim::MakeNoiseSpectrumFile::~MakeNoiseSpectrumFile ( )
virtual

Definition at line 77 of file MakeNoiseSpectrumFile_module.cc.

References fFPGAAlgo.

78  {
79  delete fFPGAAlgo;
80  }

Member Function Documentation

void rsim::MakeNoiseSpectrumFile::analyze ( const art::Event evt)

Definition at line 94 of file MakeNoiseSpectrumFile_module.cc.

References rawdata::RawDigit::ADC(), rsim::IFPGAAlgorithm::ASICToDigits(), om::cout, rsim::CommonParameters::fADCMaxPE, rsim::CommonParameters::fASICBaselineInADCCounts, fCovMat, fCovMatStats, fFPGAAlgo, fMeanVec, fMeanVecStats, fN, fNoiseMaker, fNoiseMap, rsim::CommonParameters::fNumClockticksInSpill, rsim::CommonParameters::fNumClockticksPerDigitization, Munits::gauss, art::RandomNumberGenerator::getEngine(), rsim::NoiseMaker::GetNoise(), MECModelEnuComparisons::i, makeTrainCVSamples::int, calib::j, rsim::kCovMatSize, getGoodRuns4SAM::n, and art::EngineCreator::rng().

95  {
96  ++fN;
97 
99  std::cout.flush();
101 
102  const int maxADC = (1<<12)-1;
103  double ASIC_Output[fNumClockticksInSpill];
104 
105  for(int n = 0; n < fNumClockticksInSpill;
107  ASIC_Output[n] = int(fASICBaselineInADCCounts +
109 
110  if(ASIC_Output[n] < 0) ASIC_Output[n] = 0;
111  if(ASIC_Output[n] > maxADC) ASIC_Output[n] = maxADC;
112  }
113 
114 
115  // Fill covariance matrix information
117  for(int i = 0; i < kCovMatSize; ++i){
118  const int iidx = n+fNumClockticksPerDigitization*i;
119  if(iidx >= fNumClockticksInSpill) continue;
120 
121  fMeanVec(i) += ASIC_Output[iidx];
122  ++fMeanVecStats(i);
123 
124  for(int j = 0; j < kCovMatSize; ++j){
125  const int jidx = n+fNumClockticksPerDigitization*j;
126  if(jidx >= fNumClockticksInSpill) continue;
127 
128  fCovMat(i, j) += ASIC_Output[iidx]*ASIC_Output[jidx];
129  ++fCovMatStats(i, j);
130  } // end for j
131  } // end for i
132  } // end for n
133 
134 
135  const std::vector<rawdata::RawDigit> digits =
136  fFPGAAlgo->ASICToDigits(ASIC_Output, 0);
137 
138  for(unsigned int i = 0; i < digits.size(); ++i){
139  const rawdata::RawDigit& digit = digits[i];
140 
141  fNoiseMap->Fill(digit.ADC(0), digit.ADC(1), digit.ADC(2));
142  }
143  }
int fNumClockticksPerDigitization
How many ticks between each ADC.
virtual std::vector< rawdata::RawDigit > ASICToDigits(double *ASIC_Output, int offset)=0
static art::ServiceHandle< art::RandomNumberGenerator > & rng()
int fN
How many spills have we simulated?
base_engine_t & getEngine() const
double GetNoise(CLHEP::RandGaussQ *gauss)
Definition: NoiseMaker.h:32
const double j
Definition: BetheBloch.cxx:29
static constexpr Double_t gauss
Definition: Munits.h:360
OStream cout
Definition: OStream.cxx:6
double fADCMaxPE
maximum signal size that the ADC can handle without saturating (in PE)
int16_t ADC(uint32_t i) const
Definition: RawDigit.cxx:58
int fNumClockticksInSpill
number of clockticks in a spill
double fASICBaselineInADCCounts
ASIC baseline output level, in ADC counts.
void rsim::MakeNoiseSpectrumFile::beginJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 83 of file MakeNoiseSpectrumFile_module.cc.

References fNoiseMap, and art::TFileDirectory::make().

84  {
86 
87  fNoiseMap = tfs->make<TH3D>("h3_adc0adc1adc2", ";ADC0;ADC1;ADC2",
88  80, 0, 80,
89  80, 0, 80,
90  80, 0, 80);
91  }
T * make(ARGS...args) const
detail::CachedProducts& art::EventObserverBase::cachedProducts ( )
inlineprotectedinherited

Definition at line 79 of file EventObserverBase.h.

References art::EventObserverBase::selectors_.

80  {
81  return selectors_;
82  }
detail::CachedProducts selectors_
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::consumes ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::consumes ( InputTag const &  it)
inherited

Definition at line 146 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

147 {
148  if (!moduleContext_)
149  return ProductToken<T>::invalid();
150 
151  consumables_[BT].emplace_back(ConsumableType::Product,
152  TypeID{typeid(T)},
153  it.label(),
154  it.instance(),
155  it.process());
156  return ProductToken<T>{it};
157 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::consumesMany ( )
inherited

Definition at line 161 of file Consumer.h.

References T.

162 {
163  if (!moduleContext_)
164  return;
165 
166  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
167 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::consumesView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::consumesView ( InputTag const &  it)
inherited

Definition at line 171 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

172 {
173  if (!moduleContext_)
174  return ViewToken<T>::invalid();
175 
176  consumables_[BT].emplace_back(ConsumableType::ViewElement,
177  TypeID{typeid(T)},
178  it.label(),
179  it.instance(),
180  it.process());
181  return ViewToken<T>{it};
182 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make 
)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make,
label_t const &  engine_label 
)
inherited
CurrentProcessingContext const* art::EDAnalyzer::currentContext ( ) const
protectedinherited
void rsim::MakeNoiseSpectrumFile::endJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 146 of file MakeNoiseSpectrumFile_module.cc.

References om::cout, DEFINE_ART_MODULE(), allTimeWatchdog::endl, rsim::CommonParameters::fClocktick, fCovMat, fCovMatStats, fMeanVec, fMeanVecStats, fN, fNoiseMap, rsim::CommonParameters::fNumClockticksInSpill, MECModelEnuComparisons::i, calib::j, rsim::kCovMatSize, and ns.

147  {
148  // Normalization of noise map is probability /cell /ns
149  // Warning, this can overflow if performed with ints.
150  const double ns = long(fN)*long(fNumClockticksInSpill)*fClocktick;
151  fNoiseMap->Scale(1/ns);
152 
153  // Divide by number of samples to get means
154  for(int i = 0; i < kCovMatSize; ++i){
155  fMeanVec(i) /= fMeanVecStats(i);
156  for(int j = 0; j < kCovMatSize; ++j){
157  fCovMat(i, j) /= fCovMatStats(i, j);
158  }
159  }
160 
161  // Definition of covariance: <ij>-<i><j>
162  for(int i = 0; i < kCovMatSize; ++i){
163  for(int j = 0; j < kCovMatSize; ++j){
164  fCovMat(i, j) -= fMeanVec(i)*fMeanVec(j);
165  }
166  }
167 
168  std::cout << "Covariance matrix: " << std::endl;
169  fCovMat.Print();
170  std::cout << "And its inverse: " << std::endl;
171  fCovMat.Invert();
172  fCovMat.Print();
173 
174  /*
175  // Output format useful for copy-pasting into code
176  for(int i = 0; i < kCovMatSize; ++i){
177  for(int j = 0; j < kCovMatSize; ++j){
178  std::cout << "mat(" << i << ", " << j << ") = "
179  << fCovMat(i, j) << "; ";
180  }
181  std::cout << std::endl;
182  }
183  */
184  }
int fN
How many spills have we simulated?
const double j
Definition: BetheBloch.cxx:29
static const double ns
Module that plots metrics from reconstructed cosmic ray data.
OStream cout
Definition: OStream.cxx:6
int fNumClockticksInSpill
number of clockticks in a spill
double fClocktick
digitization clock period, ns
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
art::Handle<art::TriggerResults> art::EventObserverBase::getTriggerResults ( Event const &  e) const
inlineinherited

Definition at line 61 of file EventObserverBase.h.

References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.

62  {
64  }
detail::CachedProducts selectors_
art::Handle< art::TriggerResults > getOneTriggerResults(Event const &) const
Float_t e
Definition: plot.C:35
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::mayConsume ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::mayConsume ( InputTag const &  it)
inherited

Definition at line 189 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

190 {
191  if (!moduleContext_)
192  return ProductToken<T>::invalid();
193 
194  consumables_[BT].emplace_back(ConsumableType::Product,
195  TypeID{typeid(T)},
196  it.label(),
197  it.instance(),
198  it.process());
199  return ProductToken<T>{it};
200 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::mayConsumeMany ( )
inherited

Definition at line 204 of file Consumer.h.

References T.

205 {
206  if (!moduleContext_)
207  return;
208 
209  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
210 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::mayConsumeView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::mayConsumeView ( InputTag const &  it)
inherited

Definition at line 214 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

215 {
216  if (!moduleContext_)
217  return ViewToken<T>::invalid();
218 
219  consumables_[BT].emplace_back(ConsumableType::ViewElement,
220  TypeID{typeid(T)},
221  it.label(),
222  it.instance(),
223  it.process());
224  return ViewToken<T>{it};
225 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
bool art::EventObserverBase::modifiesEvent ( ) const
inlineinherited

Definition at line 25 of file EventObserverBase.h.

26  {
27  return false;
28  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
std::string const& art::EventObserverBase::processName ( ) const
inlineinherited
void art::EventObserverBase::registerProducts ( MasterProductRegistry ,
ProductDescriptions ,
ModuleDescription const &   
)
inlineinherited

Definition at line 33 of file EventObserverBase.h.

References string.

36  {}
fhicl::ParameterSetID art::EventObserverBase::selectorConfig ( ) const
inlineinherited

Definition at line 56 of file EventObserverBase.h.

References art::EventObserverBase::selector_config_id_.

57  {
58  return selector_config_id_;
59  }
fhicl::ParameterSetID selector_config_id_
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

Referenced by art::RootOutput::endJob().

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited
bool art::EventObserverBase::wantAllEvents ( ) const
inlineinherited

Definition at line 46 of file EventObserverBase.h.

References art::EventObserverBase::wantAllEvents_.

Referenced by art::RootOutput::RootOutput().

47  {
48  return wantAllEvents_;
49  }
bool art::EventObserverBase::wantEvent ( Event const &  e)
inlineinherited

Definition at line 51 of file EventObserverBase.h.

References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().

52  {
53  return selectors_.wantEvent(e);
54  }
detail::CachedProducts selectors_
Float_t e
Definition: plot.C:35
bool wantEvent(Event const &)
std::string art::EDAnalyzer::workerType ( ) const
inlineinherited

Definition at line 109 of file EDAnalyzer.h.

References art::EDAnalyzer::currentContext().

110  {
111  return "WorkerT<EDAnalyzer>";
112  }

Member Data Documentation

double rsim::CommonParameters::fADCMaxPE
inherited

maximum signal size that the ADC can handle without saturating (in PE)

Definition at line 25 of file CommonParameters.h.

Referenced by analyze(), rsim::CommonParameters::CommonParameters(), rsim::ReadoutSim::CreateRawDigits(), rsim::NoiseMaker::Init(), and rsim::ReadoutSim::PE2ADC().

double rsim::CommonParameters::fAPDExcessNoiseFactor
inherited
double rsim::CommonParameters::fASICBaselineInADCCounts
inherited

ASIC baseline output level, in ADC counts.

Definition at line 27 of file CommonParameters.h.

Referenced by analyze(), and rsim::ReadoutSim::CreateRawDigits().

double rsim::CommonParameters::fASICFallTime
inherited

ASIC shaping curve: fall time, ns.

Definition at line 39 of file CommonParameters.h.

Referenced by rsim::NoiseMaker::NoiseMaker(), and rsim::FPGA_MatchedFiltering::PerfectASICCurve().

double rsim::CommonParameters::fASICRiseTime
inherited

ASIC shaping curve: rise time, ns.

Definition at line 38 of file CommonParameters.h.

Referenced by rsim::NoiseMaker::NoiseMaker(), and rsim::FPGA_MatchedFiltering::PerfectASICCurve().

double rsim::CommonParameters::fClocktick
inherited
TMatrixD rsim::MakeNoiseSpectrumFile::fCovMat
protected

Definition at line 47 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze(), and endJob().

TMatrixD rsim::MakeNoiseSpectrumFile::fCovMatStats
protected

Definition at line 48 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze(), and endJob().

std::string rsim::CommonParameters::fEmptyCellNoiseFile
inherited

File containing the empty cell noise templates.

Definition at line 33 of file CommonParameters.h.

Referenced by rsim::ReadoutSim::beginRun(), and rsim::CommonParameters::CommonParameters().

rsim::IFPGAAlgorithm* rsim::MakeNoiseSpectrumFile::fFPGAAlgo
protected

Definition at line 52 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze(), and ~MakeNoiseSpectrumFile().

double rsim::CommonParameters::fGain
inherited
std::string rsim::CommonParameters::fGainFile
inherited

File containing the distribution of gains on the detector.

Definition at line 34 of file CommonParameters.h.

Referenced by rsim::ReadoutSim::beginRun(), and rsim::CommonParameters::CommonParameters().

double rsim::CommonParameters::fLeakageCurrent
inherited
TVectorD rsim::MakeNoiseSpectrumFile::fMeanVec
protected

Definition at line 49 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze(), and endJob().

TVectorD rsim::MakeNoiseSpectrumFile::fMeanVecStats
protected

Definition at line 50 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze(), and endJob().

int rsim::MakeNoiseSpectrumFile::fN
protected

How many spills have we simulated?

Definition at line 43 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze(), and endJob().

rsim::NoiseMaker rsim::MakeNoiseSpectrumFile::fNoiseMaker
protected

Definition at line 53 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze().

TH3* rsim::MakeNoiseSpectrumFile::fNoiseMap
protected

Definition at line 55 of file MakeNoiseSpectrumFile_module.cc.

Referenced by analyze(), beginJob(), and endJob().

int rsim::CommonParameters::fNumClockticksInSpill
inherited
int rsim::CommonParameters::fNumClockticksPerDigitization
inherited
std::string rsim::CommonParameters::fThresholdFile
inherited

File containing thresholds for the random threshold option.

Definition at line 32 of file CommonParameters.h.

Referenced by rsim::IFPGAAlgorithm::IFPGAAlgorithm().

bool rsim::CommonParameters::fUseDBThresholds
inherited
bool rsim::CommonParameters::fUseNewEmptyCellNoise
inherited

For backwards compatibility with the old noise model until the 2nd analysis is over.

Definition at line 31 of file CommonParameters.h.

Referenced by rsim::CommonParameters::CommonParameters(), and rsim::ReadoutSim::CreateRawDigits().

bool rsim::CommonParameters::fUseRandomThresholds
inherited

Use thresholds drawn from a histogram instead of fcl defaults.

Definition at line 30 of file CommonParameters.h.

Referenced by rsim::IFPGAAlgorithm::FetchThresholds(), rsim::IFPGAAlgorithm::IFPGAAlgorithm(), and rsim::IFPGAAlgorithm::ThresholdADC().

double rsim::CommonParameters::fVoltageNoiseDensity
inherited

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