dE/dx wire gain calibration constants
More...
#include <CDCDedxWireGain.h>
|
std::vector< double > | m_wiregains |
| Note, we are using dense packed wire number (0-14336) defined as follows: const int iwire = (superlayer == 0) ? 160*layer+wire : m_nLayerWires[superlayer-1]+(160+32*(superlayer-1))*layer+wire; -see reconstruction/modules/CDCDedxPIDModule.
|
|
dE/dx wire gain calibration constants
Definition at line 25 of file CDCDedxWireGain.h.
◆ CDCDedxWireGain() [1/2]
Default constructor.
Definition at line 32 of file CDCDedxWireGain.h.
std::vector< double > m_wiregains
Note, we are using dense packed wire number (0-14336) defined as follows: const int iwire = (superlay...
◆ CDCDedxWireGain() [2/2]
◆ ~CDCDedxWireGain()
◆ getWireGain()
float getWireGain |
( |
int |
wire | ) |
const |
|
inline |
Return wire gain.
- Parameters
-
Definition at line 68 of file CDCDedxWireGain.h.
69 {
70 if (wire < 0 || (
unsigned)wire >=
m_wiregains.size()) {
71 B2WARNING("Asking for a CDC Wire that is not found!");
72 return 1.0;
73 }
75 return gain;
76 };
◆ operator*=()
Combine payloads.
Definition at line 47 of file CDCDedxWireGain.h.
48 {
49 for (
unsigned int bin = 0; bin <
m_wiregains.size(); ++bin) {
51 }
52 return *this;
53 }
◆ setWireGain()
void setWireGain |
( |
int |
wire, |
|
|
double |
gain |
|
) |
| |
|
inline |
Set wire gain.
Definition at line 58 of file CDCDedxWireGain.h.
59 {
60 if (wire < 0 || (
unsigned)wire >=
m_wiregains.size())
61 B2WARNING("Asking for a CDC Wire that is not found!");
63 }
◆ m_wiregains
std::vector<double> m_wiregains |
|
private |
Note, we are using dense packed wire number (0-14336) defined as follows: const int iwire = (superlayer == 0) ? 160*layer+wire : m_nLayerWires[superlayer-1]+(160+32*(superlayer-1))*layer+wire; -see reconstruction/modules/CDCDedxPIDModule.
dE/dx gains for each wire
Definition at line 83 of file CDCDedxWireGain.h.
The documentation for this class was generated from the following file: