![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "CalorimetryAlg.h"
Classes | |
| struct | Config |
Public Member Functions | |
| CalorimetryAlg (const fhicl::ParameterSet &pset) | |
| CalorimetryAlg (const Config &config) | |
| ~CalorimetryAlg () | |
| void | reconfigure (const Config &config) |
| void | reconfigure (const fhicl::ParameterSet &pset) |
| double | dEdx_AMP (art::Ptr< recob::Hit > hit, double pitch, double T0=0) const |
| double | dEdx_AMP (recob::Hit const &hit, double pitch, double T0=0) const |
| double | dEdx_AMP (double dQ, double time, double pitch, unsigned int plane, double T0=0) const |
| double | dEdx_AMP (double dQdx, double time, unsigned int plane, double T0=0) const |
| double | dEdx_AREA (art::Ptr< recob::Hit > hit, double pitch, double T0=0) const |
| double | dEdx_AREA (recob::Hit const &hit, double pitch, double T0=0) const |
| double | dEdx_AREA (double dQ, double time, double pitch, unsigned int plane, double T0=0) const |
| double | dEdx_AREA (double dQdx, double time, unsigned int plane, double T0=0) const |
| double | ElectronsFromADCPeak (double adc, unsigned short plane) const |
| double | ElectronsFromADCArea (double area, unsigned short plane) const |
| double | LifetimeCorrection (double time, double T0=0) const |
Private Member Functions | |
| double | dEdx_from_dQdx_e (double dQdx_e, double time, double T0=0) const |
Private Attributes | |
| art::ServiceHandle< geo::Geometry > | geom |
| const detinfo::DetectorProperties * | detprop |
| std::vector< double > | fCalAmpConstants |
| std::vector< double > | fCalAreaConstants |
| bool | fUseModBox |
| int | fLifeTimeForm |
| bool | fDoLifeTimeCorrection |
Definition at line 28 of file CalorimetryAlg.h.
|
inline |
Definition at line 62 of file CalorimetryAlg.h.
| calo::CalorimetryAlg::CalorimetryAlg | ( | const Config & | config | ) |
Definition at line 26 of file CalorimetryAlg.cxx.
References detprop, and reconfigure().
| calo::CalorimetryAlg::~CalorimetryAlg | ( | ) |
Definition at line 34 of file CalorimetryAlg.cxx.
| double calo::CalorimetryAlg::dEdx_AMP | ( | art::Ptr< recob::Hit > | hit, |
| double | pitch, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 55 of file CalorimetryAlg.cxx.
References recob::Hit::PeakAmplitude(), recob::Hit::PeakTime(), geo::PlaneID::Plane, and recob::Hit::WireID().
Referenced by dEdx_AMP(), trkf::BezierTrack::GetCalorimetryObject(), shwf::ShowerReco::LongTransEnergy(), calo::Calorimetry::produce(), and showerreco::ShowerRecoAlg::RecoOneShower().
| double calo::CalorimetryAlg::dEdx_AMP | ( | recob::Hit const & | hit, |
| double | pitch, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 61 of file CalorimetryAlg.cxx.
References dEdx_AMP(), recob::Hit::PeakAmplitude(), recob::Hit::PeakTime(), geo::PlaneID::Plane, and recob::Hit::WireID().
| double calo::CalorimetryAlg::dEdx_AMP | ( | double | dQ, |
| double | time, | ||
| double | pitch, | ||
| unsigned int | plane, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 68 of file CalorimetryAlg.cxx.
References dEdx_AMP().
| double calo::CalorimetryAlg::dEdx_AMP | ( | double | dQdx, |
| double | time, | ||
| unsigned int | plane, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 75 of file CalorimetryAlg.cxx.
References dEdx_from_dQdx_e(), and fCalAmpConstants.
| double calo::CalorimetryAlg::dEdx_AREA | ( | art::Ptr< recob::Hit > | hit, |
| double | pitch, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 88 of file CalorimetryAlg.cxx.
References recob::Hit::Integral(), recob::Hit::PeakTime(), geo::PlaneID::Plane, and recob::Hit::WireID().
Referenced by calo::TrackCalorimetryAlg::AnalyzeHit(), mvapid::MVAAlg::CalcSegmentdEdxDist(), ems::EMShower3D::ConvertFrom(), ems::EMShower3D::ConvertFrom2(), dEdx_AREA(), tca::FilldEdx(), shower::EMShowerAlg::FinddEdx(), shwf::ShowerReco::LongTransEnergy(), shower::EMShowerAlg::MakeShower(), calo::Calorimetry::produce(), and showerreco::ShowerRecoAlg::RecoOneShower().
| double calo::CalorimetryAlg::dEdx_AREA | ( | recob::Hit const & | hit, |
| double | pitch, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 94 of file CalorimetryAlg.cxx.
References dEdx_AREA(), recob::Hit::Integral(), recob::Hit::PeakTime(), geo::PlaneID::Plane, and recob::Hit::WireID().
| double calo::CalorimetryAlg::dEdx_AREA | ( | double | dQ, |
| double | time, | ||
| double | pitch, | ||
| unsigned int | plane, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 100 of file CalorimetryAlg.cxx.
References dEdx_AREA().
| double calo::CalorimetryAlg::dEdx_AREA | ( | double | dQdx, |
| double | time, | ||
| unsigned int | plane, | ||
| double | T0 = 0 |
||
| ) | const |
Definition at line 107 of file CalorimetryAlg.cxx.
References dEdx_from_dQdx_e(), and fCalAreaConstants.
|
private |
Definition at line 118 of file CalorimetryAlg.cxx.
References detinfo::DetectorProperties::BirksCorrection(), detprop, fDoLifeTimeCorrection, fUseModBox, LifetimeCorrection(), and detinfo::DetectorProperties::ModBoxCorrection().
Referenced by dEdx_AMP(), and dEdx_AREA().
|
inline |
Definition at line 87 of file CalorimetryAlg.h.
Referenced by showerreco::ShowerRecoAlg::RecoOneShower().
|
inline |
Definition at line 84 of file CalorimetryAlg.h.
Referenced by img::DataProviderAlg::DataProviderAlg(), and showerreco::ShowerRecoAlg::RecoOneShower().
| double calo::CalorimetryAlg::LifetimeCorrection | ( | double | time, |
| double | T0 = 0 |
||
| ) | const |
Definition at line 133 of file CalorimetryAlg.cxx.
References detprop, e, detinfo::DetectorProperties::ElectronLifetime(), fLifeTimeForm, detinfo::DetectorProperties::SamplingRate(), and detinfo::DetectorProperties::TriggerOffset().
Referenced by dEdx_from_dQdx_e(), shower::TCShowerElectronLikelihood::getShowerProfile(), img::DataProviderAlg::LifetimeCorrection(), showerreco::ShowerRecoAlg::RecoOneShower(), img::DataProviderAlg::resizeView(), and shower::TCShowerTemplateMaker::showerProfile().
| void calo::CalorimetryAlg::reconfigure | ( | const Config & | config | ) |
Definition at line 40 of file CalorimetryAlg.cxx.
References calo::CalorimetryAlg::Config::CalAmpConstants, calo::CalorimetryAlg::Config::CalAreaConstants, calo::CalorimetryAlg::Config::CaloDoLifeTimeCorrection, calo::CalorimetryAlg::Config::CaloLifeTimeForm, calo::CalorimetryAlg::Config::CaloUseModBox, fCalAmpConstants, fCalAreaConstants, fDoLifeTimeCorrection, fLifeTimeForm, and fUseModBox.
Referenced by CalorimetryAlg(), img::DataProviderAlg::DataProviderAlg(), and calo::TrackCalorimetryAlg::reconfigure().
|
inline |
Definition at line 71 of file CalorimetryAlg.h.
|
private |
Definition at line 95 of file CalorimetryAlg.h.
Referenced by CalorimetryAlg(), dEdx_from_dQdx_e(), and LifetimeCorrection().
|
private |
Definition at line 99 of file CalorimetryAlg.h.
Referenced by dEdx_AMP(), and reconfigure().
|
private |
Definition at line 100 of file CalorimetryAlg.h.
Referenced by dEdx_AREA(), and reconfigure().
|
private |
Definition at line 103 of file CalorimetryAlg.h.
Referenced by dEdx_from_dQdx_e(), and reconfigure().
|
private |
Definition at line 102 of file CalorimetryAlg.h.
Referenced by LifetimeCorrection(), and reconfigure().
|
private |
Definition at line 101 of file CalorimetryAlg.h.
Referenced by dEdx_from_dQdx_e(), and reconfigure().
|
private |
Definition at line 94 of file CalorimetryAlg.h.