BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnGemStripStationSet Class Reference

#include <BmnGemStripStationSet.h>

Inheritance diagram for BmnGemStripStationSet:
Collaboration diagram for BmnGemStripStationSet:

Public Member Functions

 BmnGemStripStationSet ()
 BmnGemStripStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
 BmnGemStripStationSet (Int_t period, BmnSetup stp=kBMNSETUP, map< Int_t, TVector3 > *shifts=nullptr)
virtual ~BmnGemStripStationSet ()
Int_t GetNStations ()
Double_t GetXStationPosition (Int_t station_num)
Double_t GetYStationPosition (Int_t station_num)
Double_t GetZStationPosition (Int_t station_num)
Double_t GetBeamHoleRadius (Int_t station_num)
BmnGemStripStation * GetGemStation (Int_t station_num)
BmnGemStripStation * GetStation (Int_t station_num)
void Reset ()
Bool_t AddPointToDetector (Double_t xcoord, Double_t ycoord, Double_t zcoord, Double_t px, Double_t py, Double_t pz, Double_t dEloss, Int_t refID)
Int_t CountNAddedToDetectorPoints ()
void ProcessPointsInDetector ()
Int_t CountNProcessedPointsInDetector ()
Int_t GetPointStationOwnership (Double_t zcoord)
Int_t GetPointStationOwnership (Double_t xcoord, Double_t ycoord, Double_t zcoord)
 BmnGemStripStationSet ()
 BmnGemStripStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
 BmnGemStripStationSet (Int_t period, BmnSetup stp=kBMNSETUP, map< Int_t, TVector3 > *shifts=nullptr)
virtual ~BmnGemStripStationSet ()
Int_t GetNStations ()
Double_t GetXStationPosition (Int_t station_num)
Double_t GetYStationPosition (Int_t station_num)
Double_t GetZStationPosition (Int_t station_num)
Double_t GetBeamHoleRadius (Int_t station_num)
BmnGemStripStation * GetGemStation (Int_t station_num)
BmnGemStripStation * GetStation (Int_t station_num)
void Reset ()
Bool_t AddPointToDetector (Double_t xcoord, Double_t ycoord, Double_t zcoord, Double_t px, Double_t py, Double_t pz, Double_t dEloss, Int_t refID)
Int_t CountNAddedToDetectorPoints ()
void ProcessPointsInDetector ()
Int_t CountNProcessedPointsInDetector ()
Int_t GetPointStationOwnership (Double_t zcoord)
Int_t GetPointStationOwnership (Double_t xcoord, Double_t ycoord, Double_t zcoord)
Public Member Functions inherited from TObject
 TObject ()
 TObject (const TObject &object)
virtual ~TObject ()
void AbstractMethod (const char *method) const
virtual void AppendPad (Option_t *option="")
virtual void Browse (TBrowser *b)
ULong_t CheckedHash ()
virtual const char * ClassName () const
virtual void Clear (Option_t *="")
virtual TObject * Clone (const char *newname="") const
virtual Int_t Compare (const TObject *obj) const
virtual void Copy (TObject &object) const
virtual void Delete (Option_t *option="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawClass () const
virtual TObject * DrawClone (Option_t *option="") const
virtual void Dump () const
virtual void Error (const char *method, const char *msgfmt,...) const
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual void Fatal (const char *method, const char *msgfmt,...) const
virtual TObject * FindObject (const char *name) const
virtual TObject * FindObject (const TObject *obj) const
virtual Option_t * GetDrawOption () const
virtual const char * GetIconName () const
virtual const char * GetName () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
virtual Option_t * GetOption () const
virtual const char * GetTitle () const
virtual UInt_t GetUniqueID () const
virtual Bool_t HandleTimer (TTimer *timer)
virtual ULong_t Hash () const
Bool_t HasInconsistentHash () const
virtual void Info (const char *method, const char *msgfmt,...) const
virtual Bool_t InheritsFrom (const char *classname) const
virtual Bool_t InheritsFrom (const TClass *cl) const
virtual void Inspect () const
void InvertBit (UInt_t f)
virtual TClass * IsA () const
Bool_t IsDestructed () const
virtual Bool_t IsEqual (const TObject *obj) const
virtual Bool_t IsFolder () const
R__ALWAYS_INLINE Bool_t IsOnHeap () const
virtual Bool_t IsSortable () const
R__ALWAYS_INLINE Bool_t IsZombie () const
virtual void ls (Option_t *option="") const
void MayNotUse (const char *method) const
virtual Bool_t Notify ()
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
void operator delete (void *ptr)
void operator delete (void *ptr, void *vp)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, void *vp)
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
TObject & operator= (const TObject &rhs)
virtual void Paint (Option_t *option="")
virtual void Pop ()
virtual void Print (Option_t *option="") const
virtual Int_t Read (const char *name)
virtual void RecursiveRemove (TObject *obj)
void ResetBit (UInt_t f)
virtual void SaveAs (const char *filename="", Option_t *option="") const
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
virtual void SetDrawOption (Option_t *option="")
virtual void SetUniqueID (UInt_t uid)
virtual void Streamer (TBuffer &)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
virtual void UseCurrentStyle ()
virtual void Warning (const char *method, const char *msgfmt,...) const
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const

