17 #ifndef UTIL_DETECTORPROPERTIESSERVICEARGONEUT_H 18 #define UTIL_DETECTORPROPERTIESSERVICEARGONEUT_H 58 virtual double DriftVelocity(
double efield=0.,
double temperature=0.)
const override 74 virtual double Density(
double temperature)
const override 78 virtual double Eloss(
double mom,
double mass,
double tcut)
const override 79 {
return fLP->
Eloss(mom, mass, tcut); }
81 virtual double ElossVar(
double mom,
double mass)
const override 94 virtual double ConvertXToTicks(
double X,
int p,
int t,
int c)
const override;
97 virtual double ConvertTicksToX(
double ticks,
int p,
int t,
int c)
const override;
163 #endif // UTIL_DETECTORPROPERTIESSERVICEARGONEUT_H Namespace for general, non-LArSoft-specific utilities.
double Temperature() const
kelvin
virtual double Temperature() const override
double fTimeOffsetU
time offsets to convert spacepoint
bool fXTicksParamsLoaded
calculations
virtual double ConvertTDCToTicks(double tdc) const override
double ModBoxCorrection(double dQdX) const
double fTimeOffsetV
coordinates to hit times on each
double fElectronsToADC
conversion factor for # of ionization electrons to 1 ADC count
double fXTicksCoefficient
Parameters for x<–>ticks.
The data type to uniquely identify a Plane.
virtual double ConvertTicksToX(double ticks, geo::PlaneID const &planeid) const override
double ElossVar(double mom, double mass) const
Energy loss fluctuation (sigma_E^2 / length in MeV^2/cm).
double ElectronLifetime() const
microseconds
double DriftVelocity(double efield=0., double temperature=0.) const
cm/us
CryostatID_t Cryostat
Index of cryostat.
DetectorPropertiesServiceArgoNeuT(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
virtual double GetXTicksCoefficient() const override
virtual int TriggerOffset() const override
virtual double TimeOffsetV() const override
virtual double ConvertTicksToX(double ticks, int p, int t, int c) const override
virtual double GetXTicksOffset(geo::PlaneID const &planeid) const override
virtual double ConvertXToTicks(double X, int p, int t, int c) const override
bool fInheritNumberTimeSamples
Flag saying whether to inherit NumberTimeSamples.
double Efield(unsigned int planegap=0) const
kV/cm
virtual double BirksCorrection(double dQdX) const override
dQ/dX in electrons/cm, returns dE/dX in MeV/cm.
Properties related to liquid argon environment in the detector.
virtual double DriftVelocity(double efield=0., double temperature=0.) const override
virtual unsigned int ReadOutWindowSize() const override
virtual double Efield(unsigned int planegap=0) const override
< kV/cm
virtual bool SimpleBoundary() const override
virtual const detinfo::DetectorProperties * provider() const override
Returns our service provider, that is this very same class.
unsigned int fReadOutWindowSize
number of clock ticks per readout window
void checkDBstatus() const
virtual unsigned int NumberTimeSamples() const override
std::vector< std::vector< double > > fDriftDirection
virtual double ModBoxCorrection(double dQdX) const override
The data type to uniquely identify a TPC.
PlaneID_t Plane
Index of the plane within its TPC.
void preProcessEvent(const art::Event &evt)
Definition of data types for geometry description.
virtual double TimeOffsetY() const override
void CalculateXTicksParams() const
void postOpenFile(std::string const &filename)
virtual double ElossVar(double mom, double mass) const override
Energy loss fluctuation ( )
fhicl::ParameterSet fPS
Original parameter set.
virtual double SamplingRate() const override
Returns the period of the TPC readout electronics clock.
virtual double TimeOffsetU() const override
double BirksCorrection(double dQdX) const
dQ/dX in electrons/cm, returns dE/dX in MeV/cm.
bool fAlreadyReadFromDB
tests whether the values have alread been picked up from the Database
virtual double GetXTicksOffset(int p, int t, int c) const override
virtual double GetXTicksCoefficient(geo::TPCID const &tpcid) const override
virtual double ElectronsToADC() const override
double TickPeriod() const
A single tick period in microseconds.
double Eloss(double mom, double mass, double tcut) const
Restricted mean dE/dx energy loss (MeV/cm).
unsigned int fNumberTimeSamples
number of clock ticks per event
virtual double TimeOffsetZ() const override
virtual double Eloss(double mom, double mass, double tcut) const override
Restricted mean energy loss ( )
std::vector< std::vector< std::vector< double > > > fXTicksOffsets
util::LArPropertiesServiceArgoNeuT const * fLP
Pointer to the specific LArPropertiesServiceArgoNeuT service (provider)
static bool isDetectorPropertiesServiceArgoNeuT(const fhicl::ParameterSet &ps)
Class def header for a class ElecClock.
double Density(double temperature=0.) const
g/cm^3
detinfo::ElecClock fTPCClock
TPC electronics clock.
virtual double Density() const override
Returns argon density at the temperature from Temperature()
virtual double ConvertTicksToTDC(double ticks) const override
Class representing the time measured by an electronics clock.
virtual void reconfigure(fhicl::ParameterSet const &pset) override
TPCID_t TPC
Index of the TPC within its cryostat.
virtual double Density(double temperature) const override
Returns argon density at a given temperature.
virtual double ConvertXToTicks(double X, geo::PlaneID const &planeid) const override
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
virtual double ElectronLifetime() const override
Returns the attenuation constant for ionization electrons.