BmnRoot 26.10.0-18-g4e3414f9
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.
 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
 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 ()
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/4]

BmnSiProfHitMaker::BmnSiProfHitMaker ( )

Definition at line 14 of file BmnSiProfHitMaker.cxx.

References fCurrentConfig, fField, fHitMatching, fInputDigitMatchesBranchName, fInputDigitsBranchName, fInputPointsBranchName, fOutputHitMatchesBranchName, fOutputHitsBranchName, GlobalModTransfSet, BmnSiProfConfiguration::None, and StationSet.

Referenced by LoadDetectorConfiguration().

Here is the caller graph for this function:

◆ BmnSiProfHitMaker() [2/4]

◆ ~BmnSiProfHitMaker() [1/2]

BmnSiProfHitMaker::~BmnSiProfHitMaker ( )
virtual

Definition at line 68 of file BmnSiProfHitMaker.cxx.

References GlobalModTransfSet, and StationSet.

◆ BmnSiProfHitMaker() [3/4]

BmnSiProfHitMaker::BmnSiProfHitMaker ( )

◆ BmnSiProfHitMaker() [4/4]

BmnSiProfHitMaker::BmnSiProfHitMaker ( Int_t ,
Int_t ,
Bool_t ,
TString alignFile = "default" )

◆ ~BmnSiProfHitMaker() [2/2]

virtual BmnSiProfHitMaker::~BmnSiProfHitMaker ( )
virtual

Member Function Documentation

◆ Exec() [1/2]

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:

◆ Exec() [2/2]

virtual void BmnSiProfHitMaker::Exec ( Option_t * opt)
virtual

◆ Finish() [1/2]

void BmnSiProfHitMaker::Finish ( )
virtual

Definition at line 354 of file BmnSiProfHitMaker.cxx.

References GlobalModTransfSet, StationSet, and workTime.

◆ Finish() [2/2]

virtual void BmnSiProfHitMaker::Finish ( )
virtual

◆ Init() [1/2]

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:

◆ Init() [2/2]

virtual InitStatus BmnSiProfHitMaker::Init ( )
virtual

◆ LoadDetectorConfiguration() [1/2]

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:

◆ LoadDetectorConfiguration() [2/2]

void BmnSiProfHitMaker::LoadDetectorConfiguration ( )
private

References BmnSiProfHitMaker().

Here is the call graph for this function:

◆ OnlineWrite() [1/2]

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.

◆ OnlineWrite() [2/2]

◆ ProcessDigits() [1/2]

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:

◆ ProcessDigits() [2/2]

void BmnSiProfHitMaker::ProcessDigits ( )

◆ SetCurrentConfig() [1/2]

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

Definition at line 41 of file BmnSiProfHitMaker.h.

References fCurrentConfig.

◆ SetCurrentConfig() [2/2]

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

Definition at line 41 of file BmnSiProfHitMaker.h.

References fCurrentConfig.

◆ SetHitMatching() [1/2]

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

Definition at line 39 of file BmnSiProfHitMaker.h.

References fHitMatching.

◆ SetHitMatching() [2/2]

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

Definition at line 39 of file BmnSiProfHitMaker.h.

References fHitMatching.

◆ SetXMLConfig() [1/2]

void BmnSiProfHitMaker::SetXMLConfig ( TString xml_file)
inline

Definition at line 43 of file BmnSiProfHitMaker.h.

References fCurrentConfig, BmnSiProfConfiguration::None, and XMLConfigFile.

◆ SetXMLConfig() [2/2]

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(), Init(), and OnlineWrite().

◆ fBmnEvQualityBranchName

TString BmnSiProfHitMaker::fBmnEvQualityBranchName
private

Definition at line 80 of file BmnSiProfHitMaker.h.

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

◆ fBmnSiProfDigitMatchesArray

TClonesArray * BmnSiProfHitMaker::fBmnSiProfDigitMatchesArray
private

Definition at line 62 of file BmnSiProfHitMaker.h.

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

◆ fBmnSiProfDigitsArray

TClonesArray * BmnSiProfHitMaker::fBmnSiProfDigitsArray
private

Definition at line 61 of file BmnSiProfHitMaker.h.

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

◆ fBmnSiProfHitMatchesArray

TClonesArray * BmnSiProfHitMaker::fBmnSiProfHitMatchesArray
private

Definition at line 68 of file BmnSiProfHitMaker.h.

Referenced by Exec(), Init(), OnlineWrite(), 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.

Referenced by OnlineWrite().

◆ fCurrentConfig

◆ fField

FairField * BmnSiProfHitMaker::fField
private

Definition at line 78 of file BmnSiProfHitMaker.h.

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

◆ fHitMatching

Bool_t BmnSiProfHitMaker::fHitMatching
private

◆ fInputDigitMatchesBranchName

TString BmnSiProfHitMaker::fInputDigitMatchesBranchName
private

Definition at line 54 of file BmnSiProfHitMaker.h.

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

◆ fInputDigitsBranchName

TString BmnSiProfHitMaker::fInputDigitsBranchName
private

Definition at line 53 of file BmnSiProfHitMaker.h.

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

◆ fInputPointsBranchName

TString BmnSiProfHitMaker::fInputPointsBranchName
private

Definition at line 52 of file BmnSiProfHitMaker.h.

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

◆ fIsExp

Bool_t BmnSiProfHitMaker::fIsExp
private

Definition at line 71 of file BmnSiProfHitMaker.h.

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

◆ fOutputHitMatchesBranchName

TString BmnSiProfHitMaker::fOutputHitMatchesBranchName
private

Definition at line 57 of file BmnSiProfHitMaker.h.

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

◆ 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

◆ XMLConfigFile

TString BmnSiProfHitMaker::XMLConfigFile
private

Definition at line 74 of file BmnSiProfHitMaker.h.

Referenced by LoadDetectorConfiguration(), OnlineWrite(), and SetXMLConfig().


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