CbmRoot
Loading...
Searching...
No Matches
cbm::algo::tof::Hit Struct Reference

#include <Hit.h>

Public Member Functions

real X () const
 
real Y () const
 
real Z () const
 
u32 Time () const
 
real Dx () const
 
real Dy () const
 
real TimeError () const
 
int32_t numChan () const
 
void reset ()
 
void add (ROOT::Math::XYZVector pos, double time, double timeErr, double weight)
 
void normalize (double timeErr)
 
void finalize (const TofCell &trafoCell, const ClusterizerRpcPar &par)
 
template<class Archive >
void serialize (Archive &ar, unsigned int)
 

Public Attributes

ROOT::Math::XYZVector hitPos = ROOT::Math::XYZVector(0.0, 0.0, 0.0)
 
ROOT::Math::XYZVector hitPosErr = ROOT::Math::XYZVector(0.0, 0.0, 0.0)
 
double hitTime = 0.0
 
double hitTimeErr = 0.0
 
int32_t address = 0
 
size_t numchan = 0
 
double weightsSum = 0.0
 

Detailed Description

Definition at line 45 of file detectors/tof/Hit.h.

Member Function Documentation

◆ add()

void cbm::algo::tof::Hit::add ( ROOT::Math::XYZVector pos,
double time,
double timeErr,
double weight )
inline

◆ Dx()

real cbm::algo::tof::Hit::Dx ( ) const
inline

Definition at line 61 of file detectors/tof/Hit.h.

References hitPosErr.

◆ Dy()

real cbm::algo::tof::Hit::Dy ( ) const
inline

Definition at line 62 of file detectors/tof/Hit.h.

References hitPosErr.

◆ finalize()

◆ normalize()

void cbm::algo::tof::Hit::normalize ( double timeErr)
inline

◆ numChan()

int32_t cbm::algo::tof::Hit::numChan ( ) const
inline

Definition at line 67 of file detectors/tof/Hit.h.

References numchan.

Referenced by cbm::algo::tof::Clusterizer::buildClusters().

◆ reset()

void cbm::algo::tof::Hit::reset ( )
inline

◆ serialize()

template<class Archive >
void cbm::algo::tof::Hit::serialize ( Archive & ar,
unsigned int  )
inline

Definition at line 131 of file detectors/tof/Hit.h.

References address, hitPos, hitPosErr, hitTime, hitTimeErr, numchan, and weightsSum.

◆ Time()

u32 cbm::algo::tof::Hit::Time ( ) const
inline

Definition at line 59 of file detectors/tof/Hit.h.

References hitTime.

◆ TimeError()

real cbm::algo::tof::Hit::TimeError ( ) const
inline

Definition at line 63 of file detectors/tof/Hit.h.

References hitTimeErr.

◆ X()

real cbm::algo::tof::Hit::X ( ) const
inline

Definition at line 56 of file detectors/tof/Hit.h.

References hitPos.

◆ Y()

real cbm::algo::tof::Hit::Y ( ) const
inline

Definition at line 57 of file detectors/tof/Hit.h.

References hitPos.

◆ Z()

real cbm::algo::tof::Hit::Z ( ) const
inline

Definition at line 58 of file detectors/tof/Hit.h.

References hitPos.

Member Data Documentation

◆ address

int32_t cbm::algo::tof::Hit::address = 0

Definition at line 50 of file detectors/tof/Hit.h.

Referenced by finalize(), reset(), and serialize().

◆ hitPos

ROOT::Math::XYZVector cbm::algo::tof::Hit::hitPos = ROOT::Math::XYZVector(0.0, 0.0, 0.0)

◆ hitPosErr

ROOT::Math::XYZVector cbm::algo::tof::Hit::hitPosErr = ROOT::Math::XYZVector(0.0, 0.0, 0.0)

Definition at line 47 of file detectors/tof/Hit.h.

Referenced by Dx(), Dy(), finalize(), reset(), and serialize().

◆ hitTime

double cbm::algo::tof::Hit::hitTime = 0.0

◆ hitTimeErr

double cbm::algo::tof::Hit::hitTimeErr = 0.0

Definition at line 49 of file detectors/tof/Hit.h.

Referenced by add(), normalize(), reset(), serialize(), and TimeError().

◆ numchan

size_t cbm::algo::tof::Hit::numchan = 0

Definition at line 51 of file detectors/tof/Hit.h.

Referenced by add(), numChan(), reset(), and serialize().

◆ weightsSum

double cbm::algo::tof::Hit::weightsSum = 0.0

The documentation for this struct was generated from the following file: