BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnHit Class Reference

#include <BmnHit.h>

Inheritance diagram for BmnHit:
Collaboration diagram for BmnHit:

Public Member Functions

 BmnHit ()
 Default constructor.
 BmnHit (Int_t detUID, TVector3 posHit, TVector3 posHitErr, Int_t pointIndx)
 Constructor to use.
virtual ~BmnHit ()
 Destructor.
Bool_t IsUsed () const
Bool_t GetFlag () const
Int_t GetIndex () const
Double_t GetLength ()
DetectorId GetDetId () const
Short_t GetStation () const
Int_t GetModule ()
Int_t GetType ()
Bool_t IsPseudo ()
Double_t GetResX ()
Double_t GetResY ()
Double_t GetCovXY ()
BmnMatch GetDigitNumberMatch ()
Int_t GetUpperClusterIndex ()
Int_t GetLowerClusterIndex ()
void SetUsing (Bool_t use)
void SetFlag (Bool_t fl)
void SetIndex (Int_t id)
void SetLength (Double_t len)
void SetDetId (DetectorId det)
void SetStation (Short_t st)
void SetModule (Int_t mod)
void SetType (Int_t type)
void SetPseudo (Bool_t pseudo)
void SetResXY (Double_t resX, Double_t resY)
void SetCovXY (Double_t val)
void SetDigitNumberMatch (BmnMatch match)
void SetUpperClusterIndex (Int_t idx)
void SetLowerClusterIndex (Int_t idx)

Protected Member Functions

StripCluster * GetCluster (const char *cluster_branch_name, StripLayerType layer)
 Strip cluster of the hit in the given strip layer, taken from the cluster branch of this layer (e.g.

Private Attributes

Bool_t fUsing
 Is hit used or not.
Bool_t fFlag
 Is hit good or not.
Int_t fIndex
 Index in hits array.
DetectorId fDetId
 Id of detector which creates hit.
Short_t fStation
 station number.
Int_t fModule
Int_t fType
Double_t fLength
Double_t fResX
Double_t fResY
Double_t fCovXY
BmnMatch fDigitNumberMatch
Int_t fUpperClusterIndex
Int_t fLowerClusterIndex
Bool_t fPseudo

Detailed Description

Definition at line 20 of file BmnHit.h.

Constructor & Destructor Documentation

◆ BmnHit() [1/2]

◆ BmnHit() [2/2]

BmnHit::BmnHit ( Int_t detUID,
TVector3 posHit,
TVector3 posHitErr,
Int_t pointIndx )

Definition at line 29 of file BmnHit.cxx.

References fCovXY, fDetId, fFlag, fIndex, fLength, fModule, fPseudo, fResX, fResY, fStation, fType, fUsing, and kREF.

◆ ~BmnHit()

BmnHit::~BmnHit ( )
virtual

Definition at line 46 of file BmnHit.cxx.

Member Function Documentation

◆ GetCluster()

StripCluster * BmnHit::GetCluster ( const char * cluster_branch_name,
StripLayerType layer )
protected

BmnGemLowerCluster) of the current event via FairRootManager, so it is available in FairRoot tasks only; nullptr if the branch is not available, the cluster index is invalid or the hit has no cluster in the layer

Definition at line 49 of file BmnHit.cxx.

References fLowerClusterIndex, fPseudo, fUpperClusterIndex, TTree::GetBranch(), TObjArray::GetEntriesFast(), TBranch::GetEntry(), TTree::GetReadEntry(), TChain::GetTree(), LowerStripLayer, TObjArray::UncheckedAt(), and UpperStripLayer.

Referenced by BmnCSCHit::GetClusterSizeInLowerLayer(), BmnGemStripHit::GetClusterSizeInLowerLayer(), BmnSiliconHit::GetClusterSizeInLowerLayer(), BmnVSPHit::GetClusterSizeInLowerLayer(), BmnCSCHit::GetClusterSizeInUpperLayer(), BmnGemStripHit::GetClusterSizeInUpperLayer(), BmnSiliconHit::GetClusterSizeInUpperLayer(), BmnVSPHit::GetClusterSizeInUpperLayer(), BmnCSCHit::GetStripPositionInLowerLayer(), BmnGemStripHit::GetStripPositionInLowerLayer(), BmnSiliconHit::GetStripPositionInLowerLayer(), BmnVSPHit::GetStripPositionInLowerLayer(), BmnCSCHit::GetStripPositionInUpperLayer(), BmnGemStripHit::GetStripPositionInUpperLayer(), BmnSiliconHit::GetStripPositionInUpperLayer(), BmnVSPHit::GetStripPositionInUpperLayer(), BmnCSCHit::GetStripTotalSignalInLowerLayer(), BmnGemStripHit::GetStripTotalSignalInLowerLayer(), BmnSiliconHit::GetStripTotalSignalInLowerLayer(), BmnVSPHit::GetStripTotalSignalInLowerLayer(), BmnCSCHit::GetStripTotalSignalInUpperLayer(), BmnGemStripHit::GetStripTotalSignalInUpperLayer(), BmnSiliconHit::GetStripTotalSignalInUpperLayer(), and BmnVSPHit::GetStripTotalSignalInUpperLayer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCovXY()

