The PDetector class represents a logical muon detector.
More...
#include <PInstrumentDef.h>
|
| | PDetector () |
| | Constructor.
|
| |
| | ~PDetector () |
| | Destructor.
|
| |
| void | setName (QString str) |
| | Sets the detector name.
|
| |
| void | setRelGeomPhase (double phase) |
| | Sets the relative geometric phase.
|
| |
| void | setForwards (QVector< int > num) |
| | Sets the forward detector indices.
|
| |
| void | setBackwards (QVector< int > num) |
| | Sets the backward detector indices.
|
| |
| void | setAlpha (double alpha) |
| | Sets the alpha correction factor.
|
| |
| QString | getName () |
| | Returns the detector name.
|
| |
| double | getRelGeomPhase () |
| | Returns the relative geometric phase.
|
| |
| QVector< int > | getForwards () |
| | Returns the forward detector indices.
|
| |
| QVector< int > | getBackwards () |
| | Returns the backward detector indices.
|
| |
| double | getAlpha () |
| | Returns the alpha correction factor.
|
| |
|
| QString | fName |
| | detector name
|
| |
| QVector< int > | fForward |
| | forward detector indices
|
| |
| QVector< int > | fBackward |
| | backward detector indices
|
| |
| double | fAlpha |
| | alpha correction factor
|
| |
| double | fRelGeomPhase |
| | relative geometric phase in degrees
|
| |
The PDetector class represents a logical muon detector.
This class encapsulates the properties of a detector configuration including its name, relative geometric phase, forward/backward detector indices, and alpha parameter (for asymmetry fits). It is used in the instrument definition to specify detector groupings for different measurement setups.
◆ PDetector()
◆ ~PDetector()
| PDetector::~PDetector |
( |
| ) |
|
|
inline |
◆ getAlpha()
| double PDetector::getAlpha |
( |
| ) |
|
|
inline |
Returns the alpha correction factor.
- Returns
- Alpha value.
◆ getBackwards()
| QVector< int > PDetector::getBackwards |
( |
| ) |
|
|
inline |
Returns the backward detector indices.
- Returns
- Vector of backward detector numbers.
◆ getForwards()
| QVector< int > PDetector::getForwards |
( |
| ) |
|
|
inline |
Returns the forward detector indices.
- Returns
- Vector of forward detector numbers.
◆ getName()
| QString PDetector::getName |
( |
| ) |
|
|
inline |
Returns the detector name.
- Returns
- Detector name.
◆ getRelGeomPhase()
| double PDetector::getRelGeomPhase |
( |
| ) |
|
|
inline |
Returns the relative geometric phase.
- Returns
- Phase angle in degrees.
◆ setAlpha()
| void PDetector::setAlpha |
( |
double | alpha | ) |
|
|
inline |
Sets the alpha correction factor.
- Parameters
-
| alpha | Alpha value for asymmetry correction. |
◆ setBackwards()
| void PDetector::setBackwards |
( |
QVector< int > | num | ) |
|
|
inline |
Sets the backward detector indices.
- Parameters
-
| num | Vector of physical detector numbers forming the backward group. |
◆ setForwards()
| void PDetector::setForwards |
( |
QVector< int > | num | ) |
|
|
inline |
Sets the forward detector indices.
- Parameters
-
| num | Vector of physical detector numbers forming the forward group. |
◆ setName()
| void PDetector::setName |
( |
QString | str | ) |
|
|
inline |
Sets the detector name.
- Parameters
-
| str | Detector name (e.g., "Forward", "Backward", "Left"). |
◆ setRelGeomPhase()
| void PDetector::setRelGeomPhase |
( |
double | phase | ) |
|
|
inline |
Sets the relative geometric phase.
- Parameters
-
| phase | Phase angle in degrees relative to a reference detector. |
◆ fAlpha
◆ fBackward
| QVector<int> PDetector::fBackward |
|
private |
backward detector indices
◆ fForward
| QVector<int> PDetector::fForward |
|
private |
◆ fName
◆ fRelGeomPhase
| double PDetector::fRelGeomPhase |
|
private |
relative geometric phase in degrees
The documentation for this class was generated from the following file: