CbmRoot
|
Rectangular pad module; Cluster finding and hit reconstruction algorithms. More...
#include <HitFinder.h>
Public Types | |
typedef std::pair< Hit, std::vector< DigiRec > > | resultType |
Public Member Functions | |
HitFinder () | |
HitFinder (HitFinderModPar params) | |
Constructor with placement. | |
virtual | ~HitFinder () |
std::vector< resultType > | operator() (std::vector< Cluster > *clusters) |
double | GetSpaceResolution (double val=3.0) |
bool | IsClusterComplete (const Cluster *cluster) |
Private Types | |
typedef std::tuple< int, const CbmTrdDigi *, double > | inputType |
Private Member Functions | |
HitFinder (const HitFinder &ref) | |
const HitFinder & | operator= (const HitFinder &ref) |
Hit | MakeHit (int cId, const Cluster *c, const std::vector< const CbmTrdDigi * > *digis, size_t) |
int | GetPadRowCol (int address, int &c) |
Addressing ASIC on module based on id. | |
void | TransformHitError (ROOT::Math::XYZVector &hitErr) const |
Private Attributes | |
HitFinderModPar | fParams |
Parameter container. | |
Static Private Attributes | |
static constexpr double | kxVar_Value [2][5] |
static constexpr double | kyVar_Value [2][5] |
Rectangular pad module; Cluster finding and hit reconstruction algorithms.
Definition at line 24 of file trd/HitFinder.h.
|
private |
Definition at line 45 of file trd/HitFinder.h.
std::pair<Hit, std::vector<DigiRec> > cbm::algo::trd::HitFinder::resultType |
Definition at line 26 of file trd/HitFinder.h.
|
inline |
Definition at line 28 of file trd/HitFinder.h.
cbm::algo::trd::HitFinder::HitFinder | ( | HitFinderModPar | params | ) |
Constructor with placement.
Definition at line 16 of file trd/HitFinder.cxx.
|
inlinevirtual |
Definition at line 33 of file trd/HitFinder.h.
|
private |
|
inlineprivate |
Addressing ASIC on module based on id.
[in] | id | module wise ASIC identifier |
Definition at line 226 of file trd/HitFinder.cxx.
References fParams, and cbm::algo::trd::HitFinderModPar::rowPar.
Referenced by IsClusterComplete(), and MakeHit().
double cbm::algo::trd::HitFinder::GetSpaceResolution | ( | double | val = 3.0 | ) |
Definition at line 147 of file trd/HitFinder.cxx.
References first.
bool cbm::algo::trd::HitFinder::IsClusterComplete | ( | const Cluster * | cluster | ) |
Definition at line 175 of file trd/HitFinder.cxx.
References fParams, cbm::algo::trd::Cluster::GetDigis(), GetPadRowCol(), CbmTrdDigi::kNeighbor, and cbm::algo::trd::HitFinderModPar::rowPar.
Referenced by MakeHit().
|
private |
Definition at line 34 of file trd/HitFinder.cxx.
References cbm::algo::trd::HitFinderModPar::address, fParams, GetPadRowCol(), cbm::algo::Hit, IsClusterComplete(), kxVar_Value, kyVar_Value, L_, cbm::algo::trd::HitFinderModPar::orientation, cbm::algo::trd::HitFinderModPar::padSizeErrY, cbm::algo::trd::HitFinderModPar::rotation, cbm::algo::trd::HitFinderModPar::rowPar, sqrt(), TransformHitError(), and cbm::algo::trd::HitFinderModPar::translation.
Referenced by operator()().
std::vector< trd::HitFinder::resultType > cbm::algo::trd::HitFinder::operator() | ( | std::vector< Cluster > * | clusters | ) |
Definition at line 19 of file trd/HitFinder.cxx.
References cbm::algo::trd::Cluster::GetDigis(), and MakeHit().
|
private |
Definition at line 134 of file trd/HitFinder.cxx.
References fParams, cbm::algo::trd::HitFinderModPar::orientation, x, and y.
Referenced by MakeHit().
|
private |
Parameter container.
Definition at line 58 of file trd/HitFinder.h.
Referenced by GetPadRowCol(), IsClusterComplete(), MakeHit(), and TransformHitError().
|
staticconstexprprivate |
Definition at line 65 of file trd/HitFinder.h.
Referenced by MakeHit().
|
staticconstexprprivate |
Definition at line 67 of file trd/HitFinder.h.
Referenced by MakeHit().