Double_t BmnHit::GetCovXY ( )
inline

Definition at line 42 of file BmnHit.h.

References fCovXY.

◆ GetDetId()

DetectorId BmnHit::GetDetId ( ) const
inline

Definition at line 34 of file BmnHit.h.

References fDetId.

Referenced by CbmTofHit::ToString(), BmnCellAutoTracking::TrackSelection(), BmnInnerTrackingRun7::TrackSelection(), and SrcInnerTrackingRun7::TrackSelection().

Here is the caller graph for this function:

◆ GetDigitNumberMatch()

BmnMatch BmnHit::GetDigitNumberMatch ( )
inline

Definition at line 43 of file BmnHit.h.

References fDigitNumberMatch.

Referenced by BmnRealisticMc::doHitSelection(), BmnToCbmHitConverter::Exec(), and rescaleAmplitude().

Here is the caller graph for this function:

◆ GetFlag()

Bool_t BmnHit::GetFlag ( ) const
inline

Definition at line 31 of file BmnHit.h.

References fFlag.

Referenced by BmnRecoTools::FillSetStsHits(), BmnTofHitProducer::MergeHitsOnStripNew(), rescaleAmplitudeCSC(), rescaleAmplitudeGem(), rescaleAmplitudeSi(), and CbmTofHit::ToString().

Here is the caller graph for this function:

◆ GetIndex()

Int_t BmnHit::GetIndex ( ) const
inline

Definition at line 32 of file BmnHit.h.

References fIndex.

Referenced by BmnSiliconTrackFinder::CoordinateCalculation(), BmnRealisticMc::doHitSelection(), CbmTofHit::GetRefId(), BmnUpstreamTracking::ReadSiliconTracks(), BmnCellAutoTracking::TrackSelection(), BmnInnerTrackingRun7::TrackSelection(), and SrcInnerTrackingRun7::TrackSelection().

Here is the caller graph for this function:

◆ GetLength()

Double_t BmnHit::GetLength ( )
inline

Definition at line 33 of file BmnHit.h.

References fLength.

Referenced by BmnPidQa::ProcessGlobal(), read_dst_example(), and Tof400Identification().

Here is the caller graph for this function:

◆ GetLowerClusterIndex()

Int_t BmnHit::GetLowerClusterIndex ( )
inline

Definition at line 45 of file BmnHit.h.

References fLowerClusterIndex.

Referenced by BmnToCbmHitConverter::AddVspHits(), and BmnToCbmHitConverter::Exec().

Here is the caller graph for this function:

◆ GetModule()

◆ GetResX()

Double_t BmnHit::GetResX ( )
inline

Definition at line 40 of file BmnHit.h.

References fResX.

Referenced by BmnQaOffline::doResidualsPullsAnal(), drawResidualsBMN(), drawResidualsSRC(), and BmnTof400Qa::Exec().

Here is the caller graph for this function:

◆ GetResY()

Double_t BmnHit::GetResY ( )
inline

Definition at line 41 of file BmnHit.h.

References fResY.

Referenced by BmnQaOffline::doResidualsPullsAnal(), drawResidualsBMN(), drawResidualsSRC(), and BmnTof400Qa::Exec().

Here is the caller graph for this function:

◆ GetStation()

Short_t BmnHit::GetStation ( ) const
inline

Definition at line 35 of file BmnHit.h.

References fStation.

