LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "SpaceChargeStandard.h"
Public Member Functions | |
SpaceChargeStandard (fhicl::ParameterSet const &pset) | |
SpaceChargeStandard (SpaceChargeStandard const &)=delete | |
virtual | ~SpaceChargeStandard ()=default |
bool | Configure (fhicl::ParameterSet const &pset) |
bool | Update (uint64_t ts=0) |
bool | EnableSimSpatialSCE () const override |
bool | EnableSimEfieldSCE () const override |
bool | EnableCorrSCE () const override |
Return boolean indicating whether or not to apply SCE corrections. More... | |
geo::Vector_t | GetPosOffsets (geo::Point_t const &point) const override |
geo::Vector_t | GetEfieldOffsets (geo::Point_t const &point) const override |
Protected Member Functions | |
std::vector< double > | GetPosOffsetsParametric (double xVal, double yVal, double zVal) const |
Provides position offsets using a parametric representation. More... | |
double | GetOnePosOffsetParametric (double xVal, double yVal, double zVal, std::string axis) const |
std::vector< double > | GetEfieldOffsetsParametric (double xVal, double yVal, double zVal) const |
Provides E field offsets using a parametric representation. More... | |
double | GetOneEfieldOffsetParametric (double xVal, double yVal, double zVal, std::string axis) const |
double | TransformX (double xVal) const |
Transform X to SCE X coordinate - redefine this in experiment-specific implementation! More... | |
double | TransformY (double yVal) const |
Transform Y to SCE Y coordinate - redefine this in experiment-specific implementation! More... | |
double | TransformZ (double zVal) const |
Transform Z to SCE Z coordinate - redefine this in experiment-specific implementation! More... | |
bool | IsInsideBoundaries (double xVal, double yVal, double zVal) const |
Check to see if point is inside boundaries of map - redefine this in experiment-specific implementation! More... | |
Protected Attributes | |
bool | fEnableSimSpatialSCE |
bool | fEnableSimEfieldSCE |
bool | fEnableCorrSCE |
std::string | fRepresentationType |
std::string | fInputFilename |
TGraph ** | g1_x = new TGraph*[7] |
TGraph ** | g2_x = new TGraph*[7] |
TGraph ** | g3_x = new TGraph*[7] |
TGraph ** | g4_x = new TGraph*[7] |
TGraph ** | g5_x = new TGraph*[7] |
TGraph ** | g1_y = new TGraph*[7] |
TGraph ** | g2_y = new TGraph*[7] |
TGraph ** | g3_y = new TGraph*[7] |
TGraph ** | g4_y = new TGraph*[7] |
TGraph ** | g5_y = new TGraph*[7] |
TGraph ** | g6_y = new TGraph*[7] |
TGraph ** | g1_z = new TGraph*[7] |
TGraph ** | g2_z = new TGraph*[7] |
TGraph ** | g3_z = new TGraph*[7] |
TGraph ** | g4_z = new TGraph*[7] |
TF1 * | f1_x = new TF1("f1_x","pol6") |
TF1 * | f2_x = new TF1("f2_x","pol6") |
TF1 * | f3_x = new TF1("f3_x","pol6") |
TF1 * | f4_x = new TF1("f4_x","pol6") |
TF1 * | f5_x = new TF1("f5_x","pol6") |
TF1 * | fFinal_x = new TF1("fFinal_x","pol4") |
TF1 * | f1_y = new TF1("f1_y","pol5") |
TF1 * | f2_y = new TF1("f2_y","pol5") |
TF1 * | f3_y = new TF1("f3_y","pol5") |
TF1 * | f4_y = new TF1("f4_y","pol5") |
TF1 * | f5_y = new TF1("f5_y","pol5") |
TF1 * | f6_y = new TF1("f6_y","pol5") |
TF1 * | fFinal_y = new TF1("fFinal_y","pol5") |
TF1 * | f1_z = new TF1("f1_z","pol4") |
TF1 * | f2_z = new TF1("f2_z","pol4") |
TF1 * | f3_z = new TF1("f3_z","pol4") |
TF1 * | f4_z = new TF1("f4_z","pol4") |
TF1 * | fFinal_z = new TF1("fFinal_z","pol3") |
TGraph ** | g1_Ex = new TGraph*[7] |
TGraph ** | g2_Ex = new TGraph*[7] |
TGraph ** | g3_Ex = new TGraph*[7] |
TGraph ** | g4_Ex = new TGraph*[7] |
TGraph ** | g5_Ex = new TGraph*[7] |
TGraph ** | g1_Ey = new TGraph*[7] |
TGraph ** | g2_Ey = new TGraph*[7] |
TGraph ** | g3_Ey = new TGraph*[7] |
TGraph ** | g4_Ey = new TGraph*[7] |
TGraph ** | g5_Ey = new TGraph*[7] |
TGraph ** | g6_Ey = new TGraph*[7] |
TGraph ** | g1_Ez = new TGraph*[7] |
TGraph ** | g2_Ez = new TGraph*[7] |
TGraph ** | g3_Ez = new TGraph*[7] |
TGraph ** | g4_Ez = new TGraph*[7] |
TF1 * | f1_Ex = new TF1("f1_Ex","pol6") |
TF1 * | f2_Ex = new TF1("f2_Ex","pol6") |
TF1 * | f3_Ex = new TF1("f3_Ex","pol6") |
TF1 * | f4_Ex = new TF1("f4_Ex","pol6") |
TF1 * | f5_Ex = new TF1("f5_Ex","pol6") |
TF1 * | fFinal_Ex = new TF1("fFinal_Ex","pol4") |
TF1 * | f1_Ey = new TF1("f1_Ey","pol5") |
TF1 * | f2_Ey = new TF1("f2_Ey","pol5") |
TF1 * | f3_Ey = new TF1("f3_Ey","pol5") |
TF1 * | f4_Ey = new TF1("f4_Ey","pol5") |
TF1 * | f5_Ey = new TF1("f5_Ey","pol5") |
TF1 * | f6_Ey = new TF1("f6_Ey","pol5") |
TF1 * | fFinal_Ey = new TF1("fFinal_Ey","pol5") |
TF1 * | f1_Ez = new TF1("f1_Ez","pol4") |
TF1 * | f2_Ez = new TF1("f2_Ez","pol4") |
TF1 * | f3_Ez = new TF1("f3_Ez","pol4") |
TF1 * | f4_Ez = new TF1("f4_Ez","pol4") |
TF1 * | fFinal_Ez = new TF1("fFinal_Ez","pol3") |
Definition at line 31 of file SpaceChargeStandard.h.
|
explicit |
Definition at line 25 of file SpaceChargeStandard.cxx.
References Configure().
|
delete |
|
virtualdefault |
bool spacecharge::SpaceChargeStandard::Configure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 33 of file SpaceChargeStandard.cxx.
References art::errors::Configuration, fEnableCorrSCE, fEnableSimEfieldSCE, fEnableSimSpatialSCE, fInputFilename, fRepresentationType, g1_Ex, g1_Ey, g1_Ez, g1_x, g1_y, g1_z, g2_Ex, g2_Ey, g2_Ez, g2_x, g2_y, g2_z, g3_Ex, g3_Ey, g3_Ez, g3_x, g3_y, g3_z, g4_Ex, g4_Ey, g4_Ez, g4_x, g4_y, g4_z, g5_Ex, g5_Ey, g5_x, g5_y, g6_Ey, g6_y, fhicl::ParameterSet::get(), and fhicl::ParameterSet::has_key().
Referenced by SpaceChargeStandard().
|
overridevirtual |
Return boolean indicating whether or not to apply SCE corrections.
Implements spacecharge::SpaceCharge.
Definition at line 174 of file SpaceChargeStandard.cxx.
References fEnableCorrSCE.
|
overridevirtual |
Return boolean indicating whether or not to turn simulation of SCE on for E field distortions
Implements spacecharge::SpaceCharge.
Definition at line 167 of file SpaceChargeStandard.cxx.
References fEnableSimEfieldSCE.
|
overridevirtual |
Return boolean indicating whether or not to turn simulation of SCE on for spatial distortions
Implements spacecharge::SpaceCharge.
Definition at line 159 of file SpaceChargeStandard.cxx.
References fEnableSimSpatialSCE.
|
overridevirtual |
Primary working method of service that provides E field offsets to be used in charge/light yield calculation (e.g.)
Implements spacecharge::SpaceCharge.
Definition at line 341 of file SpaceChargeStandard.cxx.
References fRepresentationType, and GetEfieldOffsetsParametric().
|
protected |
Provides E field offsets using a parametric representation.
Definition at line 355 of file SpaceChargeStandard.cxx.
References GetOneEfieldOffsetParametric(), TransformX(), TransformY(), and TransformZ().
Referenced by GetEfieldOffsets().
|
protected |
Provides one E field offset using a parametric representation, for a given axis, with returned E field offsets normalized to nominal drift E field
Definition at line 373 of file SpaceChargeStandard.cxx.
References f1_Ex, f1_Ey, f1_Ez, f2_Ex, f2_Ey, f2_Ez, f3_Ex, f3_Ey, f3_Ez, f4_Ex, f4_Ey, f4_Ez, f5_Ex, f5_Ey, f6_Ey, fFinal_Ex, fFinal_Ey, fFinal_Ez, g1_Ex, g1_Ey, g1_Ez, g2_Ex, g2_Ey, g2_Ez, g3_Ex, g3_Ey, g3_Ez, g4_Ex, g4_Ey, g4_Ez, g5_Ex, g5_Ey, and g6_Ey.
Referenced by GetEfieldOffsetsParametric().
|
protected |
Provides one position offset using a parametric representation, for a given axis
Definition at line 221 of file SpaceChargeStandard.cxx.
References f1_x, f1_y, f1_z, f2_x, f2_y, f2_z, f3_x, f3_y, f3_z, f4_x, f4_y, f4_z, f5_x, f5_y, f6_y, fFinal_x, fFinal_y, fFinal_z, g1_x, g1_y, g1_z, g2_x, g2_y, g2_z, g3_x, g3_y, g3_z, g4_x, g4_y, g4_z, g5_x, g5_y, and g6_y.
Referenced by GetPosOffsetsParametric().
|
overridevirtual |
Primary working method of service that provides position offsets to be used in ionization electron drift
Implements spacecharge::SpaceCharge.
Definition at line 182 of file SpaceChargeStandard.cxx.
References fRepresentationType, GetPosOffsetsParametric(), and IsInsideBoundaries().
|
protected |
Provides position offsets using a parametric representation.
Definition at line 203 of file SpaceChargeStandard.cxx.
References GetOnePosOffsetParametric(), TransformX(), TransformY(), and TransformZ().
Referenced by GetPosOffsets().
|
protected |
Check to see if point is inside boundaries of map - redefine this in experiment-specific implementation!
Definition at line 522 of file SpaceChargeStandard.cxx.
Referenced by GetPosOffsets().
|
protected |
Transform X to SCE X coordinate - redefine this in experiment-specific implementation!
Definition at line 492 of file SpaceChargeStandard.cxx.
Referenced by GetEfieldOffsetsParametric(), and GetPosOffsetsParametric().
|
protected |
Transform Y to SCE Y coordinate - redefine this in experiment-specific implementation!
Definition at line 502 of file SpaceChargeStandard.cxx.
Referenced by GetEfieldOffsetsParametric(), and GetPosOffsetsParametric().
|
protected |
Transform Z to SCE Z coordinate - redefine this in experiment-specific implementation!
Definition at line 512 of file SpaceChargeStandard.cxx.
Referenced by GetEfieldOffsetsParametric(), and GetPosOffsetsParametric().
bool spacecharge::SpaceChargeStandard::Update | ( | uint64_t | ts = 0 | ) |
Definition at line 149 of file SpaceChargeStandard.cxx.
|
protected |
Definition at line 124 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 131 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 139 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 85 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 92 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 100 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 125 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 132 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 140 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 86 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 93 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 101 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 126 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 133 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 141 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 87 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 94 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 102 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 127 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 134 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 142 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 88 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 95 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 103 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 128 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 135 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 89 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 96 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 136 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 97 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 62 of file SpaceChargeStandard.h.
Referenced by Configure(), and EnableCorrSCE().
|
protected |
Definition at line 61 of file SpaceChargeStandard.h.
Referenced by Configure(), and EnableSimEfieldSCE().
|
protected |
Definition at line 60 of file SpaceChargeStandard.h.
Referenced by Configure(), and EnableSimSpatialSCE().
|
protected |
Definition at line 129 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 137 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 143 of file SpaceChargeStandard.h.
Referenced by GetOneEfieldOffsetParametric().
|
protected |
Definition at line 90 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 98 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 104 of file SpaceChargeStandard.h.
Referenced by GetOnePosOffsetParametric().
|
protected |
Definition at line 65 of file SpaceChargeStandard.h.
Referenced by Configure().
|
protected |
Definition at line 64 of file SpaceChargeStandard.h.
Referenced by Configure(), GetEfieldOffsets(), and GetPosOffsets().
|
protected |
Definition at line 106 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 112 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 119 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 67 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 73 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 80 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 107 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 113 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 120 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 68 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 74 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 81 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 108 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 114 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 121 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 69 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 75 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 82 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 109 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 115 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 122 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 70 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 76 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 83 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 110 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 116 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 71 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 77 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().
|
protected |
Definition at line 117 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOneEfieldOffsetParametric().
|
protected |
Definition at line 78 of file SpaceChargeStandard.h.
Referenced by Configure(), and GetOnePosOffsetParametric().