LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SpaceCharge Class Reference

#include "Solver.h"

Public Member Functions

 SpaceCharge (double x, double y, double z, CollectionWireHit *cwire, InductionWireHit *wire1, InductionWireHit *wire2)
 
void AddCharge (double dq)
 

Public Attributes

double fX
 
double fY
 
double fZ
 
CollectionWireHitfCWire
 
InductionWireHitfWire1
 
InductionWireHitfWire2
 
std::vector< NeighbourfNeighbours
 
double fPred
 
double fNeiPotential
 Neighbour-induced potential. More...
 

Detailed Description

Definition at line 39 of file Solver.h.

Constructor & Destructor Documentation

SpaceCharge::SpaceCharge ( double  x,
double  y,
double  z,
CollectionWireHit cwire,
InductionWireHit wire1,
InductionWireHit wire2 
)

Definition at line 22 of file Solver.cxx.

28  : fX(x), fY(y), fZ(z), fCWire(cwire), fWire1(wire1), fWire2(wire2), fPred(0), fNeiPotential(0)
29 {}
Float_t x
Definition: compare.C:6
Float_t y
Definition: compare.C:6
Double_t z
Definition: plot.C:276
double fNeiPotential
Neighbour-induced potential.
Definition: Solver.h:58
double fZ
Definition: Solver.h:51
InductionWireHit * fWire2
Definition: Solver.h:53
double fY
Definition: Solver.h:51
InductionWireHit * fWire1
Definition: Solver.h:53
double fX
Definition: Solver.h:51
CollectionWireHit * fCWire
Definition: Solver.h:52
double fPred
Definition: Solver.h:57

Member Function Documentation

void SpaceCharge::AddCharge ( double  dq)

Definition at line 32 of file Solver.cxx.

References fNeighbours, InductionWireHit::fPred, fPred, fWire1, and fWire2.

Referenced by Iterate().

33 {
34  fPred += dq;
35 
36  for (Neighbour& nei : fNeighbours)
37  nei.fSC->fNeiPotential += dq * nei.fCoupling;
38 
39  if (fWire1) fWire1->fPred += dq;
40  if (fWire2) fWire2->fPred += dq;
41 }
double fPred
Definition: Solver.h:25
std::vector< Neighbour > fNeighbours
Definition: Solver.h:55
InductionWireHit * fWire2
Definition: Solver.h:53
InductionWireHit * fWire1
Definition: Solver.h:53
double fPred
Definition: Solver.h:57

Member Data Documentation

CollectionWireHit* SpaceCharge::fCWire

Definition at line 52 of file Solver.h.

Referenced by reco3d::SpacePointSolver::FillSystemToSpacePointsAndAssns().

std::vector<Neighbour> SpaceCharge::fNeighbours

Definition at line 55 of file Solver.h.

Referenced by AddCharge(), and Metric().

double SpaceCharge::fNeiPotential

Neighbour-induced potential.

Definition at line 58 of file Solver.h.

Referenced by Metric().

InductionWireHit* SpaceCharge::fWire1
InductionWireHit * SpaceCharge::fWire2
double SpaceCharge::fX
double SpaceCharge::fY
double SpaceCharge::fZ

The documentation for this class was generated from the following files: