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

#include <BmnMwpcHit.h>

Inheritance diagram for BmnMwpcHit:
Collaboration diagram for BmnMwpcHit:

Public Member Functions

 BmnMwpcHit ()
 Default constructor.
 BmnMwpcHit (Int_t detUID, TVector3 posHit, TVector3 posHitErr, Int_t pointIndx)
 Constructor to use.
Int_t GetXaddr () const
Int_t GetYaddr () const
ULong_t GetAddr () const
Short_t GetMwpcId () const
Int_t GetHitId () const
Bool_t IsUsed () const
void SetUsing (Bool_t use)
void SetXaddr (Int_t addr)
void SetYaddr (Int_t addr)
void SetAddr (ULong_t addr)
void SetMwpcId (Short_t id)
void SetHitId (Int_t idx)
Int_t GetWireNumber ()
Int_t GetDetectorID () const
Int_t GetWireTime ()
Int_t GetPlaneId ()
Int_t GetPdgId ()
void SetWireNumber (Int_t wire_num)
void SetWireTime (Int_t time_wire)
void SetPlaneId (Int_t plane_id)
void SetPdgId (Int_t pdg_id)
virtual ~BmnMwpcHit ()
 Destructor.
Public Member Functions inherited from BmnHit
 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 Attributes

Int_t fWireNumber
Int_t fDetectorID
Int_t fWireTime
Int_t fPlaneId
Int_t fPdgId

Private Attributes

Int_t fID
Bool_t fUsing
Int_t fXaddr
Int_t fYaddr
ULong_t fAddr
Short_t fMwpcId

Additional Inherited Members

Protected Member Functions inherited from BmnHit
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.

Detailed Description

Definition at line 17 of file BmnMwpcHit.h.

Constructor & Destructor Documentation

◆ BmnMwpcHit() [1/2]

BmnMwpcHit::BmnMwpcHit ( )

for station number calculation

Definition at line 10 of file BmnMwpcHit.cxx.

References BmnHit::BmnHit(), and fWireNumber.

Here is the call graph for this function:

◆ BmnMwpcHit() [2/2]

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

Definition at line 16 of file BmnMwpcHit.cxx.

References BmnHit::BmnHit(), and fUsing.

Here is the call graph for this function:

◆ ~BmnMwpcHit()

BmnMwpcHit::~BmnMwpcHit ( )
virtual

Definition at line 22 of file BmnMwpcHit.cxx.

Member Function Documentation

◆ GetAddr()

ULong_t BmnMwpcHit::GetAddr ( ) const
inline

Definition at line 30 of file BmnMwpcHit.h.

References fAddr.

◆ GetDetectorID()

Int_t BmnMwpcHit::GetDetectorID ( ) const
inline

Definition at line 51 of file BmnMwpcHit.h.

References fDetectorID.

◆ GetHitId()

Int_t BmnMwpcHit::GetHitId ( ) const
inline

Definition at line 34 of file BmnMwpcHit.h.

References fID.

Referenced by BmnUpstreamTracking::ReadMWPCSegments(), BmnMwpcTrackFinder::ReadSegments(), and BmnMwpcHitFinder::ReadWires().

Here is the caller graph for this function:

◆ GetMwpcId()

Short_t BmnMwpcHit::GetMwpcId ( ) const
inline

Definition at line 32 of file BmnMwpcHit.h.

References fMwpcId.

Referenced by MwpcDigitsAnalysisHist(), qa(), BmnUpstreamTracking::ReadMWPCSegments(), BmnMwpcTrackFinder::ReadSegments(), and BmnMwpcHitFinder::ReadWires().

Here is the caller graph for this function:

◆ GetPdgId()

Int_t BmnMwpcHit::GetPdgId ( )
inline

Definition at line 54 of file BmnMwpcHit.h.

References fPdgId.

Referenced by BmnUpstreamTracking::ReadMWPCSegments(), and BmnMwpcHitFinder::ReadWires().

Here is the caller graph for this function:

◆ GetPlaneId()

Int_t BmnMwpcHit::GetPlaneId ( )
inline

Definition at line 53 of file BmnMwpcHit.h.

References fPlaneId.

Referenced by BmnUpstreamTracking::ReadMWPCSegments(), BmnMwpcTrackFinder::ReadSegments(), and BmnMwpcHitFinder::ReadWires().

Here is the caller graph for this function:

◆ GetWireNumber()

Int_t BmnMwpcHit::GetWireNumber ( )
inline

Definition at line 50 of file BmnMwpcHit.h.

References fWireNumber.

Referenced by BmnMwpcHitFinder::ReadWires().

Here is the caller graph for this function:

◆ GetWireTime()

Int_t BmnMwpcHit::GetWireTime ( )
inline

Definition at line 52 of file BmnMwpcHit.h.

References fWireTime.

Referenced by BmnMwpcHitFinder::ReadWires().

Here is the caller graph for this function:

◆ GetXaddr()

Int_t BmnMwpcHit::GetXaddr ( ) const
inline

Definition at line 26 of file BmnMwpcHit.h.

References fXaddr.

◆ GetYaddr()

Int_t BmnMwpcHit::GetYaddr ( ) const
inline

Definition at line 28 of file BmnMwpcHit.h.

References fYaddr.

◆ IsUsed()

Bool_t BmnMwpcHit::IsUsed ( ) const
inline

Definition at line 36 of file BmnMwpcHit.h.

References fUsing.

◆ SetAddr()

void BmnMwpcHit::SetAddr ( ULong_t addr)
inline

Definition at line 44 of file BmnMwpcHit.h.

References fAddr.

◆ SetHitId()

void BmnMwpcHit::SetHitId ( Int_t idx)
inline

Definition at line 48 of file BmnMwpcHit.h.

References fID.

Referenced by BmnMwpcHitProducer::ProcessPoints().

Here is the caller graph for this function:

◆ SetMwpcId()

void BmnMwpcHit::SetMwpcId ( Short_t id)
inline

Definition at line 46 of file BmnMwpcHit.h.

References fMwpcId.

Referenced by BmnMwpcHitProducer::ProcessPoints().

Here is the caller graph for this function:

◆ SetPdgId()

void BmnMwpcHit::SetPdgId ( Int_t pdg_id)
inline

Definition at line 58 of file BmnMwpcHit.h.

References fPdgId.

Referenced by BmnMwpcHitProducer::ProcessPoints().

Here is the caller graph for this function:

◆ SetPlaneId()

void BmnMwpcHit::SetPlaneId ( Int_t plane_id)
inline

Definition at line 57 of file BmnMwpcHit.h.

References fPlaneId.

Referenced by BmnMwpcHitProducer::ProcessPoints().

Here is the caller graph for this function:

◆ SetUsing()

void BmnMwpcHit::SetUsing ( Bool_t use)
inline

Definition at line 38 of file BmnMwpcHit.h.

References fUsing, and use.

◆ SetWireNumber()

void BmnMwpcHit::SetWireNumber ( Int_t wire_num)
inline

Definition at line 55 of file BmnMwpcHit.h.

References fWireNumber.

Referenced by BmnMwpcHitProducer::ProcessPoints().

Here is the caller graph for this function:

◆ SetWireTime()

void BmnMwpcHit::SetWireTime ( Int_t time_wire)
inline

Definition at line 56 of file BmnMwpcHit.h.

References fWireTime.

Referenced by BmnMwpcHitProducer::ProcessPoints().

Here is the caller graph for this function:

◆ SetXaddr()

void BmnMwpcHit::SetXaddr ( Int_t addr)
inline

Definition at line 40 of file BmnMwpcHit.h.

References fXaddr.

◆ SetYaddr()

void BmnMwpcHit::SetYaddr ( Int_t addr)
inline

Definition at line 42 of file BmnMwpcHit.h.

References fYaddr.

Member Data Documentation

◆ fAddr

ULong_t BmnMwpcHit::fAddr
private

Definition at line 68 of file BmnMwpcHit.h.

Referenced by GetAddr(), and SetAddr().

◆ fDetectorID

Int_t BmnMwpcHit::fDetectorID
protected

Definition at line 73 of file BmnMwpcHit.h.

Referenced by GetDetectorID().

◆ fID

Int_t BmnMwpcHit::fID
private

Definition at line 64 of file BmnMwpcHit.h.

Referenced by GetHitId(), and SetHitId().

◆ fMwpcId

Short_t BmnMwpcHit::fMwpcId
private

Definition at line 69 of file BmnMwpcHit.h.

Referenced by GetMwpcId(), and SetMwpcId().

◆ fPdgId

Int_t BmnMwpcHit::fPdgId
protected

Definition at line 76 of file BmnMwpcHit.h.

Referenced by GetPdgId(), and SetPdgId().

◆ fPlaneId

Int_t BmnMwpcHit::fPlaneId
protected

Definition at line 75 of file BmnMwpcHit.h.

Referenced by GetPlaneId(), and SetPlaneId().

◆ fUsing

Bool_t BmnMwpcHit::fUsing
private

Definition at line 65 of file BmnMwpcHit.h.

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

◆ fWireNumber

Int_t BmnMwpcHit::fWireNumber
protected

Definition at line 72 of file BmnMwpcHit.h.

Referenced by BmnMwpcHit(), GetWireNumber(), and SetWireNumber().

◆ fWireTime

Int_t BmnMwpcHit::fWireTime
protected

Definition at line 74 of file BmnMwpcHit.h.

Referenced by GetWireTime(), and SetWireTime().

◆ fXaddr

Int_t BmnMwpcHit::fXaddr
private

Definition at line 66 of file BmnMwpcHit.h.

Referenced by GetXaddr(), and SetXaddr().

◆ fYaddr

Int_t BmnMwpcHit::fYaddr
private

Definition at line 67 of file BmnMwpcHit.h.

Referenced by GetYaddr(), and SetYaddr().


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