CbmRoot
Loading...
Searching...
No Matches
CbmStripHit Class Reference

#include <CbmStripHit.h>

Inheritance diagram for CbmStripHit:
[legend]
Collaboration diagram for CbmStripHit:
[legend]

Public Member Functions

 CbmStripHit ()
 Default constructor.
 
 CbmStripHit (int32_t address, double u, double phi, double z, double du, double dphi, double dz, int32_t refId, double time=-1., double timeError=-1.)
 Standard constructor.
 
 CbmStripHit (int32_t address, const TVector3 &pos, const TVector3 &err, int32_t refId, double time=-1., double timeError=-1.)
 Standard constructor.
 
virtual ~CbmStripHit ()
 Destructor.
 
virtual std::string ToString () const
 Inherited from CbmBaseHit.
 
double GetU () const
 
double GetPhi () const
 
double GetDu () const
 
double GetDphi () const
 
void SetU (double u)
 
void SetPhi (double phi)
 
void SetDu (double du)
 
void SetDphi (double dphi)
 
HitType GetType () const
 
double GetZ () const
 
double GetDz () const
 
int32_t GetRefId () const
 
int32_t GetAddress () const
 
CbmMatchGetMatch () const
 
double GetTime () const
 
double GetTimeError () const
 
void SetZ (double z)
 
void SetDz (double dz)
 
void SetRefId (int32_t refId)
 
void SetAddress (int32_t address)
 
void SetMatch (CbmMatch *match)
 
void SetTime (double time)
 
void SetTime (double time, double error)
 
void SetTimeError (double error)
 
virtual int32_t GetPlaneId () const
 

Protected Member Functions

void SetType (HitType type)
 Sets hit type.
 

Private Member Functions

 ClassDef (CbmStripHit, 1)
 

Private Attributes

double fU
 U coordinate in the rotated c.s [cm].
 
double fDu
 U error [cm].
 
double fPhi
 strip rotation angle [rad]
 
double fDphi
 strip rotation error [rad]
 
HitType fType
 hit type
 
double fZ
 Z position of hit [cm].
 
double fDz
 Z position error [cm].
 
int32_t fRefId
 some reference id (usually to cluster, digi or MC point)
 
int32_t fAddress
 detector unique identifier
 
double fTime
 Hit time [ns].
 
double fTimeError
 Error of hit time [ns].
 
CbmMatchfMatch
 Monte-Carlo information.
 

Detailed Description

Definition at line 26 of file CbmStripHit.h.

Constructor & Destructor Documentation

◆ CbmStripHit() [1/3]

CbmStripHit::CbmStripHit ( )

Default constructor.

Definition at line 20 of file CbmStripHit.cxx.

◆ CbmStripHit() [2/3]

CbmStripHit::CbmStripHit ( int32_t address,
double u,
double phi,
double z,
double du,
double dphi,
double dz,
int32_t refId,
double time = -1.,
double timeError = -1. )

Standard constructor.

Parameters
[in]addressdetector unique identifier
[in]ucoordinate in the rotated c.s. [cm]
[in]phistrip rotation angle [rad]
[in]zZ position of the hit [cm]
[in]duU measurement error [cm]
[in]dphiPHI measurement error [rad]
[in]zZ position of the hit [cm]
[in]refIdsome reference ID
[in]timeHit time [ns].
[in]timeErrorError of hit time [ns].

Definition at line 29 of file CbmStripHit.cxx.

◆ CbmStripHit() [3/3]

CbmStripHit::CbmStripHit ( int32_t address,
const TVector3 & pos,
const TVector3 & err,
int32_t refId,
double time = -1.,
double timeError = -1. )

Standard constructor.

Parameters
[in]addressDetector unique identifier.
[in]posPosition of the hit as TVector3 (u, phi, z) [cm].
[in]errPosition errors of the hit as TVector3 (du, dphi, dz) [cm].
[in]refIdSome reference ID.
[in]timeHit time [ns].
[in]timeErrorError of hit time [ns].

Definition at line 22 of file CbmStripHit.cxx.

◆ ~CbmStripHit()

CbmStripHit::~CbmStripHit ( )
virtual

Destructor.

Definition at line 39 of file CbmStripHit.cxx.

Member Function Documentation

◆ ClassDef()

CbmStripHit::ClassDef ( CbmStripHit ,
1  )
private

◆ GetAddress()

int32_t CbmHit::GetAddress ( ) const
inlineinherited

Definition at line 74 of file CbmHit.h.

References CbmHit::fAddress.

