#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... | |
bool | EnableCalSpatialSCE () const override |
Return boolean indicating whether or not to apply SCE corrections. More... | |
bool | EnableCalEfieldSCE () 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 |
geo::Vector_t | GetCalPosOffsets (geo::Point_t const &point, int const &TPCid) const override |
geo::Vector_t | GetCalEfieldOffsets (geo::Point_t const &point, int const &TPCid) const override |
Public Member Functions inherited from spacecharge::SpaceCharge | |
SpaceCharge (const SpaceCharge &)=delete | |
SpaceCharge (SpaceCharge &&)=delete | |
SpaceCharge & | operator= (const SpaceCharge &)=delete |
SpaceCharge & | operator= (SpaceCharge &&)=delete |
virtual | ~SpaceCharge ()=default |
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 Member Functions inherited from spacecharge::SpaceCharge | |
SpaceCharge ()=default | |
Protected Attributes | |
bool | fEnableSimSpatialSCE |
bool | fEnableSimEfieldSCE |
bool | fEnableCalSpatialSCE |
bool | fEnableCalEfieldSCE |
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 30 of file SpaceChargeStandard.h.
|
explicit |
Definition at line 26 of file SpaceChargeStandard.cxx.
|
delete |
|
virtualdefault |
bool spacecharge::SpaceChargeStandard::Configure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 34 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Return boolean indicating whether or not to apply SCE corrections.
Implements spacecharge::SpaceCharge.
Definition at line 189 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Return boolean indicating whether or not to apply SCE corrections.
Implements spacecharge::SpaceCharge.
Definition at line 183 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Return boolean indicating whether or not to apply SCE corrections.
Implements spacecharge::SpaceCharge.
Definition at line 177 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Return boolean indicating whether or not to turn simulation of SCE on for E field distortions
Implements spacecharge::SpaceCharge.
Definition at line 170 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Return boolean indicating whether or not to turn simulation of SCE on for spatial distortions
Implements spacecharge::SpaceCharge.
Definition at line 162 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Implements spacecharge::SpaceCharge.
Definition at line 374 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Implements spacecharge::SpaceCharge.
Definition at line 216 of file SpaceChargeStandard.cxx.
|
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 362 of file SpaceChargeStandard.cxx.
|
protected |
Provides E field offsets using a parametric representation.
Definition at line 382 of file SpaceChargeStandard.cxx.
|
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 400 of file SpaceChargeStandard.cxx.
|
protected |
Provides one position offset using a parametric representation, for a given axis
Definition at line 242 of file SpaceChargeStandard.cxx.
|
overridevirtual |
Primary working method of service that provides position offsets to be used in ionization electron drift
Implements spacecharge::SpaceCharge.
Definition at line 197 of file SpaceChargeStandard.cxx.
|
protected |
Provides position offsets using a parametric representation.
Definition at line 224 of file SpaceChargeStandard.cxx.
|
protected |
Check to see if point is inside boundaries of map - redefine this in experiment-specific implementation!
Definition at line 549 of file SpaceChargeStandard.cxx.
|
protected |
Transform X to SCE X coordinate - redefine this in experiment-specific implementation!
Definition at line 519 of file SpaceChargeStandard.cxx.
|
protected |
Transform Y to SCE Y coordinate - redefine this in experiment-specific implementation!
Definition at line 529 of file SpaceChargeStandard.cxx.
|
protected |
Transform Z to SCE Z coordinate - redefine this in experiment-specific implementation!
Definition at line 539 of file SpaceChargeStandard.cxx.
bool spacecharge::SpaceChargeStandard::Update | ( | uint64_t | ts = 0 | ) |
Definition at line 152 of file SpaceChargeStandard.cxx.
|
protected |
Definition at line 130 of file SpaceChargeStandard.h.
|
protected |
Definition at line 137 of file SpaceChargeStandard.h.
|
protected |
Definition at line 145 of file SpaceChargeStandard.h.
|
protected |
Definition at line 91 of file SpaceChargeStandard.h.
|
protected |
Definition at line 98 of file SpaceChargeStandard.h.
|
protected |
Definition at line 106 of file SpaceChargeStandard.h.
|
protected |
Definition at line 131 of file SpaceChargeStandard.h.
|
protected |
Definition at line 138 of file SpaceChargeStandard.h.
|
protected |
Definition at line 146 of file SpaceChargeStandard.h.
|
protected |
Definition at line 92 of file SpaceChargeStandard.h.
|
protected |
Definition at line 99 of file SpaceChargeStandard.h.
|
protected |
Definition at line 107 of file SpaceChargeStandard.h.
|
protected |
Definition at line 132 of file SpaceChargeStandard.h.
|
protected |
Definition at line 139 of file SpaceChargeStandard.h.
|
protected |
Definition at line 147 of file SpaceChargeStandard.h.
|
protected |
Definition at line 93 of file SpaceChargeStandard.h.
|
protected |
Definition at line 100 of file SpaceChargeStandard.h.
|
protected |
Definition at line 108 of file SpaceChargeStandard.h.
|
protected |
Definition at line 133 of file SpaceChargeStandard.h.
|
protected |
Definition at line 140 of file SpaceChargeStandard.h.
|
protected |
Definition at line 148 of file SpaceChargeStandard.h.
|
protected |
Definition at line 94 of file SpaceChargeStandard.h.
|
protected |
Definition at line 101 of file SpaceChargeStandard.h.
|
protected |
Definition at line 109 of file SpaceChargeStandard.h.
|
protected |
Definition at line 134 of file SpaceChargeStandard.h.
|
protected |
Definition at line 141 of file SpaceChargeStandard.h.
|
protected |
Definition at line 95 of file SpaceChargeStandard.h.
|
protected |
Definition at line 102 of file SpaceChargeStandard.h.
|
protected |
Definition at line 142 of file SpaceChargeStandard.h.
|
protected |
Definition at line 103 of file SpaceChargeStandard.h.
|
protected |
Definition at line 67 of file SpaceChargeStandard.h.
|
protected |
Definition at line 66 of file SpaceChargeStandard.h.
|
protected |
Definition at line 68 of file SpaceChargeStandard.h.
|
protected |
Definition at line 65 of file SpaceChargeStandard.h.
|
protected |
Definition at line 64 of file SpaceChargeStandard.h.
|
protected |
Definition at line 135 of file SpaceChargeStandard.h.
|
protected |
Definition at line 143 of file SpaceChargeStandard.h.
|
protected |
Definition at line 149 of file SpaceChargeStandard.h.
|
protected |
Definition at line 96 of file SpaceChargeStandard.h.
|
protected |
Definition at line 104 of file SpaceChargeStandard.h.
|
protected |
Definition at line 110 of file SpaceChargeStandard.h.
|
protected |
Definition at line 71 of file SpaceChargeStandard.h.
|
protected |
Definition at line 70 of file SpaceChargeStandard.h.
|
protected |
Definition at line 112 of file SpaceChargeStandard.h.
|
protected |
Definition at line 118 of file SpaceChargeStandard.h.
|
protected |
Definition at line 125 of file SpaceChargeStandard.h.
|
protected |
Definition at line 73 of file SpaceChargeStandard.h.
|
protected |
Definition at line 79 of file SpaceChargeStandard.h.
|
protected |
Definition at line 86 of file SpaceChargeStandard.h.
|
protected |
Definition at line 113 of file SpaceChargeStandard.h.
|
protected |
Definition at line 119 of file SpaceChargeStandard.h.
|
protected |
Definition at line 126 of file SpaceChargeStandard.h.
|
protected |
Definition at line 74 of file SpaceChargeStandard.h.
|
protected |
Definition at line 80 of file SpaceChargeStandard.h.
|
protected |
Definition at line 87 of file SpaceChargeStandard.h.
|
protected |
Definition at line 114 of file SpaceChargeStandard.h.
|
protected |
Definition at line 120 of file SpaceChargeStandard.h.
|
protected |
Definition at line 127 of file SpaceChargeStandard.h.
|
protected |
Definition at line 75 of file SpaceChargeStandard.h.
|
protected |
Definition at line 81 of file SpaceChargeStandard.h.
|
protected |
Definition at line 88 of file SpaceChargeStandard.h.
|
protected |
Definition at line 115 of file SpaceChargeStandard.h.
|
protected |
Definition at line 121 of file SpaceChargeStandard.h.
|
protected |
Definition at line 128 of file SpaceChargeStandard.h.
|
protected |
Definition at line 76 of file SpaceChargeStandard.h.
|
protected |
Definition at line 82 of file SpaceChargeStandard.h.
|
protected |
Definition at line 89 of file SpaceChargeStandard.h.
|
protected |
Definition at line 116 of file SpaceChargeStandard.h.
|
protected |
Definition at line 122 of file SpaceChargeStandard.h.
|
protected |
Definition at line 77 of file SpaceChargeStandard.h.
|
protected |
Definition at line 83 of file SpaceChargeStandard.h.
|
protected |
Definition at line 123 of file SpaceChargeStandard.h.
|
protected |
Definition at line 84 of file SpaceChargeStandard.h.