|
CbmRoot
|
Properties of an active surface of the layer. More...
#include <KfActiveLayer.h>
Public Member Functions | |
| ActiveLayer (F zRef, F xMin, F xMax, F yMin, F yMax, EFieldType fieldType, bool isTimeMeasured) | |
| Constructor. | |
| template<typename FSrc> | |
| ActiveLayer (const ActiveLayer< FSrc > &other) | |
| Type conversion copy constructor. | |
| ActiveLayer (const ActiveLayer &)=default | |
| Standard copy constructor. | |
| ActiveLayer (ActiveLayer &&)=default | |
| Move constructor. | |
| ActiveLayer & | operator= (const ActiveLayer &)=default |
| Copy assignment operator. | |
| ActiveLayer & | operator= (ActiveLayer &&)=default |
| Move assignment operator. | |
| F | GetZref () const |
| Gets reference z-coordinate of the layer [cm]. | |
| F | GetXmin () const |
| Gets lower bound in x-direction [cm]. | |
| F | GetXmax () const |
| Gets upper bound in x-direction [cm]. | |
| F | GetYmin () const |
| Gets lower bound in y-direction [cm]. | |
| F | GetYmax () const |
| Gets upper bound in y-direction [cm]. | |
| EFieldType | GetFieldType () const |
| Gets field type. | |
| bool | IsInField () const |
| Checks, if the layer is in magnetic field. | |
| bool | IsTimeMeasured () const |
| Checks, if time measurement available. | |
| std::string | ToString (int indentLevel=0) const |
| String representation of the class. | |
Private Member Functions | |
| ActiveLayer ()=default | |
| Default constructor (for serialization) | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
| Serialization method. | |
Private Attributes | |
| F | fZref {defs::Undef<F>} |
| reference z-coordinate of the layer [cm] | |
| F | fXmin {defs::Undef<F>} |
| lower bound for active plane in x-direction [cm] | |
| F | fXmax {defs::Undef<F>} |
| upper bound for active plane in x-direction [cm] | |
| F | fYmin {defs::Undef<F>} |
| lower bound for active plane in y-direction [cm] | |
| F | fYmax {defs::Undef<F>} |
| upper bound for active plane in y-direction [cm] | |
| EFieldType | fFieldType {EFieldType::Null} |
| Type of magnetic field near the layer. | |
| bool | fTimeInfo {false} |
| If time-measurement accessible. | |
Friends | |
| template<typename> | |
| class | ActiveLayer |
| class | boost::serialization::access |
Properties of an active surface of the layer.
| F | A type of floating point |
Definition at line 25 of file KfActiveLayer.h.
| ActiveLayer::ActiveLayer | ( | F | zRef, |
| F | xMin, | ||
| F | xMax, | ||
| F | yMin, | ||
| F | yMax, | ||
| EFieldType | fieldType, | ||
| bool | isTimeMeasured ) |
Constructor.
| zRef | reference z-coordinate of active plane [cm] |
| xMin | lower bound for active plane in x-direction [cm] |
| xMax | upper bound for active plane in x-direction [cm] |
| yMin | lower bound for active plane in y-direction [cm] |
| yMax | upper bound for active plane in y-direction [cm] |
| fieldType | A type of the field |
| isTimeMeasured | If the layer has time measurement |
Definition at line 20 of file KfActiveLayer.cxx.
References F, fFieldType, fTimeInfo, fXmax, fXmin, fYmax, fYmin, and fZref.
|
inline |
Type conversion copy constructor.
| FSrc | Floating point type of the source |
| other | Other instance |
Definition at line 45 of file KfActiveLayer.h.
References ActiveLayer, F, fFieldType, fTimeInfo, fXmax, fXmin, fYmax, fYmin, and fZref.
|
default |
Standard copy constructor.
References ActiveLayer.
|
default |
Move constructor.
References ActiveLayer.
|
privatedefault |
Default constructor (for serialization)
|
inline |
|
inline |
Gets upper bound in x-direction [cm].
Definition at line 75 of file KfActiveLayer.h.
|
inline |
Gets lower bound in x-direction [cm].
Definition at line 72 of file KfActiveLayer.h.
|
inline |
Gets upper bound in y-direction [cm].
Definition at line 81 of file KfActiveLayer.h.
|
inline |
Gets lower bound in y-direction [cm].
Definition at line 78 of file KfActiveLayer.h.
|
inline |
Gets reference z-coordinate of the layer [cm].
Definition at line 69 of file KfActiveLayer.h.
|
inline |
Checks, if the layer is in magnetic field.
Definition at line 87 of file KfActiveLayer.h.
References fFieldType, and cbm::algo::kf::Null.
|
inline |
Checks, if time measurement available.
Definition at line 90 of file KfActiveLayer.h.
References fTimeInfo.
Referenced by cbm::algo::ca::TripletConstructor::CollectHits().
|
default |
Move assignment operator.
References ActiveLayer.
|
default |
Copy assignment operator.
References ActiveLayer.
|
inlineprivate |
Serialization method.
Definition at line 110 of file KfActiveLayer.h.
References fFieldType, fTimeInfo, fXmax, fXmin, fYmax, fYmin, and fZref.
| std::string ActiveLayer::ToString | ( | int | indentLevel = 0 | ) | const |
String representation of the class.
| indentLevel | Indent level of the string output |
Definition at line 34 of file KfActiveLayer.cxx.
Definition at line 27 of file KfActiveLayer.h.
References ActiveLayer.
Referenced by ActiveLayer, ActiveLayer(), ActiveLayer(), ActiveLayer(), boost::serialization::access, operator=(), and operator=().
|
friend |
Definition at line 28 of file KfActiveLayer.h.
References ActiveLayer, and F.
|
private |
Type of magnetic field near the layer.
Definition at line 102 of file KfActiveLayer.h.
Referenced by ActiveLayer(), ActiveLayer(), GetFieldType(), IsInField(), and serialize().
|
private |
If time-measurement accessible.
Definition at line 103 of file KfActiveLayer.h.
Referenced by ActiveLayer(), ActiveLayer(), IsTimeMeasured(), and serialize().
|
private |
upper bound for active plane in x-direction [cm]
Definition at line 99 of file KfActiveLayer.h.
Referenced by ActiveLayer(), ActiveLayer(), GetXmax(), and serialize().
|
private |
lower bound for active plane in x-direction [cm]
Definition at line 98 of file KfActiveLayer.h.
Referenced by ActiveLayer(), ActiveLayer(), GetXmin(), and serialize().
|
private |
upper bound for active plane in y-direction [cm]
Definition at line 101 of file KfActiveLayer.h.
Referenced by ActiveLayer(), ActiveLayer(), GetYmax(), and serialize().
|
private |
lower bound for active plane in y-direction [cm]
Definition at line 100 of file KfActiveLayer.h.
Referenced by ActiveLayer(), ActiveLayer(), GetYmin(), and serialize().
|
private |
reference z-coordinate of the layer [cm]
Definition at line 97 of file KfActiveLayer.h.
Referenced by ActiveLayer(), ActiveLayer(), GetZref(), and serialize().