#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 > |
List of service providers we depend on. More... | |
Public Member Functions | |
DetectorPropertiesStandard (fhicl::ParameterSet const &pset, const geo::GeometryCore *geo, const detinfo::LArProperties *lp, std::set< std::string > const &ignore_params={}) | |
DetectorPropertiesStandard (DetectorPropertiesStandard const &)=delete | |
virtual | ~DetectorPropertiesStandard ()=default |
void | SetNumberTimeSamples (unsigned int nsamp) |
double | Efield (unsigned int planegap=0) const override |
kV/cm More... | |
double | DriftVelocity (double efield=0., double temperature=0.) const override |
cm/us More... | |
double | BirksCorrection (double dQdX) const override |
dQ/dX in electrons/cm, returns dE/dX in MeV/cm. More... | |
double | BirksCorrection (double dQdX, double EField) const override |
double | ModBoxCorrection (double dQdX) const override |
double | ModBoxCorrection (double dQdX, double EField) const override |
double | ElectronLifetime () const override |
Returns the attenuation constant for ionization electrons. More... | |
double | Density (double temperature=0.) const override |
Returns argon density at a given temperature. More... | |
double | Temperature () const override |
In kelvin. More... | |
double | Eloss (double mom, double mass, double tcut) const override |
Restricted mean energy loss (dE/dx) More... | |
double | ElossVar (double mom, double mass) const override |
Energy loss fluctuation ( ) More... | |
double | ElectronsToADC () const override |
unsigned int | NumberTimeSamples () const override |
unsigned int | ReadOutWindowSize () const override |
double | TimeOffsetU () const override |
double | TimeOffsetV () const override |
double | TimeOffsetZ () const override |
double | TimeOffsetY () const override |
bool | SimpleBoundary () const override |
DetectorPropertiesData | DataFor (detinfo::DetectorClocksData const &clock_data) const override |
Public Member Functions inherited from detinfo::DetectorProperties | |
DetectorProperties ()=default | |
DetectorProperties (const DetectorProperties &)=delete | |
DetectorProperties (DetectorProperties &&)=delete | |
DetectorProperties & | operator= (const DetectorProperties &)=delete |
DetectorProperties & | operator= (DetectorProperties &&)=delete |
virtual | ~DetectorProperties ()=default |
virtual double | Density () const |
Returns argon density at the temperature from Temperature() More... | |
Private Member Functions | |
void | ValidateAndConfigure (fhicl::ParameterSet const &p, std::set< std::string > const &ignore_params) |
Configures the provider, first validating the configuration. More... | |
std::string | CheckTimeOffsets (std::set< geo::View_t > const &requested_views) const |
Private Attributes | |
const detinfo::LArProperties * | fLP |
const geo::GeometryCore * | fGeo |
std::vector< double > | fEfield |
kV/cm (per inter-plane volume) ! More... | |
double | fElectronlifetime |
microseconds More... | |
double | fTemperature |
kelvin More... | |
double | fElectronsToADC |
unsigned int | fNumberTimeSamples |
number of clock ticks per event More... | |
unsigned int | fReadOutWindowSize |
number of clock ticks per readout window More... | |
double | fTimeOffsetU |
double | fTimeOffsetV |
double | fTimeOffsetZ |
double | fTimeOffsetY |
double | fTimeOffsetX |
double | fDriftVelFudgeFactor |
bool | fUseIcarusMicrobooneDriftModel |
bool | fIncludeInterPlanePitchInXTickOffsets |
SternheimerParameters_t | fSternheimerParameters |
Sternheimer parameters. More... | |
std::vector< std::vector< double > > | fDriftDirection |
bool | fSimpleBoundary |
Definition at line 35 of file DetectorPropertiesStandard.h.
using detinfo::DetectorPropertiesStandard::providers_type = lar::ProviderPack<geo::GeometryCore, detinfo::LArProperties> |
List of service providers we depend on.
Definition at line 38 of file DetectorPropertiesStandard.h.
detinfo::DetectorPropertiesStandard::DetectorPropertiesStandard | ( | fhicl::ParameterSet const & | pset, |
const geo::GeometryCore * | geo, | ||
const detinfo::LArProperties * | lp, | ||
std::set< std::string > const & | ignore_params = {} |
||
) |
Definition at line 30 of file DetectorPropertiesStandard.cxx.
|
delete |
|
virtualdefault |
|
overridevirtual |
dQ/dX in electrons/cm, returns dE/dX in MeV/cm.
Implements detinfo::DetectorProperties.
Definition at line 303 of file DetectorPropertiesStandard.cxx.
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 308 of file DetectorPropertiesStandard.cxx.
|
private |
Definition at line 459 of file DetectorPropertiesStandard.cxx.
|
overridevirtual |
< special case for ArgoNeuT
Implements detinfo::DetectorProperties.
Definition at line 355 of file DetectorPropertiesStandard.cxx.
|
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 106 of file DetectorPropertiesStandard.cxx.
|
overridevirtual |
cm/us
Implements detinfo::DetectorProperties.
Definition at line 189 of file DetectorPropertiesStandard.cxx.
|
overridevirtual |
kV/cm
Implements detinfo::DetectorProperties.
Definition at line 95 of file DetectorPropertiesStandard.cxx.
|
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 158 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 209 of file DetectorPropertiesStandard.h.
|
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 132 of file DetectorPropertiesStandard.cxx.
|
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 173 of file DetectorPropertiesStandard.cxx.
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 326 of file DetectorPropertiesStandard.cxx.
|
overridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 331 of file DetectorPropertiesStandard.cxx.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 214 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 219 of file DetectorPropertiesStandard.h.
|
inline |
Definition at line 139 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 245 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
In kelvin.
Implements detinfo::DetectorProperties.
Definition at line 177 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 224 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 229 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
Reimplemented from detinfo::DetectorProperties.
Definition at line 239 of file DetectorPropertiesStandard.h.
|
inlineoverridevirtual |
Implements detinfo::DetectorProperties.
Definition at line 234 of file DetectorPropertiesStandard.h.
|
private |
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 41 of file DetectorPropertiesStandard.cxx.
|
private |
Definition at line 312 of file DetectorPropertiesStandard.h.
|
private |
Scaling factor to allow "fudging" of drift velocity
Definition at line 298 of file DetectorPropertiesStandard.h.
|
private |
kV/cm (per inter-plane volume) !
Definition at line 281 of file DetectorPropertiesStandard.h.
|
private |
microseconds
Definition at line 282 of file DetectorPropertiesStandard.h.
|
private |
conversion factor for # of ionization electrons to 1 ADC count
Definition at line 284 of file DetectorPropertiesStandard.h.
|
private |
Definition at line 279 of file DetectorPropertiesStandard.h.
|
private |
Historically, ConvertTicksToX has allowed for the drift time between the wire planes. This is appropriate for recob::RawDigits, and recob::Wires from the 1D unfolding, but is not appropriate for recob::Wires from WireCell.
Definition at line 308 of file DetectorPropertiesStandard.h.
|
private |
Definition at line 278 of file DetectorPropertiesStandard.h.
|
private |
number of clock ticks per event
Definition at line 286 of file DetectorPropertiesStandard.h.
|
private |
number of clock ticks per readout window
Definition at line 287 of file DetectorPropertiesStandard.h.
|
private |
Definition at line 314 of file DetectorPropertiesStandard.h.
|
private |
Sternheimer parameters.
Definition at line 310 of file DetectorPropertiesStandard.h.
|
private |
kelvin
Definition at line 283 of file DetectorPropertiesStandard.h.
|
private |
time offset to convert spacepoint coordinates to hit times on view U
Definition at line 288 of file DetectorPropertiesStandard.h.
|
private |
time offset to convert spacepoint coordinates to hit times on view V
Definition at line 290 of file DetectorPropertiesStandard.h.
|
private |
time offset to convert spacepoint coordinates to hit times on view X
Definition at line 296 of file DetectorPropertiesStandard.h.
|
private |
time offset to convert spacepoint coordinates to hit times on view Y
Definition at line 294 of file DetectorPropertiesStandard.h.
|
private |
time offset to convert spacepoint coordinates to hit times on view Z
Definition at line 292 of file DetectorPropertiesStandard.h.
|
private |
if true, use alternative ICARUS-MicroBooNE drift model instead of Walkowiak-based one
Definition at line 301 of file DetectorPropertiesStandard.h.