Referenced by BmnEfficiency::BmnEfficiency(), BmnToCbmHitConverter::AddVspHits(), BmnDataAnalRun7::calcResiduals(), BmnCellAutoTracking::CellsCreation(), BmnKalmanFilter::ComputeResiduals(), SrcVertexFinder::CreateArmCandidates(), BmnLambdaEmbeddingQa::DoDrawEventsWithEmbeddedSignals(), BmnLambdaEmbeddingQa::DoEffAnalysis(), BmnRealisticMc::doHitSelection(), BmnLambdaEmbeddingQa::DoInnerTrackerRecoEfficiency(), BmnQaOffline::doOccupancy(), BmnQaOffline::doResidualsPullsAnal(), DrawBranchHits(), BmnLambdaEmbeddingQa::DrawFoundTracks(), drawResidualsSRC(), BmnCellAutoTracking::Exec(), BmnInnerTrackingRun7::Exec(), BmnToCbmHitConverter::Exec(), SrcInnerTrackingRun7::Exec(), BmnEfficiency::fillEfficiency(), BmnClusteringQa::FillHitEfficiencyHistograms(), BmnGlobalAlignment::FillMilleContainer(), BmnClusteringQa::FillResidualAndPullHistograms(), BmnRecoTools::FillSetStsHits(), BmnQaBase::FillStripHits(), BmnEfficiency::GetGemZone(), BmnAlignTestTask::Make(), BmnQaOffline::MatchDetector(), MatchDetector(), BmnTrackingQaExp::ProcessGlobal(), BmnClusteringQa::ProcessHits(), BmnUpstreamTracking::ReadSiliconHits(), rescaleAmplitudeCSC(), rescaleAmplitudeGem(), rescaleAmplitudeSi(), BmnSiResiduals::Residuals(), BmnGemResiduals::ResidualsAndDistances(), BmnRootIterator::ScanEvent(), BmnBeamTracking::SortHits(), BmnInnerTrackingRun7::SortHits(), SrcInnerTrackingRun7::SortHits(), and vertex().

Here is the caller graph for this function:

◆ GetType()

Int_t BmnHit::GetType ( )
inline

Definition at line 37 of file BmnHit.h.

References fType.

Referenced by BmnSiliconTrackFinder::CoordinateCalculation().

Here is the caller graph for this function:

◆ GetUpperClusterIndex()

Int_t BmnHit::GetUpperClusterIndex ( )
inline

Definition at line 44 of file BmnHit.h.

References fUpperClusterIndex.

Referenced by BmnToCbmHitConverter::AddVspHits(), and BmnToCbmHitConverter::Exec().

Here is the caller graph for this function:

◆ IsPseudo()

Bool_t BmnHit::IsPseudo ( )
inline

Definition at line 39 of file BmnHit.h.

References fPseudo.

Referenced by BmnToCbmHitConverter::Exec(), and BmnQaBase::FillStripHits().

Here is the caller graph for this function:

◆ IsUsed()

Bool_t BmnHit::IsUsed ( ) const
inline

Definition at line 30 of file BmnHit.h.

References fUsing.

Referenced by BmnCellAutoTracking::CellsCreation(), BmnGlobalTracking::MatchingTOF(), BmnInnerTrackingRun7::SortHits(), and SrcInnerTrackingRun7::SortHits().

Here is the caller graph for this function:

◆ SetCovXY()

void BmnHit::SetCovXY ( Double_t val)
inline

Definition at line 62 of file BmnHit.h.

References fCovXY.

Referenced by BmnTrackConv::ProcessDST().

Here is the caller graph for this function:

◆ SetDetId()

void BmnHit::SetDetId ( DetectorId det)
inline

Definition at line 51 of file BmnHit.h.

References fDetId.

Referenced by BmnTOF1Detector::AddHit(), BmnTof1HitProducerIdeal::AddHit(), BmnCellAutoTracking::Exec(), BmnInnerTrackingRun7::Exec(), SrcInnerTrackingRun7::Exec(), and BmnTrackConv::ProcessDST().

Here is the caller graph for this function:

◆ SetDigitNumberMatch()

void BmnHit::SetDigitNumberMatch ( BmnMatch match)
inline

Definition at line 63 of file BmnHit.h.

References fDigitNumberMatch.