Referenced by CbmRichMCbmQaReal::analyseRing(), CbmRichMCbmQaRichOnly::analyseRing(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmDeviceHitBuilderTof::BuildHits(), CbmTofEventClusterizer::BuildHits(), CbmTofHitMaker::BuildHits(), CbmTofEventClusterizer::CalibHits(), CbmTofFindTracks::CheckHit2Track(), compareHitDataMembers(), CbmTofTrackFinderNN::DoFind(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmStsCoincHodo::Exec(), CbmTofHitFinderTBQa::Exec(), CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), CbmTofFindTracks::ExecFind(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), CbmTofFindTracks::FillHistograms(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmLitClusteringQa::FillHitEfficiencyHistograms(), CbmStsFindTracksQa::FillHitMap(), CbmLitClusteringQa::FillResidualAndPullHistograms(), CbmTofFindTracks::FillUHits(), CbmTrdTrackingInterface::GetHitRanges(), CbmTofEventClusterizer::GetLocalX(), CbmTofEventClusterizer::GetLocalY(), CbmTrdHit::GetPlaneId(), CbmL1PFFitter::GetStsStationIndex(), CbmTofDigiBdfPar::GetTrackingStation(), CbmMuchTrackingInterface::GetTrackingStationIndex(), CbmStsTrackingInterface::GetTrackingStationIndex(), CbmTofTrackingInterface::GetTrackingStationIndex(), CbmTrdTrackingInterface::GetTrackingStationIndex(), CbmDeviceHitBuilderTof::LH_store(), CbmTofCosmicClusterizer::LH_store(), CbmTofEventClusterizer::LH_store(), CbmTofHitMaker::LH_store(), CbmTofTestBeamClusterizer::LH_store(), CbmMatchRecoToMC::MatchHitsFsd(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofTrackFinderNN::PrintStatus(), CbmRecoStsPixel::ProcessData(), CbmLitClusteringQa::ProcessHits(), CbmLitFitQa::ProcessMuchTrack(), CbmLitFitQa::ProcessStsTrack(), CbmLitFitQa::ProcessTrdTrack(), CbmMuchHitFinderQa::PullsQa(), CbmHadronAnalysis::ReconstructSecondaries(), CbmTrdCalibTracker::ResolutionQa(), CbmRichMCbmQaRichOnly::RichRings(), CbmDeviceHitBuilderTof::SendHits(), CbmPixelHit::ToString(), CbmRichHit::ToString(), ToString(), CbmStsHit::ToString(), CbmTofHit::ToString(), CbmTofTrackFinderNN::TrklSeed(), and CbmTofTrackFinderNN::UpdateTrackList().

◆ GetDphi()

double CbmStripHit::GetDphi ( ) const
inline

Definition at line 76 of file CbmStripHit.h.

References fDphi.

Referenced by compareStripHitDataMembers(), and ToString().

◆ GetDu()

double CbmStripHit::GetDu ( ) const
inline

Definition at line 75 of file CbmStripHit.h.

References fDu.

Referenced by compareStripHitDataMembers(), and ToString().

◆ GetDz()

◆ GetMatch()

◆ GetPhi()

double CbmStripHit::GetPhi ( ) const
inline

Definition at line 74 of file CbmStripHit.h.

References fPhi.

Referenced by compareStripHitDataMembers(), and ToString().

◆ GetPlaneId()

virtual int32_t CbmHit::GetPlaneId ( ) const
inlinevirtualinherited

Virtual function. Must be implemented in derived class. Should return plane identifier of the hit. Usually this is station or layer number of the detector. Can be calculated using unique detector identifier or can use additional class member from the derived class to store the plane identifier.

Reimplemented in CbmMuchPixelHit, CbmRichHit, CbmTofHit, and CbmTrdHit.

Definition at line 99 of file CbmHit.h.

Referenced by CbmLitConverter::CbmPixelHitToCbmLitPixelHit(), CbmLitConverterParallel::CbmPixelHitToLitScalPixelHit(), and TEST().

◆ GetRefId()

◆ GetTime()

double CbmHit::GetTime ( ) const
inlineinherited

Definition at line 76 of file CbmHit.h.

References CbmHit::fTime.

Referenced by CbmTofEventClusterizer::AddNextChan(), CbmRichRingFinderHough::AddRingsToOutputArray(), CbmRichMCbmQaReal::analyseRing(), CbmRichMCbmQaRichOnly::analyseRing(), LmvmTask::BetaMom(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmDeviceHitBuilderTof::BuildHits(), CbmTofEventClusterizer::BuildHits(), CbmTofHitMaker::BuildHits(), CbmTofEventClusterizer::CalibHits(), CbmLitConverter::CbmMvdHitToCbmLitPixelHit(), CbmTofFindTracks::CheckHit2Track(), LmvmTask::CheckTofIdentification(), compareHitDataMembers(), CbmPointSetArrayDraw::DetermineTimeOffset(), CbmTsPointSetArrayDraw::DetermineTimeOffset(), CbmRichRingFinderHough::DoFind(), CbmTofTrackFinderNN::DoFind(), CbmRichMCbmSEDisplay::DrawEvent(), CbmAnaDimuonAnalysis::Exec(), CbmEventBuilderQa::Exec(), CbmKFTrackQa::Exec(), CbmRichMCbmQa::Exec(), CbmRichMCbmQaReal::Exec(), CbmRichMCbmQaRichOnly::Exec(), CbmTofHitFinderTBQa::Exec(), CbmTrdHitProducerQa::Exec(), CbmTofExtendTracks::ExecExtend(), CbmTofFindTracks::ExecFind(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), LmvmTask::FillCands(), CbmTofExtendTracks::FillHistograms(), CbmTofFindTracks::FillHistograms(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofTests::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmLitClusteringQa::FillResidualAndPullHistograms(), PairAnalysisVarManager::FillVarTofHit(), CbmL1PFFitter::Fit(), CbmTofTrackletTools::FitTt(), CbmTrdHitMC::GetDt(), CbmTofTrackletTools::GetDTMean(), CbmTofTracklet::GetTdif(), CbmTofTrackletTools::GetTdif(), CbmTofTrackletTools::GetTexpected(), CbmTofTrackletTools::GetTexpectedError(), CbmPointSetArrayDraw::GetTime(), CbmTsPointSetArrayDraw::GetTime(), CbmLitGlobalElectronId::GetTofM2(), CbmTofCalibrator::HstDoublets(), CbmDeviceHitBuilderTof::LH_store(), CbmTofCosmicClusterizer::LH_store(), CbmTofEventClusterizer::LH_store(), CbmTofHitMaker::LH_store(), CbmTofTestBeamClusterizer::LH_store(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTrdModuleRec2D::PostProcessHits(), CbmTofTrackFinderNN::PrintStatus(), CbmRichMCbmDenoiseQa::Process(), CbmLitTofQa::ProcessGlobalTracks(), CbmLitTofQa::ProcessTofHits(), CbmMuchHitFinderQa::PullsQa(), CbmHadronAnalysis::ReconstructSecondaries(), CbmRecoQa::record(), CbmTrdCalibTracker::ResolutionQa(), CbmRichMCbmQaRichOnly::RichRings(), CbmDeviceHitBuilderTof::SendHits(), PairAnalysisTrack::SetMassHypo(), CbmKFParticleFinderPID::SetRecoPID(), CbmStsHit::ToString(), CbmTofHit::ToString(), CbmTrdHit::ToString(), CbmTofExtendTracks::TrkAddStation(), CbmTofTrackFinderNN::TrklSeed(), and HalCbmEvent::UpdateDST().

◆ GetTimeError()

◆ GetType()

HitType CbmHit::GetType ( ) const
inlineinherited

◆ GetU()

double CbmStripHit::GetU ( ) const
inline

Definition at line 73 of file CbmStripHit.h.

References fU.

Referenced by compareStripHitDataMembers(), and ToString().

◆ GetZ()

double CbmHit::GetZ ( ) const
inlineinherited

Definition at line 71 of file CbmHit.h.

References CbmHit::fZ.

Referenced by CbmStsTrackFinder::CalculateEloss(), CbmL1PFFitter::CalculateFieldRegion(), CbmL1PFFitter::CalculateFieldRegionAtLastPoint(), CbmLitFindGlobalTracks::CalculateLength(), CbmKresConversionCorrectedPhotons::CalculatePlaneAngle_first(), CbmKresConversionManual::CalculatePlaneAngle_first(), CbmKresConversionManualmbias1::CalculatePlaneAngle_first(), CbmKresConversionManualmbias2::CalculatePlaneAngle_first(), CbmKresConversionManualmbias3::CalculatePlaneAngle_first(), CbmKresConversionManualmbias4::CalculatePlaneAngle_first(), CbmKresConversionPhotons::CalculatePlaneAngle_first(), CbmKresEta::CalculatePlaneAngle_first(), CbmKresConversionCorrectedPhotons::CalculatePlaneAngle_last(), CbmKresConversionManual::CalculatePlaneAngle_last(), CbmKresConversionManualmbias1::CalculatePlaneAngle_last(), CbmKresConversionManualmbias2::CalculatePlaneAngle_last(), CbmKresConversionManualmbias3::CalculatePlaneAngle_last(), CbmKresConversionManualmbias4::CalculatePlaneAngle_last(), CbmKresConversionPhotons::CalculatePlaneAngle_last(), CbmKresEta::CalculatePlaneAngle_last(), CbmLitConverter::CbmMvdHitToCbmLitPixelHit(), CbmLitConverter::CbmPixelHitToCbmLitPixelHit(), CbmLitConverterParallel::CbmPixelHitToLitScalPixelHit(), CbmTofFindTracks::CheckHit2Track(), CbmFsdHitsConverter::Chi2FsdhitGtrack(), compareHitDataMembers(), CbmTofHit::Dist3D(), CbmTofTracklet::Dist3D(), CbmTofTrackFinderNN::DoFind(), CbmRichMCbmSEDisplay::DrawEvent(), CbmRichMCbmQaReal::DrawRichTofEv(), CbmRichMCbmQaReal::DrawRing(), CbmKresConversionGeneral::Exec(), CbmLitCreateStandaloneData::Exec(), CbmMvdClusterAna::Exec(), CbmPsdMCbmQaReal::Exec(), CbmRichMCbmQaReal::Exec(), CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), CbmTofExtendTracks::ExecExtend(), CbmTofFindTracks::ExecFind(), CbmRichMCbmQaReal::extrapolate(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), CbmTofExtendTracks::FillHistograms(), CbmTofFindTracks::FillHistograms(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofTests::FillHistos(), CbmTofCalibrator::FillHitCalHist(), PairAnalysisVarManager::FillVarPairAnalysisPair(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), PairAnalysisVarManager::FillVarPixelHit(), PairAnalysisVarManager::FillVarStsTrack(), CbmL1PFFitter::Fit(), CbmTofTrackletTools::FitTt(), CbmL1PFFitter::GetChiToVertex(), CbmTofHit::GetCosThe(), CbmTrdHitMC::GetDt(), CbmTrdHitMC::GetDx(), CbmTrdHitMC::GetDy(), CbmMvdQa::GetFirstMvdHitPos(), CbmTofEventClusterizer::GetLocalX(), CbmTofEventClusterizer::GetLocalY(), CbmTofHit::GetR(), CbmLitConverter::GetStsTrackTimes(), CbmStsWkn::GetStsWkn(), CbmStsWkn::GetStsWkn(), CbmTofTracklet::GetTdif(), CbmTofTrackletTools::GetTdif(), CbmTofTracklet::GetTex(), CbmTofTrackletTools::GetTexpected(), CbmTofTrackletTools::GetTexpectedError(), CbmPixelHitSetDraw::GetVector(), CbmPointSetArrayDraw::GetVector(), CbmTimeslicePixelHitSetDraw::GetVector(), CbmTsPointSetArrayDraw::GetVector(), CbmTofTracklet::GetXdif(), CbmTofTrackletTools::GetXdif(), CbmTofTracklet::GetYdif(), CbmTofTrackletTools::GetYdif(), CbmRecoTracks::HandlePixelHit(), CbmTimesliceRecoTracks::HandlePixelHit(), CbmMvdQa::HasHitFirstMvd(), CbmTofCalibrator::HstDoublets(), CbmTofTrackletTools::Line3DFit(), CbmMatchRecoToMC::MatchHitsTof(), CbmPixelHit::Position(), CbmMvdHit::Print(), CbmRichGeoTest::ProcessHits(), CbmLitTofQa::ProcessTofHits(), CbmLitTofQa::ProcessTofTracks(), CbmHadronAnalysis::ReconstructSecondaries(), CbmTrdCalibTracker::ResolutionQa(), CbmRichCorrectionVector::RotateAndCopyHitsToRingLight(), CbmRichPMTMapping::RotateAndCopyHitsToRingLight(), CbmDeviceHitBuilderTof::SendHits(), CbmKFParticleFinderPID::SetRecoPID(), CbmFsdHit::ToString(), CbmPixelHit::ToString(), CbmRichHit::ToString(), ToString(), CbmStsHit::ToString(), CbmTofHit::ToString(), CbmTofExtendTracks::TrkAddStation(), and CbmTofTrackFinderNN::TrklSeed().

◆ SetAddress()

void CbmHit::SetAddress ( int32_t address)
inlineinherited

◆ SetDphi()

void CbmStripHit::SetDphi ( double dphi)
inline

Definition at line 82 of file CbmStripHit.h.

References fDphi.

Referenced by TEST().

◆ SetDu()

void CbmStripHit::SetDu ( double du)
inline

Definition at line 81 of file CbmStripHit.h.

References fDu.

Referenced by TEST().

◆ SetDz()

void CbmHit::SetDz ( double dz)
inlineinherited

Definition at line 81 of file CbmHit.h.

References CbmHit::fDz.

Referenced by CbmPixelHit::SetPositionError(), and TEST().

◆ SetMatch()

void CbmHit::SetMatch ( CbmMatch * match)
inherited

Definition at line 70 of file CbmHit.cxx.

References CbmHit::fMatch.

Referenced by TEST(), TEST(), and TEST().

◆ SetPhi()

void CbmStripHit::SetPhi ( double phi)
inline

Definition at line 80 of file CbmStripHit.h.

References fPhi.

Referenced by TEST().

◆ SetRefId()

◆ SetTime() [1/2]

◆ SetTime() [2/2]

void CbmHit::SetTime ( double time,
double error )
inlineinherited

Definition at line 86 of file CbmHit.h.

References CbmHit::fTime, and CbmHit::fTimeError.

◆ SetTimeError()

◆ SetType()

◆ SetU()

void CbmStripHit::SetU ( double u)
inline

Definition at line 79 of file CbmStripHit.h.

References fU.

Referenced by TEST().

◆ SetZ()

void CbmHit::SetZ ( double z)
inlineinherited

◆ ToString()

std::string CbmStripHit::ToString ( ) const
virtual

Inherited from CbmBaseHit.

Reimplemented from CbmHit.

Definition at line 41 of file CbmStripHit.cxx.

References CbmHit::GetAddress(), GetDphi(), GetDu(), CbmHit::GetDz(), GetPhi(), CbmHit::GetRefId(), GetU(), and CbmHit::GetZ().

Referenced by TEST().

Member Data Documentation

◆ fAddress

int32_t CbmHit::fAddress
privateinherited

detector unique identifier

Definition at line 122 of file CbmHit.h.

Referenced by CbmHit::GetAddress(), CbmHit::operator=(), and CbmHit::SetAddress().

◆ fDphi

double CbmStripHit::fDphi
private

strip rotation error [rad]

Definition at line 88 of file CbmStripHit.h.

Referenced by GetDphi(), and SetDphi().

◆ fDu

double CbmStripHit::fDu
private

U error [cm].

Definition at line 86 of file CbmStripHit.h.

Referenced by GetDu(), and SetDu().

◆ fDz

double CbmHit::fDz
privateinherited

Z position error [cm].

Definition at line 120 of file CbmHit.h.

Referenced by CbmHit::GetDz(), CbmHit::operator=(), and CbmHit::SetDz().

◆ fMatch

CbmMatch* CbmHit::fMatch
privateinherited

Monte-Carlo information.

Definition at line 125 of file CbmHit.h.

Referenced by CbmHit::GetMatch(), CbmHit::operator=(), CbmHit::SetMatch(), and CbmHit::~CbmHit().

◆ fPhi

double CbmStripHit::fPhi
private

strip rotation angle [rad]

Definition at line 87 of file CbmStripHit.h.

Referenced by GetPhi(), and SetPhi().

◆ fRefId

int32_t CbmHit::fRefId
privateinherited

some reference id (usually to cluster, digi or MC point)

Definition at line 121 of file CbmHit.h.

Referenced by CbmHit::GetRefId(), CbmHit::operator=(), and CbmHit::SetRefId().

◆ fTime

double CbmHit::fTime
privateinherited

Hit time [ns].

Definition at line 123 of file CbmHit.h.

Referenced by CbmHit::GetTime(), CbmHit::operator=(), CbmHit::SetTime(), and CbmHit::SetTime().

◆ fTimeError

double CbmHit::fTimeError
privateinherited

Error of hit time [ns].

Definition at line 124 of file CbmHit.h.

Referenced by CbmHit::GetTimeError(), CbmHit::operator=(), CbmHit::SetTime(), and CbmHit::SetTimeError().

◆ fType

HitType CbmHit::fType
privateinherited

hit type

Definition at line 118 of file CbmHit.h.

Referenced by CbmHit::GetType(), CbmHit::operator=(), and CbmHit::SetType().

◆ fU

double CbmStripHit::fU
private

U coordinate in the rotated c.s [cm].

Definition at line 85 of file CbmStripHit.h.

Referenced by GetU(), and SetU().

◆ fZ

double CbmHit::fZ
privateinherited

Z position of hit [cm].

Definition at line 119 of file CbmHit.h.

Referenced by CbmHit::GetZ(), CbmHit::operator=(), and CbmHit::SetZ().


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