Database object for displacement of sense wire position.
More...
#include <CDCDisplacement.h>
|
| | CDCDisplacement () |
| | Default constructor.
|
| |
| | CDCDisplacement (const WireID &wire, ROOT::Math::XYZVector fwd, ROOT::Math::XYZVector bwd, float tension) |
| | Constructor.
|
| |
| unsigned short | getEWire () const |
| | Getter for EWireID.
|
| |
| unsigned short | getISuperLayer () const |
| | Getter for Super-Layer.
|
| |
| unsigned short | getILayer () const |
| | Getter for layer within the Super-Layer.
|
| |
| unsigned short | getIWire () const |
| | Getter for wire within the layer.
|
| |
| int | getICLayer () const |
| | Getter for continuous layer numbering.
|
| |
| float | getXFwd () const |
| | Getter for fwd x-position.
|
| |
| float | getYFwd () const |
| | Getter for fwd y-position.
|
| |
| float | getZFwd () const |
| | Getter for fwd z-position.
|
| |
| float | getXBwd () const |
| | Getter for bwd x-position.
|
| |
| float | getYBwd () const |
| | Getter for bwd y-position.
|
| |
| float | getZBwd () const |
| | Getter for bwd z-position.
|
| |
| float | getTension () const |
| | Getter for wire tension.
|
| |
|
| unsigned short | m_wire |
| | Wire ID.
|
| |
| ROOT::Math::XYZVector | m_fwd |
| | Displacement of forward side.
|
| |
| ROOT::Math::XYZVector | m_bwd |
| | Displacement of backward side.
|
| |
| float | m_tension |
| | Displacement of wire tension (grW)
|
| |
Database object for displacement of sense wire position.
Definition at line 25 of file CDCDisplacement.h.
◆ CDCDisplacement() [1/2]
Default constructor.
Definition at line 31 of file CDCDisplacement.h.
31 :
32 m_wire(65535), m_fwd(), m_bwd(), m_tension()
33 {
34 }
◆ CDCDisplacement() [2/2]
| CDCDisplacement |
( |
const WireID & | wire, |
|
|
ROOT::Math::XYZVector | fwd, |
|
|
ROOT::Math::XYZVector | bwd, |
|
|
float | tension ) |
|
inline |
Constructor.
Definition at line 40 of file CDCDisplacement.h.
40 :
41 m_wire(wire), m_fwd(fwd), m_bwd(bwd), m_tension(tension)
42 {
43 }
◆ getEWire()
| unsigned short getEWire |
( |
| ) |
const |
|
inline |
Getter for EWireID.
Definition at line 46 of file CDCDisplacement.h.
47 {
48 return m_wire;
49 }
◆ getICLayer()
Getter for continuous layer numbering.
Definition at line 75 of file CDCDisplacement.h.
76 {
77 if (getISuperLayer() == 0) { return getILayer(); }
78 return 8 + (getISuperLayer() - 1) * 6 + getILayer();
79 }
◆ getILayer()
| unsigned short getILayer |
( |
| ) |
const |
|
inline |
Getter for layer within the Super-Layer.
Definition at line 60 of file CDCDisplacement.h.
61 {
62 return ((m_wire % 4096) / 512);
63 }
◆ getISuperLayer()
| unsigned short getISuperLayer |
( |
| ) |
const |
|
inline |
Getter for Super-Layer.
Definition at line 54 of file CDCDisplacement.h.
55 {
56 return (m_wire / 4096);
57 }
◆ getIWire()
| unsigned short getIWire |
( |
| ) |
const |
|
inline |
Getter for wire within the layer.
This getter works for the official numbering scheme as well as the one used in the geometry build-up.
Definition at line 69 of file CDCDisplacement.h.
70 {
71 return (m_wire % 512);
72 }
◆ getTension()
| float getTension |
( |
| ) |
const |
|
inline |
◆ getXBwd()
◆ getXFwd()
◆ getYBwd()
◆ getYFwd()
◆ getZBwd()
◆ getZFwd()
◆ m_bwd
| ROOT::Math::XYZVector m_bwd |
|
private |
◆ m_fwd
| ROOT::Math::XYZVector m_fwd |
|
private |
◆ m_tension
◆ m_wire
The documentation for this class was generated from the following file: