BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnSiProfHitMaker Class Reference

#include <BmnSiProfHitMaker.h>

Inheritance diagram for BmnSiProfHitMaker:
Collaboration diagram for BmnSiProfHitMaker:

Public Member Functions

 BmnSiProfHitMaker ()
 BmnSiProfHitMaker (Int_t, Int_t, Bool_t, TString alignFile="default")
virtual ~BmnSiProfHitMaker ()
virtual InitStatus Init ()
virtual void Exec (Option_t *opt)
virtual void Finish ()
void ProcessDigits ()
void SetHitMatching (Bool_t opt=kTRUE)
void SetCurrentConfig (BmnSiProfConfiguration::SiProf_CONFIG config)
void SetXMLConfig (TString xml_file)
virtual void OnlineWrite (const std::unique_ptr< TTree > &resultTree)
 Write task resul to tree.
Public Member Functions inherited from BmnTask
 BmnTask ()
 Default constructor.
 BmnTask (const char *name, Int_t iVerbose=1)
 Standard constructor.
virtual ~BmnTask ()
 Destroy the BmnTask object.
 BmnTask (const BmnTask &)=delete
BmnTask & operator= (const BmnTask &)=delete

Private Member Functions

void LoadDetectorConfiguration ()

Private Attributes

TString fInputPointsBranchName
TString fInputDigitsBranchName
TString fInputDigitMatchesBranchName
TString fOutputHitsBranchName
TString fOutputHitMatchesBranchName
TClonesArray * fBmnSiProfPointsArray
 Input array of SiProf Points.
TClonesArray * fBmnSiProfDigitsArray
TClonesArray * fBmnSiProfDigitMatchesArray
TClonesArray * fBmnSiProfHitsArray
 Output array of SiProf Hits.
TClonesArray * fBmnSiProfHitMatchesArray
 Output array of SiProf Hit Matches.
Bool_t fHitMatching
Bool_t fIsExp
BmnSiProfConfiguration::SiProf_CONFIG fCurrentConfig
TString XMLConfigFile
BmnSiProfStationSet * StationSet
BmnSiProfTransform * GlobalModTransfSet
FairField * fField
TString fBmnEvQualityBranchName
TClonesArray * fBmnEvQuality

Detailed Description

Definition at line 23 of file BmnSiProfHitMaker.h.

Constructor & Destructor Documentation

◆ BmnSiProfHitMaker() [1/2]

◆ BmnSiProfHitMaker() [2/2]

◆ ~BmnSiProfHitMaker()

BmnSiProfHitMaker::~BmnSiProfHitMaker ( )
virtual

Definition at line 68 of file BmnSiProfHitMaker.cxx.

References GlobalModTransfSet, and StationSet.

Member Function Documentation

◆ Exec()

void BmnSiProfHitMaker::Exec ( Option_t * opt)
virtual

Definition at line 164 of file BmnSiProfHitMaker.cxx.

References fBmnEvQuality, fBmnSiProfDigitsArray, fBmnSiProfHitMatchesArray, fBmnSiProfHitsArray, fField, fHitMatching, fIsExp, BmnEventQuality::GetIsGoodEvent(), ProcessDigits(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and workTime.

Here is the call graph for this function:

◆ Finish()

void BmnSiProfHitMaker::Finish ( )
virtual

Definition at line 354 of file BmnSiProfHitMaker.cxx.

References GlobalModTransfSet, StationSet, and workTime.

◆ Init()

InitStatus BmnSiProfHitMaker::Init ( )
virtual

Definition at line 113 of file BmnSiProfHitMaker.cxx.

References fBmnEvQuality, fBmnEvQualityBranchName, fBmnSiProfDigitMatchesArray, fBmnSiProfDigitsArray, fBmnSiProfHitMatchesArray, fBmnSiProfHitsArray, fField, fHitMatching, fInputDigitMatchesBranchName, fInputDigitsBranchName, fOutputHitMatchesBranchName, fOutputHitsBranchName, and LoadDetectorConfiguration().

Here is the call graph for this function:

◆ LoadDetectorConfiguration()

void BmnSiProfHitMaker::LoadDetectorConfiguration ( )
private

Definition at line 79 of file BmnSiProfHitMaker.cxx.

References fCurrentConfig, GlobalModTransfSet, BmnSiProfConfiguration::Run8, BmnSiProfConfiguration::Run9, StationSet, and XMLConfigFile.

Referenced by Init().

Here is the caller graph for this function:

◆ OnlineWrite()

void BmnSiProfHitMaker::OnlineWrite ( const std::unique_ptr< TTree > & resultTree)
virtual
Parameters
resultTree

Reimplemented from BmnTask.

Definition at line 345 of file BmnSiProfHitMaker.cxx.

References fBmnSiProfHitsArray, and fOutputHitsBranchName.

◆ ProcessDigits()

void BmnSiProfHitMaker::ProcessDigits ( )

Definition at line 202 of file BmnSiProfHitMaker.cxx.

References fBmnSiProfDigitMatchesArray, fBmnSiProfDigitsArray, fBmnSiProfHitMatchesArray, fBmnSiProfHitsArray, fHitMatching, BmnSiProfModule::GetIntersectionPoint_LowerLayerClusterSize(), BmnSiProfModule::GetIntersectionPoint_LowerLayerSripPosition(), BmnSiProfModule::GetIntersectionPoint_UpperLayerClusterSize(), BmnSiProfModule::GetIntersectionPoint_UpperLayerSripPosition(), BmnSiProfModule::GetIntersectionPointMatch(), BmnSiProfStation::GetNModules(), BmnStripDigit::GetStation(), BmnStripDigit::GetStripLayer(), BmnStripDigit::GetStripNumber(), BmnStripDigit::GetStripSignal(), GlobalModTransfSet, BmnStripDigit::IsGoodDigit(), BmnSiProfHit::SetClusterSizeInLowerLayer(), BmnSiProfHit::SetClusterSizeInUpperLayer(), BmnHit::SetIndex(), BmnHit::SetModule(), BmnHit::SetStation(), BmnSiProfModule::SetStripMatchInLayer(), BmnSiProfHit::SetStripPositionInLowerLayer(), BmnSiProfHit::SetStripPositionInUpperLayer(), BmnSiProfModule::SetStripSignalInLayer(), BmnSiProfHit::SetStripTotalSignalInLowerLayer(), BmnSiProfHit::SetStripTotalSignalInUpperLayer(), StationSet, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::X(), x, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Y(), y, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Z(), and z.

Referenced by Exec().

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

◆ SetCurrentConfig()

void BmnSiProfHitMaker::SetCurrentConfig ( BmnSiProfConfiguration::SiProf_CONFIG config)
inline

Definition at line 41 of file BmnSiProfHitMaker.h.

References fCurrentConfig.

◆ SetHitMatching()

void BmnSiProfHitMaker::SetHitMatching ( Bool_t opt = kTRUE)
inline

Definition at line 39 of file BmnSiProfHitMaker.h.

References fHitMatching.

◆ SetXMLConfig()

void BmnSiProfHitMaker::SetXMLConfig ( TString xml_file)
inline

Definition at line 43 of file BmnSiProfHitMaker.h.

References fCurrentConfig, BmnSiProfConfiguration::None, and XMLConfigFile.

Member Data Documentation

◆ fBmnEvQuality

TClonesArray* BmnSiProfHitMaker::fBmnEvQuality
private

Definition at line 81 of file BmnSiProfHitMaker.h.

Referenced by Exec(), and Init().

◆ fBmnEvQualityBranchName

TString BmnSiProfHitMaker::fBmnEvQualityBranchName
private

Definition at line 80 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), and Init().

◆ fBmnSiProfDigitMatchesArray

TClonesArray* BmnSiProfHitMaker::fBmnSiProfDigitMatchesArray
private

Definition at line 62 of file BmnSiProfHitMaker.h.

Referenced by Init(), and ProcessDigits().

◆ fBmnSiProfDigitsArray

TClonesArray* BmnSiProfHitMaker::fBmnSiProfDigitsArray
private

Definition at line 61 of file BmnSiProfHitMaker.h.

Referenced by Exec(), Init(), and ProcessDigits().

◆ fBmnSiProfHitMatchesArray

TClonesArray* BmnSiProfHitMaker::fBmnSiProfHitMatchesArray
private

Definition at line 68 of file BmnSiProfHitMaker.h.

Referenced by Exec(), Init(), and ProcessDigits().

◆ fBmnSiProfHitsArray

TClonesArray* BmnSiProfHitMaker::fBmnSiProfHitsArray
private

Definition at line 65 of file BmnSiProfHitMaker.h.

Referenced by Exec(), Init(), OnlineWrite(), and ProcessDigits().

◆ fBmnSiProfPointsArray

TClonesArray* BmnSiProfHitMaker::fBmnSiProfPointsArray
private

Definition at line 60 of file BmnSiProfHitMaker.h.

◆ fCurrentConfig

◆ fField

FairField* BmnSiProfHitMaker::fField
private

Definition at line 78 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), BmnSiProfHitMaker(), Exec(), and Init().

◆ fHitMatching

Bool_t BmnSiProfHitMaker::fHitMatching
private

◆ fInputDigitMatchesBranchName

TString BmnSiProfHitMaker::fInputDigitMatchesBranchName
private

Definition at line 54 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), BmnSiProfHitMaker(), and Init().

◆ fInputDigitsBranchName

TString BmnSiProfHitMaker::fInputDigitsBranchName
private

Definition at line 53 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), BmnSiProfHitMaker(), and Init().

◆ fInputPointsBranchName

TString BmnSiProfHitMaker::fInputPointsBranchName
private

Definition at line 52 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), and BmnSiProfHitMaker().

◆ fIsExp

Bool_t BmnSiProfHitMaker::fIsExp
private

Definition at line 71 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), and Exec().

◆ fOutputHitMatchesBranchName

TString BmnSiProfHitMaker::fOutputHitMatchesBranchName
private

Definition at line 57 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), BmnSiProfHitMaker(), and Init().

◆ fOutputHitsBranchName

TString BmnSiProfHitMaker::fOutputHitsBranchName
private

Definition at line 56 of file BmnSiProfHitMaker.h.

Referenced by BmnSiProfHitMaker(), BmnSiProfHitMaker(), Init(), and OnlineWrite().

◆ GlobalModTransfSet

BmnSiProfTransform* BmnSiProfHitMaker::GlobalModTransfSet
private

◆ StationSet

BmnSiProfStationSet* BmnSiProfHitMaker::StationSet
private

◆ XMLConfigFile

TString BmnSiProfHitMaker::XMLConfigFile
private

Definition at line 74 of file BmnSiProfHitMaker.h.

Referenced by LoadDetectorConfiguration(), and SetXMLConfig().


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