Static Public Member Functions

static unique_ptr< BmnGemStripStationSet > Create (Int_t period, Int_t stp=0)
static unique_ptr< BmnGemStripStationSet > Create (Int_t period, Int_t stp=0)
Static Public Member Functions inherited from TObject
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
static Bool_t GetObjectStat ()
static void SetDtorOnly (void *obj)
static void SetObjectStat (Bool_t stat)

Protected Attributes

Int_t NStations
Double_t * XStationPositions
Double_t * YStationPositions
Double_t * ZStationPositions
Double_t * BeamHoleRadiuses
BmnGemStripStation ** GemStations
map< Int_t, TVector3 > * fStatShifts
Protected Attributes inherited from TObject
 kOnlyPrepStep

Private Member Functions

Bool_t CreateConfigurationFromXMLFile (TString xml_config_file)
Int_t CountNumberOfStations (TXMLNode *node)
Bool_t ParseStation (TXMLNode *node, Int_t iStation)
Bool_t CreateConfigurationFromXMLFile (TString xml_config_file)
Int_t CountNumberOfStations (TXMLNode *node)
Bool_t ParseStation (TXMLNode *node, Int_t iStation)

Additional Inherited Members

Public Types inherited from TObject
enum  EDeprecatedStatusBits
enum  EStatusBits
Public Attributes inherited from TObject
 kIsOnHeap
 kNotDeleted
 kZombie
 kInconsistent
 kBitMask
 kSingleKey
 kOverwrite
 kWriteDelete
 kObjInCanvas
 kCanDelete
 kMustCleanup
 kIsReferenced
 kHasUUID
 kCannotPick
 kNoContextMenu
 kInvalidObject
Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
void MakeZombie ()
Static Protected Member Functions inherited from TObject
static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE)

Detailed Description

Definition at line 14 of file BmnGemStripStationSet.h.

Constructor & Destructor Documentation

◆ BmnGemStripStationSet() [1/6]

◆ BmnGemStripStationSet() [2/6]

BmnGemStripStationSet::BmnGemStripStationSet ( TString xml_config_file,
map< Int_t, TVector3 > * shifts = nullptr )

Definition at line 19 of file BmnGemStripStationSet.cxx.

References BeamHoleRadiuses, CreateConfigurationFromXMLFile(), fStatShifts, GemStations, NStations, XStationPositions, YStationPositions, and ZStationPositions.

Here is the call graph for this function:

◆ BmnGemStripStationSet() [3/6]

BmnGemStripStationSet::BmnGemStripStationSet ( Int_t period,
BmnSetup stp = kBMNSETUP,
map< Int_t, TVector3 > * shifts = nullptr )

Definition at line 36 of file BmnGemStripStationSet.cxx.

References BeamHoleRadiuses, CreateConfigurationFromXMLFile(), fStatShifts, GemStations, kBMNSETUP, TString::Length(), NStations, XStationPositions, YStationPositions, and ZStationPositions.

Here is the call graph for this function:

◆ ~BmnGemStripStationSet() [1/2]

BmnGemStripStationSet::~BmnGemStripStationSet ( )
virtual

◆ BmnGemStripStationSet() [4/6]

BmnGemStripStationSet::BmnGemStripStationSet ( )

◆ BmnGemStripStationSet() [5/6]

BmnGemStripStationSet::BmnGemStripStationSet ( TString xml_config_file,
map< Int_t, TVector3 > * shifts = nullptr )

◆ BmnGemStripStationSet() [6/6]

BmnGemStripStationSet::BmnGemStripStationSet ( Int_t period,
BmnSetup stp = kBMNSETUP,
map< Int_t, TVector3 > * shifts = nullptr )

References kBMNSETUP.

◆ ~BmnGemStripStationSet() [2/2]

virtual BmnGemStripStationSet::~BmnGemStripStationSet ( )
virtual

Member Function Documentation

◆ AddPointToDetector() [1/2]

Bool_t BmnGemStripStationSet::AddPointToDetector ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord,
Double_t px,
Double_t py,
Double_t pz,
Double_t dEloss,
Int_t refID )

Definition at line 166 of file BmnGemStripStationSet.cxx.

References GemStations, and GetPointStationOwnership().

Here is the call graph for this function:

◆ AddPointToDetector() [2/2]

Bool_t BmnGemStripStationSet::AddPointToDetector ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord,
Double_t px,
Double_t py,
Double_t pz,
Double_t dEloss,
Int_t refID )

◆ CountNAddedToDetectorPoints() [1/2]

Int_t BmnGemStripStationSet::CountNAddedToDetectorPoints ( )

Definition at line 187 of file BmnGemStripStationSet.cxx.

References GemStations, and NStations.

◆ CountNAddedToDetectorPoints() [2/2]

Int_t BmnGemStripStationSet::CountNAddedToDetectorPoints ( )

◆ CountNProcessedPointsInDetector() [1/2]

Int_t BmnGemStripStationSet::CountNProcessedPointsInDetector ( )

Definition at line 203 of file BmnGemStripStationSet.cxx.

References GemStations, and NStations.

◆ CountNProcessedPointsInDetector() [2/2]

Int_t BmnGemStripStationSet::CountNProcessedPointsInDetector ( )

◆ CountNumberOfStations() [1/2]

Int_t BmnGemStripStationSet::CountNumberOfStations ( TXMLNode * node)
private

Definition at line 303 of file BmnGemStripStationSet.cxx.

References TXMLNode::GetChildren(), TXMLNode::GetNextNode(), and TXMLNode::GetNodeName().

Referenced by CreateConfigurationFromXMLFile().

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

◆ CountNumberOfStations() [2/2]

Int_t BmnGemStripStationSet::CountNumberOfStations ( TXMLNode * node)
private

◆ Create() [1/2]

unique_ptr< BmnGemStripStationSet > BmnGemStripStationSet::Create ( Int_t period,
Int_t stp = 0 )
static

Definition at line 362 of file BmnGemStripStationSet.cxx.

References f.

Referenced by BmnHistGem::BmnHistGem(), BmnTrackingQaExp::ReadDataBranches(), and BmnOnlineDecoder::StripView().

Here is the caller graph for this function:

◆ Create() [2/2]

unique_ptr< BmnGemStripStationSet > BmnGemStripStationSet::Create ( Int_t period,
Int_t stp = 0 )
static

◆ CreateConfigurationFromXMLFile() [1/2]

Bool_t BmnGemStripStationSet::CreateConfigurationFromXMLFile ( TString xml_config_file)
private

Definition at line 247 of file BmnGemStripStationSet.cxx.

References BeamHoleRadiuses, CountNumberOfStations(), GemStations, TXMLNode::GetChildren(), TXMLNode::GetNextNode(), TXMLNode::GetNodeName(), TXMLDocument::GetRootNode(), TDOMParser::GetXMLDocument(), i, NStations, TDOMParser::ParseFile(), ParseStation(), TXMLParser::SetValidate(), XStationPositions, YStationPositions, and ZStationPositions.

Referenced by BmnGemStripStationSet(), and BmnGemStripStationSet().

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

◆ CreateConfigurationFromXMLFile() [2/2]

Bool_t BmnGemStripStationSet::CreateConfigurationFromXMLFile ( TString xml_config_file)
private

◆ GetBeamHoleRadius() [1/2]

Double_t BmnGemStripStationSet::GetBeamHoleRadius ( Int_t station_num)

Definition at line 141 of file BmnGemStripStationSet.cxx.

References BeamHoleRadiuses, and NStations.

◆ GetBeamHoleRadius() [2/2]

Double_t BmnGemStripStationSet::GetBeamHoleRadius ( Int_t station_num)

◆ GetGemStation() [1/2]

BmnGemStripStation * BmnGemStripStationSet::GetGemStation ( Int_t station_num)

Definition at line 150 of file BmnGemStripStationSet.cxx.

References GemStations, and NStations.

Referenced by CreateItCorrErrs(), CreateItCorrs(), EmbEffView(), GetStation(), makeAlignFile(), plot_align_corrections_bmn(), StripView(), and update_align_corrections_bmn().

Here is the caller graph for this function:

◆ GetGemStation() [2/2]

BmnGemStripStation * BmnGemStripStationSet::GetGemStation ( Int_t station_num)

◆ GetNStations() [1/2]

Int_t BmnGemStripStationSet::GetNStations ( )
inline

Definition at line 39 of file BmnGemStripStationSet.h.

References NStations.

Referenced by CreateItCorrErrs(), CreateItCorrs(), EmbEffView(), BmnAlignerApply::Init(), makeAlignFile(), plot_align_corrections_bmn(), rescaleAmplitudeGem(), StripView(), and update_align_corrections_bmn().

Here is the caller graph for this function:

◆ GetNStations() [2/2]

Int_t BmnGemStripStationSet::GetNStations ( )
inline

Definition at line 39 of file BmnGemStripStationSet.h.

References NStations.

◆ GetPointStationOwnership() [1/4]

Int_t BmnGemStripStationSet::GetPointStationOwnership ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord )

Definition at line 232 of file BmnGemStripStationSet.cxx.

References GemStations, NModules, and NStations.

◆ GetPointStationOwnership() [2/4]

Int_t BmnGemStripStationSet::GetPointStationOwnership ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord )

◆ GetPointStationOwnership() [3/4]

Int_t BmnGemStripStationSet::GetPointStationOwnership ( Double_t zcoord)

Definition at line 212 of file BmnGemStripStationSet.cxx.

References GemStations, NModules, and NStations.

Referenced by AddPointToDetector().

Here is the caller graph for this function:

◆ GetPointStationOwnership() [4/4]

Int_t BmnGemStripStationSet::GetPointStationOwnership ( Double_t zcoord)

◆ GetStation() [1/2]

BmnGemStripStation * BmnGemStripStationSet::GetStation ( Int_t station_num)
inline

Definition at line 45 of file BmnGemStripStationSet.h.

References GetGemStation().

Referenced by BmnRecoTools::FillSetStsHits(), BmnRecoTools::FillSetStsPoints(), rescaleAmplitudeGem(), and TestGEMConfig_Visual().

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

◆ GetStation() [2/2]

BmnGemStripStation * BmnGemStripStationSet::GetStation ( Int_t station_num)
inline

Definition at line 45 of file BmnGemStripStationSet.h.

References GetGemStation().

Here is the call graph for this function:

◆ GetXStationPosition() [1/2]

Double_t BmnGemStripStationSet::GetXStationPosition ( Int_t station_num)

Definition at line 114 of file BmnGemStripStationSet.cxx.

References NStations, and XStationPositions.

◆ GetXStationPosition() [2/2]

Double_t BmnGemStripStationSet::GetXStationPosition ( Int_t station_num)

◆ GetYStationPosition() [1/2]

Double_t BmnGemStripStationSet::GetYStationPosition ( Int_t station_num)

Definition at line 123 of file BmnGemStripStationSet.cxx.

References NStations, and YStationPositions.

◆ GetYStationPosition() [2/2]

Double_t BmnGemStripStationSet::GetYStationPosition ( Int_t station_num)

◆ GetZStationPosition() [1/2]

Double_t BmnGemStripStationSet::GetZStationPosition ( Int_t station_num)

Definition at line 132 of file BmnGemStripStationSet.cxx.

References NStations, and ZStationPositions.

◆ GetZStationPosition() [2/2]

Double_t BmnGemStripStationSet::GetZStationPosition ( Int_t station_num)

◆ ParseStation() [1/2]

Bool_t BmnGemStripStationSet::ParseStation ( TXMLNode * node,
Int_t iStation )
private

Definition at line 316 of file BmnGemStripStationSet.cxx.

References BeamHoleRadiuses, fStatShifts, GemStations, TXMLNode::GetAttributes(), TXMLAttr::GetName(), TXMLAttr::GetValue(), TXMLNode::HasAttributes(), XStationPositions, YStationPositions, and ZStationPositions.

Referenced by CreateConfigurationFromXMLFile().

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

◆ ParseStation() [2/2]

Bool_t BmnGemStripStationSet::ParseStation ( TXMLNode * node,
Int_t iStation )
private

References BmnGemStripStationSet().

Here is the call graph for this function:

◆ ProcessPointsInDetector() [1/2]

void BmnGemStripStationSet::ProcessPointsInDetector ( )

Definition at line 196 of file BmnGemStripStationSet.cxx.

References GemStations, and NStations.

◆ ProcessPointsInDetector() [2/2]

void BmnGemStripStationSet::ProcessPointsInDetector ( )

◆ Reset() [1/2]

void BmnGemStripStationSet::Reset ( )

Definition at line 159 of file BmnGemStripStationSet.cxx.

References GemStations, and NStations.

◆ Reset() [2/2]

void BmnGemStripStationSet::Reset ( )

Member Data Documentation

◆ BeamHoleRadiuses

◆ fStatShifts

map< Int_t, TVector3 > * BmnGemStripStationSet::fStatShifts
protected

◆ GemStations

◆ NStations

◆ XStationPositions

◆ YStationPositions

◆ ZStationPositions


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