LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "DetectorPropertiesStandard.h"
Classes | |
struct | Configuration_t |
Structure for configuration parameters. More... | |
struct | SternheimerParameters_t |
Parameters for Sternheimer density effect corrections. More... | |
Public Types | |
using | providers_type = lar::ProviderPack< geo::GeometryCore, detinfo::LArProperties, detinfo::DetectorClocks > |
List of service providers we depend on. More... | |
Public Member Functions | |
DetectorPropertiesStandard () | |
DetectorPropertiesStandard (fhicl::ParameterSet const &pset, const geo::GeometryCore *geo, const detinfo::LArProperties *lp, const detinfo::DetectorClocks *c, std::set< std::string > const &ignore_params={}) | |
DetectorPropertiesStandard (fhicl::ParameterSet const &pset, providers_type providers, std::set< std::string > const &ignore_params={}) | |
Constructs the provider and sets up the dependencies. More... | |
DetectorPropertiesStandard (DetectorPropertiesStandard const &)=delete | |
virtual | ~DetectorPropertiesStandard ()=default |
void | ValidateAndConfigure (fhicl::ParameterSet const &p, std::set< std::string > const &ignore_params={}) |
Configures the provider, first validating the configuration. More... | |
void | Configure (Configuration_t const &config) |
Extracts the relevant configuration from the specified object. More... | |
Configuration_t | ValidateConfiguration (fhicl::ParameterSet const &p, std::set< std::string > const &ignore_params={}) |
Validates the specified configuration. More... | |
bool | Update (uint64_t ts) |
bool | UpdateClocks (const detinfo::DetectorClocks *clks) |
void | Setup (providers_type providers) |
Sets all the providers at once. More... | |
void | SetGeometry (const geo::GeometryCore *g) |
void | SetLArProperties (const detinfo::LArProperties *lp) |
void | SetDetectorClocks (const detinfo::DetectorClocks *clks) |
void | SetNumberTimeSamples (unsigned int nsamp) |
virtual double | Efield (unsigned int planegap=0) const override |
kV/cm More... | |
virtual double | DriftVelocity (double efield=0., double temperature=0.) const override |
cm/us More... | |
virtual double | BirksCorrection (double dQdX) const override |
dQ/dX in electrons/cm, returns dE/dX in MeV/cm. More... | |
virtual double | ModBoxCorrection (double dQdX) const override |
virtual double | ElectronLifetime () const override |
Returns the attenuation constant for ionization electrons. More... | |
virtual double | Density (double temperature) const override |
Returns argon density at a given temperature. More... | |
virtual double | Density () const override |
Returns argon density at the temperature from Temperature() More... | |
virtual double | Temperature () const override |
In kelvin. More... | |
virtual double | Eloss (double mom, double mass, double tcut) const override |
Restricted mean energy loss (dE/dx) More... | |
virtual double | ElossVar (double mom, double mass) const override |
Energy loss fluctuation ( ) More... | |
virtual double | SamplingRate () const override |
Returns the period of the TPC readout electronics clock. More... | |
virtual double | ElectronsToADC () const override |
virtual unsigned int | NumberTimeSamples () const override |
virtual unsigned int | ReadOutWindowSize () const override |
virtual int | TriggerOffset () const override |
virtual double | TimeOffsetU () const override |
virtual double | TimeOffsetV () const override |
virtual double | TimeOffsetZ () const override |
virtual double | TimeOffsetY () const override |
virtual double | ConvertXToTicks (double X, int p, int t, int c) const override |
virtual double | ConvertXToTicks (double X, geo::PlaneID const &planeid) const override |
virtual double | ConvertTicksToX (double ticks, int p, int t, int c) const override |
virtual double | ConvertTicksToX (double ticks, geo::PlaneID const &planeid) const override |
virtual double | GetXTicksOffset (int p, int t, int c) const override |
virtual double | GetXTicksOffset (geo::PlaneID const &planeid) const override |
virtual double | GetXTicksCoefficient (int t, int c) const override |
virtual double | GetXTicksCoefficient (geo::TPCID const &tpcid) const override |
virtual double | GetXTicksCoefficient () const override |
virtual double | ConvertTDCToTicks (double tdc) const override |
virtual double | ConvertTicksToTDC (double ticks) const override |
virtual bool | SimpleBoundary () const override |
void | CheckIfConfigured () const |
Protected Member Functions | |
void | CalculateXTicksParams () |
std::string | CheckTimeOffsetConfigurationAfterSetup () const |
Checks the configuration of time offsets. More... | |
void | CheckConfigurationAfterSetup () const |
void | DoUpdateClocks () |
Time-independent implementation of clock updates. More... | |
Protected Attributes | |
const detinfo::LArProperties * | fLP |
const detinfo::DetectorClocks * | fClocks |
const geo::GeometryCore * | fGeo |
std::vector< double > | fEfield |
kV/cm (per inter-plane volume) More... | |
double | fElectronlifetime |
microseconds More... | |
double | fTemperature |
kelvin More... | |
double | fSamplingRate |
in ns More... | |
double | fElectronsToADC |
conversion factor for # of ionization electrons to 1 ADC count More... | |
unsigned int | fNumberTimeSamples |
number of clock ticks per event More... | |
unsigned int | fReadOutWindowSize |
number of clock ticks per readout window More... | |
double | fTimeOffsetU |
time offset to convert spacepoint coordinates to hit times on view U More... | |
double | fTimeOffsetV |
time offset to convert spacepoint coordinates to hit times on view V More... | |
double | fTimeOffsetZ |
time offset to convert spacepoint coordinates to hit times on view Z More... | |
double | fTimeOffsetY |
time offset to convert spacepoint coordinates to hit times on view Y More... | |
double | fTimeOffsetX |
time offset to convert spacepoint coordinates to hit times on view X More... | |
double | fHasTimeOffsetU = false |
whether time offset was configured for view U More... | |
double | fHasTimeOffsetV = false |
whether time offset was configured for view V More... | |
double | fHasTimeOffsetZ = false |
whether time offset was configured for view Z More... | |
double | fHasTimeOffsetY = false |
whether time offset was configured for view Y More... | |
double | fHasTimeOffsetX = false |
whether time offset was configured for view X More... | |
SternheimerParameters_t | fSternheimerParameters |
Sternheimer parameters. More... | |
double | fXTicksCoefficient |
Parameters for x<–>ticks. More... | |
std::vector< std::vector< std::vector< double > > > | fXTicksOffsets |
std::vector< std::vector< double > > | fDriftDirection |
::detinfo::ElecClock | fTPCClock |
TPC electronics clock. More... | |
bool | fSimpleBoundary |
Definition at line 34 of file DetectorPropertiesStandard.h.
using detinfo::DetectorPropertiesStandard::providers_type = lar::ProviderPack< geo::GeometryCore, detinfo::LArProperties, detinfo::DetectorClocks > |
List of service providers we depend on.
Definition at line 41 of file DetectorPropertiesStandard.h.
detinfo::DetectorPropertiesStandard::DetectorPropertiesStandard | ( | ) |
Definition at line 39 of file DetectorPropertiesStandard.cxx.
detinfo::DetectorPropertiesStandard::DetectorPropertiesStandard | ( | fhicl::ParameterSet const & | pset, |
const geo::GeometryCore * | geo, | ||
const detinfo::LArProperties * | lp, | ||
const detinfo::DetectorClocks * | c, | ||
std::set< std::string > const & | ignore_params = {} |
||
) |
Definition at line 46 of file DetectorPropertiesStandard.cxx.
References tca::debug, DoUpdateClocks(), fClocks, fTPCClock, detinfo::DetectorClocks::TPCClock(), and ValidateAndConfigure().
detinfo::DetectorPropertiesStandard::DetectorPropertiesStandard | ( | fhicl::ParameterSet const & | pset, |
providers_type | providers, | ||
std::set< std::string > const & | ignore_params = {} |
||
) |
Constructs the provider and sets up the dependencies.
pset | FHiCL parameter set for provider configuration |
providers | pack of providers DetectorPropertiesStandard depends on |
ignore_params | unknown configuration keys in pset to be tolerated |
Definition at line 68 of file DetectorPropertiesStandard.cxx.
|
delete |
|
virtualdefault |
|
overridevirtual |
dQ/dX in electrons/cm, returns dE/dX in MeV/cm.
Implements detinfo::DetectorProperties.
Definition at line 379 of file DetectorPropertiesStandard.cxx.
References Density(), Efield(), util::kGeVToElectrons, util::kRecombA, and util::kRecombk.
Referenced by SetNumberTimeSamples().
|
protected |
< special case for ArgoNeuT
Definition at line 462 of file DetectorPropertiesStandard.cxx.
References CheckIfConfigured(), geo::GeometryCore::Cryostat(), dir, geo::TPCGeo::DriftDirection(), DriftVelocity(), Efield(), fDriftDirection, fGeo, fTimeOffsetU, fTimeOffsetV, fTimeOffsetX, fTimeOffsetY, fTimeOffsetZ, fXTicksCoefficient, fXTicksOffsets, geo::kNegX, geo::kU, geo::kV, geo::kX, geo::kY, geo::kZ, geo::GeometryCore::Ncryostats(), geo::TPCGeo::Nplanes(), geo::CryostatGeo::NTPC(), geo::TPCGeo::Plane(), geo::TPCGeo::PlaneLocation(), geo::TPCGeo::PlanePitch(), SamplingRate(), Temperature(), geo::CryostatGeo::TPC(), TriggerOffset(), and geo::PlaneGeo::View().
Referenced by DoUpdateClocks().
|
protected |
Checks that provider configuration is complete, using setup information.
Definition at line 643 of file DetectorPropertiesStandard.cxx.
References CheckTimeOffsetConfigurationAfterSetup().
Referenced by Setup().
void detinfo::DetectorPropertiesStandard::CheckIfConfigured | ( | ) | const |
Verifies that the provider is in a fully configured status
cet::exception | (category DetectorPropertiesStandard) if not ok |
Definition at line 451 of file DetectorPropertiesStandard.cxx.
References fClocks, fGeo, and fLP.
Referenced by CalculateXTicksParams(), and SimpleBoundary().
|
protected |
Checks the configuration of time offsets.
Definition at line 601 of file DetectorPropertiesStandard.cxx.
References fGeo, fHasTimeOffsetU, fHasTimeOffsetV, fHasTimeOffsetX, fHasTimeOffsetY, fHasTimeOffsetZ, geo::kU, geo::kV, geo::kX, geo::kY, geo::kZ, and geo::GeometryCore::Views().
Referenced by CheckConfigurationAfterSetup(), and GetXTicksOffset().
void detinfo::DetectorPropertiesStandard::Configure | ( | Configuration_t const & | config | ) |
Extracts the relevant configuration from the specified object.
Definition at line 112 of file DetectorPropertiesStandard.cxx.
References detinfo::DetectorPropertiesStandard::SternheimerParameters_t::a, detinfo::DetectorPropertiesStandard::SternheimerParameters_t::cbar, DoUpdateClocks(), detinfo::DetectorPropertiesStandard::Configuration_t::Efield, detinfo::DetectorPropertiesStandard::Configuration_t::Electronlifetime, detinfo::DetectorPropertiesStandard::Configuration_t::ElectronsToADC, fEfield, fElectronlifetime, fElectronsToADC, fHasTimeOffsetU, fHasTimeOffsetV, fHasTimeOffsetX, fHasTimeOffsetY, fHasTimeOffsetZ, fNumberTimeSamples, fReadOutWindowSize, fSimpleBoundary, fSternheimerParameters, fTemperature, fTimeOffsetU, fTimeOffsetV, fTimeOffsetX, fTimeOffsetY, fTimeOffsetZ, detinfo::DetectorPropertiesStandard::SternheimerParameters_t::k, detinfo::DetectorPropertiesStandard::Configuration_t::NumberTimeSamples, detinfo::DetectorPropertiesStandard::Configuration_t::ReadOutWindowSize, detinfo::DetectorPropertiesStandard::Configuration_t::SimpleBoundary, detinfo::DetectorPropertiesStandard::Configuration_t::SternheimerA, detinfo::DetectorPropertiesStandard::Configuration_t::SternheimerCbar, detinfo::DetectorPropertiesStandard::Configuration_t::SternheimerK, detinfo::DetectorPropertiesStandard::Configuration_t::SternheimerX0, detinfo::DetectorPropertiesStandard::Configuration_t::SternheimerX1, detinfo::DetectorPropertiesStandard::Configuration_t::Temperature, detinfo::DetectorPropertiesStandard::Configuration_t::TimeOffsetU, detinfo::DetectorPropertiesStandard::Configuration_t::TimeOffsetV, detinfo::DetectorPropertiesStandard::Configuration_t::TimeOffsetX, detinfo::DetectorPropertiesStandard::Configuration_t::TimeOffsetY, detinfo::DetectorPropertiesStandard::Configuration_t::TimeOffsetZ, detinfo::DetectorPropertiesStandard::SternheimerParameters_t::x0, and detinfo::DetectorPropertiesStandard::SternheimerParameters_t::x1.
Referenced by ValidateAndConfigure().
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 99 of file DetectorPropertiesStandard.cxx.
References fClocks, and detinfo::DetectorClocks::TPCTDC2Tick().
Referenced by GetXTicksCoefficient().
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 105 of file DetectorPropertiesStandard.cxx.
References fClocks, and detinfo::DetectorClocks::TPCTick2TDC().
Referenced by GetXTicksCoefficient().
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 444 of file DetectorPropertiesStandard.cxx.
References fDriftDirection, fXTicksCoefficient, and fXTicksOffsets.
Referenced by ConvertTicksToX(), and ConvertXToTicks().
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 271 of file DetectorPropertiesStandard.h.
References ConvertTicksToX(), geo::CryostatID::Cryostat, GetXTicksOffset(), geo::PlaneID::Plane, and geo::TPCID::TPC.
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 433 of file DetectorPropertiesStandard.cxx.
References fDriftDirection, fXTicksCoefficient, and fXTicksOffsets.
Referenced by ConvertXToTicks(), and TimeOffsetY().
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 268 of file DetectorPropertiesStandard.h.
References ConvertTicksToX(), ConvertXToTicks(), geo::CryostatID::Cryostat, geo::PlaneID::Plane, and geo::TPCID::TPC.
|
overridevirtual |
Returns argon density at a given temperature.
temperature | the temperature in kelvin |
Density is nearly a linear function of temperature. See the NIST tables for details Slope is between -6.2 and -6.1, intercept is 1928 kg/m^3. This parameterization will be good to better than 0.5%.g/cm^3
Implements detinfo::DetectorProperties.
Definition at line 186 of file DetectorPropertiesStandard.cxx.
References Temperature().
|
inlineoverridevirtual |
Returns argon density at the temperature from Temperature()
Reimplemented from detinfo::DetectorProperties.
Definition at line 226 of file DetectorPropertiesStandard.h.
References Density(), and detinfo::DetectorPropertiesStandard::Configuration_t::Temperature.
Referenced by BirksCorrection(), Density(), ElectronLifetime(), Eloss(), ElossVar(), and ModBoxCorrection().
|
protected |
Time-independent implementation of clock updates.
Definition at line 657 of file DetectorPropertiesStandard.cxx.
References CalculateXTicksParams().
Referenced by Configure(), DetectorPropertiesStandard(), Update(), and UpdateClocks().
|
overridevirtual |
cm/us
Implements detinfo::DetectorProperties.
Definition at line 286 of file DetectorPropertiesStandard.cxx.
References Efield(), and Temperature().
Referenced by CalculateXTicksParams(), and SetNumberTimeSamples().
|
overridevirtual |
kV/cm
Implements detinfo::DetectorProperties.
Definition at line 176 of file DetectorPropertiesStandard.cxx.
References fEfield.
Referenced by BirksCorrection(), CalculateXTicksParams(), DriftVelocity(), and ModBoxCorrection().
|
inlineoverridevirtual |
Returns the attenuation constant for ionization electrons.
The returned constant τ can be used to know the attenuation the ionization charge undergoes after drifting for a certain time t: (t is measured in microseconds).
This is a uniform, constant value for the detector.
Implements detinfo::DetectorProperties.
Definition at line 210 of file DetectorPropertiesStandard.h.
References Density(), and fElectronlifetime.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 258 of file DetectorPropertiesStandard.h.
References fElectronsToADC.
|
overridevirtual |
Restricted mean energy loss (dE/dx)
mom | momentum of incident particle [GeV/c] |
mass | mass of incident particle [GeV/c^2] |
tcut | maximum kinetic energy of delta rays [MeV]; 0 for unlimited |
Returned value is always positive. For unrestricted mean energy loss, set tcut = 0 (special case), or tcut large.
Based on Bethe-Bloch formula as contained in particle data book. Material parameters are from the configuration.
Implements detinfo::DetectorProperties.
Definition at line 215 of file DetectorPropertiesStandard.cxx.
References detinfo::DetectorPropertiesStandard::SternheimerParameters_t::a, detinfo::LArProperties::AtomicMass(), detinfo::LArProperties::AtomicNumber(), B, beta, detinfo::DetectorPropertiesStandard::SternheimerParameters_t::cbar, Density(), e, detinfo::LArProperties::ExcitationEnergy(), fLP, fSternheimerParameters, K, detinfo::DetectorPropertiesStandard::SternheimerParameters_t::k, geo::sqr(), x, detinfo::DetectorPropertiesStandard::SternheimerParameters_t::x0, and detinfo::DetectorPropertiesStandard::SternheimerParameters_t::x1.
Referenced by Temperature().
|
overridevirtual |
Energy loss fluctuation ( )
mom | momentum of incident particle in [GeV/c] |
mass | mass of incident particle [GeV/c^2] |
Based on Bichsel formula referred to but not given in PDG.
Implements detinfo::DetectorProperties.
Definition at line 265 of file DetectorPropertiesStandard.cxx.
References detinfo::LArProperties::AtomicMass(), detinfo::LArProperties::AtomicNumber(), Density(), fLP, and K.
Referenced by Temperature().
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 577 of file DetectorPropertiesStandard.cxx.
References fDriftDirection, and fXTicksCoefficient.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 278 of file DetectorPropertiesStandard.h.
References ConvertTDCToTicks(), ConvertTicksToTDC(), geo::CryostatID::Cryostat, GetXTicksCoefficient(), and geo::TPCID::TPC.
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 585 of file DetectorPropertiesStandard.cxx.
References fXTicksCoefficient.
Referenced by GetXTicksCoefficient(), and GetXTicksOffset().
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 593 of file DetectorPropertiesStandard.cxx.
References CheckTimeOffsetConfigurationAfterSetup(), and fXTicksOffsets.
Referenced by ConvertTicksToX(), and GetXTicksOffset().
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 275 of file DetectorPropertiesStandard.h.
References geo::CryostatID::Cryostat, GetXTicksCoefficient(), GetXTicksOffset(), geo::PlaneID::Plane, and geo::TPCID::TPC.
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 397 of file DetectorPropertiesStandard.cxx.
References Density(), Efield(), util::kGeVToElectrons, util::kModBoxA, and util::kModBoxB.
Referenced by SetNumberTimeSamples().
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 259 of file DetectorPropertiesStandard.h.
References fNumberTimeSamples.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 260 of file DetectorPropertiesStandard.h.
References fReadOutWindowSize, and TriggerOffset().
|
inlineoverridevirtual |
Returns the period of the TPC readout electronics clock.
Implements detinfo::DetectorProperties.
Definition at line 257 of file DetectorPropertiesStandard.h.
References fTPCClock, and detinfo::ElecClock::TickPeriod().
Referenced by CalculateXTicksParams().
|
inline |
Definition at line 197 of file DetectorPropertiesStandard.h.
References fClocks.
Referenced by Setup().
|
inline |
Definition at line 195 of file DetectorPropertiesStandard.h.
References fGeo.
Referenced by Setup().
|
inline |
Definition at line 196 of file DetectorPropertiesStandard.h.
References fLP.
Referenced by Setup().
|
inline |
Definition at line 199 of file DetectorPropertiesStandard.h.
References BirksCorrection(), DriftVelocity(), detinfo::DetectorPropertiesStandard::Configuration_t::Efield, fNumberTimeSamples, and ModBoxCorrection().
void detinfo::DetectorPropertiesStandard::Setup | ( | providers_type | providers | ) |
Sets all the providers at once.
providers | the pack of service providers we depend on |
Example:
lar::DetectorPropertiesStandard::providers_type providers; providers.set(lar::providerFrom<geo::Geometry>()); providers.set(lar::providerFrom<detinfo::LArPropertiesService>()); providers.set(lar::providerFrom<detinfo::DetectorClocksService>()); detprop->Setup(providers);
Definition at line 164 of file DetectorPropertiesStandard.cxx.
References CheckConfigurationAfterSetup(), lar::ProviderPack< Providers >::get(), SetDetectorClocks(), SetGeometry(), and SetLArProperties().
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 288 of file DetectorPropertiesStandard.h.
References CheckIfConfigured(), and fSimpleBoundary.
|
inlineoverridevirtual |
In kelvin.
Implements detinfo::DetectorProperties.
Definition at line 229 of file DetectorPropertiesStandard.h.
References Eloss(), ElossVar(), and fTemperature.
Referenced by CalculateXTicksParams(), Density(), and DriftVelocity().
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 262 of file DetectorPropertiesStandard.h.
References fTimeOffsetU.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 263 of file DetectorPropertiesStandard.h.
References fTimeOffsetV.
|
inlineoverridevirtual |
Reimplemented from detinfo::DetectorProperties.
Definition at line 265 of file DetectorPropertiesStandard.h.
References ConvertXToTicks(), fTimeOffsetY, and X.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 264 of file DetectorPropertiesStandard.h.
References fTimeOffsetZ.
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 413 of file DetectorPropertiesStandard.cxx.
References fClocks, fTPCClock, detinfo::ElecClock::Ticks(), and detinfo::DetectorClocks::TriggerOffsetTPC().
Referenced by CalculateXTicksParams(), and ReadOutWindowSize().
bool detinfo::DetectorPropertiesStandard::Update | ( | uint64_t | ts | ) |
Definition at line 81 of file DetectorPropertiesStandard.cxx.
References DoUpdateClocks().
bool detinfo::DetectorPropertiesStandard::UpdateClocks | ( | const detinfo::DetectorClocks * | clks | ) |
Definition at line 89 of file DetectorPropertiesStandard.cxx.
References DoUpdateClocks(), fClocks, fTPCClock, and detinfo::DetectorClocks::TPCClock().
void detinfo::DetectorPropertiesStandard::ValidateAndConfigure | ( | fhicl::ParameterSet const & | p, |
std::set< std::string > const & | ignore_params = {} |
||
) |
Configures the provider, first validating the configuration.
p | configuration parameter set |
ignore_params | parameters to be ignored (optional) |
This method will validate the parameter set (except for the parameters it's explicitly told to ignore) and extract the useful information out of it.
Definition at line 155 of file DetectorPropertiesStandard.cxx.
References Configure(), and ValidateConfiguration().
Referenced by DetectorPropertiesStandard().
DetectorPropertiesStandard::Configuration_t detinfo::DetectorPropertiesStandard::ValidateConfiguration | ( | fhicl::ParameterSet const & | p, |
std::set< std::string > const & | ignore_params = {} |
||
) |
Validates the specified configuration.
p | configuration parameter set |
ignore_params | parameters to be ignored (optional) |
This method will validate the parameter set (except for the parameters it's explicitly told to ignore) and it returns an object ready to be used with Configure().
Definition at line 140 of file DetectorPropertiesStandard.cxx.
References lar::IgnorableProviderConfigKeys().
Referenced by ValidateAndConfigure().
|
protected |
Definition at line 311 of file DetectorPropertiesStandard.h.
Referenced by CheckIfConfigured(), ConvertTDCToTicks(), ConvertTicksToTDC(), DetectorPropertiesStandard(), SetDetectorClocks(), TriggerOffset(), and UpdateClocks().
|
protected |
Definition at line 337 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), ConvertTicksToX(), ConvertXToTicks(), and GetXTicksCoefficient().
|
protected |
kV/cm (per inter-plane volume)
Definition at line 314 of file DetectorPropertiesStandard.h.
Referenced by Configure(), and Efield().
|
protected |
microseconds
Definition at line 315 of file DetectorPropertiesStandard.h.
Referenced by Configure(), and ElectronLifetime().
|
protected |
conversion factor for # of ionization electrons to 1 ADC count
Definition at line 318 of file DetectorPropertiesStandard.h.
Referenced by Configure(), and ElectronsToADC().
|
protected |
Definition at line 312 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), CheckIfConfigured(), CheckTimeOffsetConfigurationAfterSetup(), and SetGeometry().
|
protected |
whether time offset was configured for view U
Definition at line 326 of file DetectorPropertiesStandard.h.
Referenced by CheckTimeOffsetConfigurationAfterSetup(), and Configure().
|
protected |
whether time offset was configured for view V
Definition at line 327 of file DetectorPropertiesStandard.h.
Referenced by CheckTimeOffsetConfigurationAfterSetup(), and Configure().
|
protected |
whether time offset was configured for view X
Definition at line 330 of file DetectorPropertiesStandard.h.
Referenced by CheckTimeOffsetConfigurationAfterSetup(), and Configure().
|
protected |
whether time offset was configured for view Y
Definition at line 329 of file DetectorPropertiesStandard.h.
Referenced by CheckTimeOffsetConfigurationAfterSetup(), and Configure().
|
protected |
whether time offset was configured for view Z
Definition at line 328 of file DetectorPropertiesStandard.h.
Referenced by CheckTimeOffsetConfigurationAfterSetup(), and Configure().
|
protected |
Definition at line 310 of file DetectorPropertiesStandard.h.
Referenced by CheckIfConfigured(), Eloss(), ElossVar(), and SetLArProperties().
|
protected |
number of clock ticks per event
Definition at line 319 of file DetectorPropertiesStandard.h.
Referenced by Configure(), NumberTimeSamples(), and SetNumberTimeSamples().
|
protected |
number of clock ticks per readout window
Definition at line 320 of file DetectorPropertiesStandard.h.
Referenced by Configure(), and ReadOutWindowSize().
|
protected |
in ns
Definition at line 317 of file DetectorPropertiesStandard.h.
|
protected |
Definition at line 341 of file DetectorPropertiesStandard.h.
Referenced by Configure(), and SimpleBoundary().
|
protected |
Sternheimer parameters.
Definition at line 332 of file DetectorPropertiesStandard.h.
Referenced by Configure(), and Eloss().
|
protected |
kelvin
Definition at line 316 of file DetectorPropertiesStandard.h.
Referenced by Configure(), and Temperature().
|
protected |
time offset to convert spacepoint coordinates to hit times on view U
Definition at line 321 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), Configure(), and TimeOffsetU().
|
protected |
time offset to convert spacepoint coordinates to hit times on view V
Definition at line 322 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), Configure(), and TimeOffsetV().
|
protected |
time offset to convert spacepoint coordinates to hit times on view X
Definition at line 325 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), and Configure().
|
protected |
time offset to convert spacepoint coordinates to hit times on view Y
Definition at line 324 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), Configure(), and TimeOffsetY().
|
protected |
time offset to convert spacepoint coordinates to hit times on view Z
Definition at line 323 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), Configure(), and TimeOffsetZ().
|
protected |
TPC electronics clock.
Definition at line 339 of file DetectorPropertiesStandard.h.
Referenced by DetectorPropertiesStandard(), SamplingRate(), TriggerOffset(), and UpdateClocks().
|
protected |
Parameters for x<–>ticks.
Definition at line 334 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), ConvertTicksToX(), ConvertXToTicks(), and GetXTicksCoefficient().
|
protected |
Definition at line 336 of file DetectorPropertiesStandard.h.
Referenced by CalculateXTicksParams(), ConvertTicksToX(), ConvertXToTicks(), and GetXTicksOffset().