CbmRoot
|
#include <CaStation.h>
Public Member Functions | |
Station ()=default | |
template<typename DataIn > | |
Station (const Station< DataIn > &other) | |
Copy constructor with type conversion. | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
void | CheckConsistency () const |
Verifies class invariant consistency. | |
int | GetType () const |
Gets type of the station. | |
int | GetTimeStatus () const |
Gets time-measurement flag. | |
int | GetFieldStatus () const |
Gets field status flag. | |
int | GetGeoLayerID () const |
Gets index of the layer in the geometry setup (which can include inactive stations as well) | |
template<typename DataOut = DataT> | |
DataOut | GetZ () const |
Gets z-position of the station. | |
template<typename DataOut = DataT> | |
DataOut | GetXmax () const |
Gets limit of the station size in x-axis direction. | |
template<typename DataOut = DataT> | |
DataOut | GetXmin () const |
Gets limit of the station size in x-axis direction. | |
template<typename DataOut = DataT> | |
DataOut | GetYmax () const |
Gets limit of the station size in y-axis direction. | |
template<typename DataOut = DataT> | |
DataOut | GetYmin () const |
Gets limit of the station size in y-axis direction. | |
std::string | ToString (int verbosityLevel=0, int indentLevel=0, bool isHeader=false) const |
String representation of class contents. | |
Public Attributes | |
int | type = constants::Undef<int> |
int | timeInfo = constants::Undef<int> |
flag: if time information can be used | |
int | fieldStatus |
flag: 1 - station is INSIDE the field, 0 - station is OUTSIDE the field | |
int | geoLayerID = constants::Undef<int> |
Index of layer in geometrical setup. | |
DataT | fZ = constants::Undef<DataT> |
z position of station [cm] | |
DataT | Xmax = constants::Undef<DataT> |
min radius of the station [cm] | |
DataT | Ymax = constants::Undef<DataT> |
max radius of the station [cm] | |
kf::FieldSlice< DataT > | fieldSlice {} |
Magnetic field near the station. | |
Friends | |
class | boost::serialization::access |
Structure Station Contains a set of geometry parameters for a particular station
Definition at line 19 of file CaStation.h.
|
default |
|
inline |
Copy constructor with type conversion.
Definition at line 39 of file CaStation.h.
void cbm::algo::ca::Station< DataT >::CheckConsistency | ( | ) | const |
Verifies class invariant consistency.
Integer fields initialization checks
SIMD vector checks: all the words in a SIMD vector must be equal
Inner and outer radia checks: (i) both Xmax and Ymax must be > 0
Check consistency of other members
Definition at line 17 of file CaStation.cxx.
References cbm::algo::kf::utils::CheckSimdVectorEquality(), and cbm::algo::ToString().
|
inline |
Gets field status flag.
Definition at line 80 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::fieldStatus.
|
inline |
Gets index of the layer in the geometry setup (which can include inactive stations as well)
Definition at line 83 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::geoLayerID.
|
inline |
Gets time-measurement flag.
Definition at line 77 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::timeInfo.
|
inline |
Gets type of the station.
Definition at line 74 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::type.
|
inline |
Gets limit of the station size in x-axis direction.
Definition at line 94 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::Xmax.
Referenced by cbm::ca::TimeSliceReader::ReadHitsForDetector().
|
inline |
Gets limit of the station size in x-axis direction.
Definition at line 101 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::Xmax.
Referenced by cbm::ca::TimeSliceReader::ReadHitsForDetector().
|
inline |
Gets limit of the station size in y-axis direction.
Definition at line 108 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::Ymax.
Referenced by cbm::ca::TimeSliceReader::ReadHitsForDetector().
|
inline |
Gets limit of the station size in y-axis direction.
Definition at line 115 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::Ymax.
Referenced by cbm::ca::TimeSliceReader::ReadHitsForDetector().
|
inline |
Gets z-position of the station.
Definition at line 87 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::fZ.
Referenced by cbm::ca::TimeSliceReader::ReadHitsForDetector().
|
inline |
Definition at line 54 of file CaStation.h.
References cbm::algo::ca::Station< DataT >::fieldSlice, cbm::algo::ca::Station< DataT >::fieldStatus, cbm::algo::ca::Station< DataT >::fZ, cbm::algo::ca::Station< DataT >::geoLayerID, cbm::algo::ca::Station< DataT >::timeInfo, cbm::algo::ca::Station< DataT >::type, cbm::algo::ca::Station< DataT >::Xmax, and cbm::algo::ca::Station< DataT >::Ymax.
std::string cbm::algo::ca::Station< DataT >::ToString | ( | int | verbosityLevel = 0, |
int | indentLevel = 0, | ||
bool | isHeader = false ) const |
String representation of class contents.
verbosityLevel | Verbosity level of the output |
indentLevel | Number of indent characters in the output |
Definition at line 70 of file CaStation.cxx.
|
friend |
Definition at line 52 of file CaStation.h.
kf::FieldSlice<DataT> cbm::algo::ca::Station< DataT >::fieldSlice {} |
Magnetic field near the station.
Definition at line 33 of file CaStation.h.
Referenced by CbmL1PFFitter::CalculateFieldRegion(), CbmL1PFFitter::CalculateFieldRegionAtLastPoint(), CbmL1::FieldApproxCheck(), cbm::algo::ca::TrackExtender::FindMoreHits(), cbm::algo::ca::TripletConstructor::FindTriplets(), CbmL1PFFitter::Fit(), cbm::algo::ca::TrackExtender::FitBranchFast(), cbm::algo::ca::TrackFitter::FitCaTracks(), CbmL1PFFitter::GetChiToVertex(), cbm::algo::ca::Station< DataT >::serialize(), and cbm::algo::ca::StationInitializer::SetFieldFunction().
int cbm::algo::ca::Station< DataT >::fieldStatus |
flag: 1 - station is INSIDE the field, 0 - station is OUTSIDE the field
Definition at line 26 of file CaStation.h.
Referenced by cbm::algo::ca::Station< DataT >::GetFieldStatus(), and cbm::algo::ca::Station< DataT >::serialize().
DataT cbm::algo::ca::Station< DataT >::fZ = constants::Undef<DataT> |
z position of station [cm]
Definition at line 29 of file CaStation.h.
Referenced by CbmL1::FieldApproxCheck(), cbm::algo::ca::TrackExtender::FindMoreHits(), cbm::algo::ca::TripletConstructor::FindTriplets(), CbmL1PFFitter::Fit(), cbm::algo::ca::TrackExtender::FitBranchFast(), cbm::algo::ca::TrackFitter::FitCaTracks(), CbmL1PFFitter::GetChiToVertex(), cbm::algo::ca::Station< DataT >::GetZ(), and cbm::algo::ca::Station< DataT >::serialize().
int cbm::algo::ca::Station< DataT >::geoLayerID = constants::Undef<int> |
Index of layer in geometrical setup.
Definition at line 28 of file CaStation.h.
Referenced by cbm::algo::ca::Station< DataT >::GetGeoLayerID(), and cbm::algo::ca::Station< DataT >::serialize().
int cbm::algo::ca::Station< DataT >::timeInfo = constants::Undef<int> |
flag: if time information can be used
Definition at line 25 of file CaStation.h.
Referenced by cbm::algo::ca::TripletConstructor::CollectHits(), cbm::algo::ca::TrackExtender::FindMoreHits(), cbm::algo::ca::TrackFinder::FindTracks(), cbm::algo::ca::TripletConstructor::FindTriplets(), cbm::algo::ca::TrackExtender::FitBranchFast(), cbm::algo::ca::TrackFitter::FitCaTracks(), cbm::algo::ca::Station< DataT >::GetTimeStatus(), and cbm::algo::ca::Station< DataT >::serialize().
int cbm::algo::ca::Station< DataT >::type = constants::Undef<int> |
Definition at line 24 of file CaStation.h.
Referenced by cbm::algo::ca::Station< DataT >::GetType(), and cbm::algo::ca::Station< DataT >::serialize().
DataT cbm::algo::ca::Station< DataT >::Xmax = constants::Undef<DataT> |
min radius of the station [cm]
Definition at line 30 of file CaStation.h.
Referenced by CbmL1::FieldApproxCheck(), cbm::algo::ca::Station< DataT >::GetXmax(), cbm::algo::ca::Station< DataT >::GetXmin(), and cbm::algo::ca::Station< DataT >::serialize().
DataT cbm::algo::ca::Station< DataT >::Ymax = constants::Undef<DataT> |
max radius of the station [cm]
Definition at line 31 of file CaStation.h.
Referenced by CbmL1::FieldApproxCheck(), cbm::algo::ca::Station< DataT >::GetYmax(), cbm::algo::ca::Station< DataT >::GetYmin(), and cbm::algo::ca::Station< DataT >::serialize().