Referenced by BmnCSCHitMaker::ProcessDigits(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ SetFlag()

void BmnHit::SetFlag ( Bool_t fl)
inline

Definition at line 48 of file BmnHit.h.

References fFlag.

Referenced by CbmTofHit::CbmTofHit(), CbmTofHit::CbmTofHit(), CbmTofHit::CbmTofHit(), CbmTofHit::CbmTofHit(), BmnRescale::CreateClusterDistributions(), BmnRecoTools::FillSetStsHits(), BmnTofHitProducer::MergeHitsOnStripNew(), rescaleAmplitudeCSC(), rescaleAmplitudeGem(), and rescaleAmplitudeSi().

Here is the caller graph for this function:

◆ SetIndex()

◆ SetLength()

void BmnHit::SetLength ( Double_t len)
inline

Definition at line 50 of file BmnHit.h.

References fLength.

Referenced by BmnGlobalTracking::MatchingTOF().

Here is the caller graph for this function:

◆ SetLowerClusterIndex()

void BmnHit::SetLowerClusterIndex ( Int_t idx)
inline

Definition at line 65 of file BmnHit.h.

References fLowerClusterIndex.

Referenced by BmnTOF1Detector::AddHit(), BmnCSCHitMaker::ProcessDigits(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ SetModule()

void BmnHit::SetModule ( Int_t mod)
inline

◆ SetPseudo()

void BmnHit::SetPseudo ( Bool_t pseudo)
inline

Definition at line 56 of file BmnHit.h.

References fPseudo.

Referenced by BmnCSCHitMaker::ProcessDigits(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ SetResXY()

void BmnHit::SetResXY ( Double_t resX,
Double_t resY )
inline

Definition at line 57 of file BmnHit.h.

References fResX, and fResY.

Referenced by BmnBeamTracking::FindTracks().

Here is the caller graph for this function:

◆ SetStation()

◆ SetType()

void BmnHit::SetType ( Int_t type)
inline

Definition at line 54 of file BmnHit.h.

References fType.

Referenced by BmnRealisticMc::doHitSelection(), BmnGemHitProducer::Exec(), BmnInnerTrackingRun7::Exec(), BmnSiliconHitProducer::Exec(), BmnSiliconHitProducerSRC::Exec(), BmnVSPHitProducer::Exec(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ SetUpperClusterIndex()

void BmnHit::SetUpperClusterIndex ( Int_t idx)
inline

Definition at line 64 of file BmnHit.h.

References fUpperClusterIndex.

Referenced by BmnTOF1Detector::AddHit(), BmnCSCHitMaker::ProcessDigits(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ SetUsing()

void BmnHit::SetUsing ( Bool_t use)
inline

Definition at line 47 of file BmnHit.h.

References fUsing, and use.

Referenced by BmnGlobalTracking::MatchingTOF(), BmnCellAutoTracking::SetHitsUsing(), BmnInnerTrackingRun7::SetHitsUsing(), and SrcInnerTrackingRun7::SetHitsUsing().

Here is the caller graph for this function:

Member Data Documentation

◆ fCovXY

Double_t BmnHit::fCovXY
private

Definition at line 91 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetCovXY(), and SetCovXY().

◆ fDetId

DetectorId BmnHit::fDetId
private

Definition at line 81 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetDetId(), and SetDetId().

◆ fDigitNumberMatch

BmnMatch BmnHit::fDigitNumberMatch
private

Definition at line 94 of file BmnHit.h.

Referenced by GetDigitNumberMatch(), and SetDigitNumberMatch().

◆ fFlag

Bool_t BmnHit::fFlag
private

Definition at line 77 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetFlag(), and SetFlag().

◆ fIndex

Int_t BmnHit::fIndex
private

Definition at line 79 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetIndex(), and SetIndex().

◆ fLength

Double_t BmnHit::fLength
private

Definition at line 86 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetLength(), and SetLength().

◆ fLowerClusterIndex

Int_t BmnHit::fLowerClusterIndex
private

Definition at line 97 of file BmnHit.h.

Referenced by GetCluster(), GetLowerClusterIndex(), and SetLowerClusterIndex().

◆ fModule

Int_t BmnHit::fModule
private

Definition at line 84 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetModule(), and SetModule().

◆ fPseudo

Bool_t BmnHit::fPseudo
private

Definition at line 99 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetCluster(), IsPseudo(), and SetPseudo().

◆ fResX

Double_t BmnHit::fResX
private

Definition at line 88 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetResX(), and SetResXY().

◆ fResY

Double_t BmnHit::fResY
private

Definition at line 89 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetResY(), and SetResXY().

◆ fStation

Short_t BmnHit::fStation
private

It essential for gem, mwpc

Definition at line 83 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetStation(), and SetStation().

◆ fType

Int_t BmnHit::fType
private

Definition at line 85 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), GetType(), and SetType().

◆ fUpperClusterIndex

Int_t BmnHit::fUpperClusterIndex
private

Definition at line 96 of file BmnHit.h.

Referenced by GetCluster(), GetUpperClusterIndex(), and SetUpperClusterIndex().

◆ fUsing

Bool_t BmnHit::fUsing
private

Definition at line 75 of file BmnHit.h.

Referenced by BmnHit(), BmnHit(), IsUsed(), and SetUsing().


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