CbmRoot
Loading...
Searching...
No Matches
cbm::algo::trd::HitFinder Class Reference

Rectangular pad module; Cluster finding and hit reconstruction algorithms. More...

#include <HitFinder.h>

Collaboration diagram for cbm::algo::trd::HitFinder:
[legend]

Public Types

typedef std::pair< Hit, std::vector< DigiRec > > resultType
 

Public Member Functions

 HitFinder ()
 
 HitFinder (HitFinderModPar params)
 Constructor with placement.
 
virtual ~HitFinder ()
 
std::vector< resultTypeoperator() (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 HitFinderoperator= (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]
 

Detailed Description

Rectangular pad module; Cluster finding and hit reconstruction algorithms.

Definition at line 24 of file trd/HitFinder.h.

Member Typedef Documentation

◆ inputType

std::tuple<int, const CbmTrdDigi*, double> cbm::algo::trd::HitFinder::inputType
private

Definition at line 45 of file trd/HitFinder.h.

◆ resultType

Definition at line 26 of file trd/HitFinder.h.

Constructor & Destructor Documentation

◆ HitFinder() [1/3]

cbm::algo::trd::HitFinder::HitFinder ( )
inline

Definition at line 28 of file trd/HitFinder.h.

◆ HitFinder() [2/3]

cbm::algo::trd::HitFinder::HitFinder ( HitFinderModPar params)

Constructor with placement.

Definition at line 16 of file trd/HitFinder.cxx.

◆ ~HitFinder()

virtual cbm::algo::trd::HitFinder::~HitFinder ( )
inlinevirtual

Definition at line 33 of file trd/HitFinder.h.

◆ HitFinder() [3/3]

cbm::algo::trd::HitFinder::HitFinder ( const HitFinder & ref)
private

Member Function Documentation

◆ GetPadRowCol()

int cbm::algo::trd::HitFinder::GetPadRowCol ( int address,
int & c )
inlineprivate

Addressing ASIC on module based on id.

Parameters
[in]idmodule wise ASIC identifier
Returns
ASIC address within experiment

Definition at line 226 of file trd/HitFinder.cxx.

References fParams, and cbm::algo::trd::HitFinderModPar::rowPar.

Referenced by IsClusterComplete(), and MakeHit().

◆ GetSpaceResolution()

double cbm::algo::trd::HitFinder::GetSpaceResolution ( double val = 3.0)

Definition at line 147 of file trd/HitFinder.cxx.

References first.

◆ IsClusterComplete()

bool cbm::algo::trd::HitFinder::IsClusterComplete ( const Cluster * cluster)

◆ MakeHit()

◆ 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().

◆ operator=()

const HitFinder & cbm::algo::trd::HitFinder::operator= ( const HitFinder & ref)
private

◆ TransformHitError()

void cbm::algo::trd::HitFinder::TransformHitError ( ROOT::Math::XYZVector & hitErr) const
private

Definition at line 134 of file trd/HitFinder.cxx.

References fParams, cbm::algo::trd::HitFinderModPar::orientation, x, and y.

Referenced by MakeHit().

Member Data Documentation

◆ fParams

HitFinderModPar cbm::algo::trd::HitFinder::fParams
private

Parameter container.

Definition at line 58 of file trd/HitFinder.h.

Referenced by GetPadRowCol(), IsClusterComplete(), MakeHit(), and TransformHitError().

◆ kxVar_Value

double cbm::algo::trd::HitFinder::kxVar_Value
staticconstexprprivate
Initial value:
= {{0.0258725, 0.0267693, 0.0344325, 0.0260322, 0.040115},
{0.0426313, 0.0426206, 0.0636962, 0.038981, 0.0723851}}

Definition at line 65 of file trd/HitFinder.h.

Referenced by MakeHit().

◆ kyVar_Value

double cbm::algo::trd::HitFinder::kyVar_Value
staticconstexprprivate
Initial value:
= {{0.024549, 0.025957, 0.0250713, 0.0302682, 0.0291146},
{0.0401438, 0.0407502, 0.0397242, 0.0519485, 0.0504586}}

Definition at line 67 of file trd/HitFinder.h.

Referenced by MakeHit().


The documentation for this class was generated from the following files: