Database object for bad wires.
More...
#include <CDCBadWires.h>
|
std::map< unsigned short, float > | m_wires |
| badwire list
|
|
Database object for bad wires.
Definition at line 27 of file CDCBadWires.h.
◆ getEntries()
unsigned short getEntries |
( |
| ) |
const |
|
inline |
Get the no.
of entries in the list
Definition at line 59 of file CDCBadWires.h.
std::map< unsigned short, float > m_wires
badwire list
◆ isBadWire()
bool isBadWire |
( |
const WireID & |
wid | ) |
const |
|
inline |
Check if the wire is totally-dead (eff=0); to be replaced by isDeadWire() in future...
- Parameters
-
- Returns
- true if dead wire; false if not
Definition at line 77 of file CDCBadWires.h.
◆ isDeadWire()
bool isDeadWire |
( |
const WireID & |
wid, |
|
|
double & |
eff |
|
) |
| const |
|
inline |
Check if dead wire.
- Parameters
-
wid | wire id to be checked |
eff | efficiency of the wirte |
- Returns
- true if dead wire; false if not
Definition at line 93 of file CDCBadWires.h.
◆ isHotWire()
bool isHotWire |
( |
const WireID & |
wid | ) |
const |
|
inline |
Check if the wire is hot/noisy.
- Parameters
-
- Returns
- true if hot wire; false if not
Definition at line 109 of file CDCBadWires.h.
◆ setWire() [1/2]
void setWire |
( |
const WireID & |
wid, |
|
|
double |
eff = 0 |
|
) |
| |
|
inline |
Set the wire in the list.
- Parameters
-
wid | wire-id to be registered |
eff | wire efficiency; specify 0 <= eff < 1 for dead wire; eff > 1 for hot/noisy wire |
Definition at line 40 of file CDCBadWires.h.
◆ setWire() [2/2]
void setWire |
( |
unsigned short |
iCLayer, |
|
|
unsigned short |
iWire, |
|
|
double |
eff = 0 |
|
) |
| |
|
inline |
Set the wire in the list.
- Parameters
-
iCLayer | (continuous) layer-id of badwire |
iWire | wire-id of badwire |
eff | wire efficiency; specify 0 <= eff < 1 for dead wire; eff > 1 for hot/noisy wire |
Definition at line 51 of file CDCBadWires.h.
The documentation for this class was generated from the following file: