|
| | BFieldCorFunc (const std::string &quality, const CalibFunc::ParVec ¶meters, const IRtRelation *rt) |
| | Constructor: quality = "high", slow but accurate initialization initialization of the correction function, quality = "medium", compromise between speed and accuracy of the initialization of the correction function (default), quality = "low", fast initialization of the correction function at the price of lower quality. More...
|
| |
| | BFieldCorFunc (const CalibFunc::ParVec ¶meters, const IRtRelation *rt) |
| | Constructor: parameters[0] = high voltage [V], parameters[1] = \( \epsilon \),. More...
|
| |
| double | epsilon () const |
| | < get the \( \epsilon \) parameter of the B-field correction function More...
|
| |
| void | setRtRelationship (const IRtRelation &rt) |
| | < set the \( \epsilon \) parameter of the B-field correction function = eps More...
|
| |
| std::string | name () const |
| | get the class name More...
|
| |
| double | correction (double t, double B_wire, double B_mu) const |
| | get t(r, \( \vec{B} \)!=0)-t(r, \( \vec{B} \)=0); t = drift time t [ns] for B=0; B_wire = magnetic field parallel to the anode wire of the given tube, B_mu = magnetic field orthogonal to the wire and parallel to the muon trajectory in the given tube [B] = Tesla More...
|
| |
| double | correction_to_B (double t, double B_wire, double B_mu, double B_factor=-1.0) const |
| |
| virtual std::string | typeName () const |
| |
| unsigned int | nPar () const |
| |
| const ParVec & | parameters () const |
| |
| double | par (unsigned int index) const |
| |
This class allows the user to get the difference between the drift time measured by a tube operated in a magnetic field \( \vec{B} \) and the drift time which would be measured by this tube if \( \vec{B} \) vanished.
Correction:
\[ t(r,\vec{B}) = t(r,\vec{B}=0) + B_\perp^{2-\epsilon}\cdot \int\limits_{25\ \mu m}^{r} \frac{v_{B=0}^{1-\epsilon}(r')} {E^{2-\epsilon}(r')}\,dr' \]
.
\( B_\perp = |\vec{B}_\perp| \); \( \vec{B}_\perp = \vec{B}_{wire}+\vec{B}_\mu \);
\( \vec{B}_{wire} \): magnetic field parallel to the anode wire of the given tube;
\( \vec{B}_\mu \): magnetic field magnetic field perpendicular to wire and parallel to the muon trajectory in the given tube.
Definition at line 47 of file BFieldCorFunc.h.
Constructor: quality = "high", slow but accurate initialization initialization of the correction function, quality = "medium", compromise between speed and accuracy of the initialization of the correction function (default), quality = "low", fast initialization of the correction function at the price of lower quality.
parameters[0] = high voltage [V], parameters[1] = \( \epsilon \),
Definition at line 20 of file BFieldCorFunc.cxx.
| std::string BFieldCorFunc::name |
( |
| ) |
const |
|
virtual |
get the class name
get t(r, \( \vec{B} \) !=0)-t(r, \( \vec{B} \) =0); t = measured drift time t [ns]; B_wire = magnetic field parallel to the anode wire of the given tube, B_mu = magnetic field orthogonal to the wire and parallel to the muon trajectory in the given tube [B] = Tesla
Implements MuonCalib::CalibFunc.
Definition at line 180 of file BFieldCorFunc.cxx.
180 {
return std::string(
"BFieldCorFunc"); }