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

#include <BmnSiliconDigitizer.h>

Inheritance diagram for BmnSiliconDigitizer:
Collaboration diagram for BmnSiliconDigitizer:

Public Member Functions

 BmnSiliconDigitizer ()
 BmnSiliconDigitizer (UInt_t run_period)
virtual ~BmnSiliconDigitizer ()
virtual InitStatus Init ()
virtual void Exec (Option_t *opt)
virtual void Finish ()
void ProcessMCPoints ()
void SetOnlyPrimary (Bool_t opt=kFALSE)
void SetStripMatching (Bool_t opt=kTRUE)
void SetUseRealEffects (Bool_t opt=kTRUE)
void SetCurrentConfig (BmnSiliconConfiguration::SILICON_CONFIG config)
void SetXMLConfig (TString xml_file)
void SetNoise (Double_t sigma, Double_t thresh)
 BmnSiliconDigitizer ()
 BmnSiliconDigitizer (UInt_t run_period)
virtual ~BmnSiliconDigitizer ()
virtual InitStatus Init ()
virtual void Exec (Option_t *opt)
virtual void Finish ()
void ProcessMCPoints ()
void SetOnlyPrimary (Bool_t opt=kFALSE)
void SetStripMatching (Bool_t opt=kTRUE)
void SetUseRealEffects (Bool_t opt=kTRUE)
void SetCurrentConfig (BmnSiliconConfiguration::SILICON_CONFIG config)
void SetXMLConfig (TString xml_file)
void SetNoise (Double_t sigma, Double_t thresh)

Private Attributes

TString fInputBranchName
TString fOutputDigitsBranchName
TString fOutputDigitMatchesBranchName
TClonesArray * fBmnSiliconPointsArray
 Input array of Silicon Points.
TClonesArray * fMCTracksArray
 Input array of MC Tracks.
TClonesArray * fBmnSiliconDigitsArray
 Output array of Silicon Digits.
TClonesArray * fBmnSiliconDigitMatchesArray
 Output array of Silicon Digit Matches.
Bool_t fOnlyPrimary
Bool_t fStripMatching
Bool_t fUseRealEffects
FairField * fField
BmnSiliconConfiguration::SILICON_CONFIG fCurrentConfig
TString XMLConfigFile
BmnSiliconStationSet * StationSet
BmnSiliconTransform * GlobalModTransfSet
Double_t fSigma
Double_t fThresh

Detailed Description

Definition at line 19 of file BmnSiliconDigitizer.h.

Constructor & Destructor Documentation

◆ BmnSiliconDigitizer() [1/4]

BmnSiliconDigitizer::BmnSiliconDigitizer ( )

Definition at line 13 of file BmnSiliconDigitizer.cxx.

References fBmnSiliconDigitMatchesArray, fBmnSiliconDigitsArray, fCurrentConfig, fField, fInputBranchName, fOnlyPrimary, fOutputDigitMatchesBranchName, fOutputDigitsBranchName, fSigma, fStripMatching, fThresh, fUseRealEffects, GlobalModTransfSet, BmnSiliconConfiguration::None, and StationSet.

Referenced by BmnSiliconDigitizer().

Here is the caller graph for this function:

◆ BmnSiliconDigitizer() [2/4]

BmnSiliconDigitizer::BmnSiliconDigitizer ( UInt_t run_period)

Definition at line 36 of file BmnSiliconDigitizer.cxx.

References BmnSiliconDigitizer(), fCurrentConfig, BmnSiliconConfiguration::None, BmnSiliconConfiguration::Run8, BmnSiliconConfiguration::Run9, BmnSiliconConfiguration::RunSpring2017, and BmnSiliconConfiguration::RunSpring2018.

Here is the call graph for this function:

◆ ~BmnSiliconDigitizer() [1/2]

BmnSiliconDigitizer::~BmnSiliconDigitizer ( )
virtual

◆ BmnSiliconDigitizer() [3/4]

BmnSiliconDigitizer::BmnSiliconDigitizer ( )

◆ BmnSiliconDigitizer() [4/4]

BmnSiliconDigitizer::BmnSiliconDigitizer ( UInt_t run_period)

◆ ~BmnSiliconDigitizer() [2/2]

virtual BmnSiliconDigitizer::~BmnSiliconDigitizer ( )
virtual

Member Function Documentation

◆ Exec() [1/2]

void BmnSiliconDigitizer::Exec ( Option_t * opt)
virtual

Definition at line 212 of file BmnSiliconDigitizer.cxx.

References entries, fBmnSiliconDigitMatchesArray, fBmnSiliconDigitsArray, fBmnSiliconPointsArray, fStripMatching, ProcessMCPoints(), and workTime.

Here is the call graph for this function:

◆ Exec() [2/2]

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

◆ Finish() [1/2]

void BmnSiliconDigitizer::Finish ( )
virtual

Definition at line 431 of file BmnSiliconDigitizer.cxx.

References GlobalModTransfSet, StationSet, and workTime.

◆ Finish() [2/2]

virtual void BmnSiliconDigitizer::Finish ( )
virtual

◆ Init() [1/2]

◆ Init() [2/2]

virtual InitStatus BmnSiliconDigitizer::Init ( )
virtual

◆ ProcessMCPoints() [1/2]

void BmnSiliconDigitizer::ProcessMCPoints ( )

Definition at line 239 of file BmnSiliconDigitizer.cxx.

References fBmnSiliconDigitMatchesArray, fBmnSiliconDigitsArray, fBmnSiliconPointsArray, fMCTracksArray, fOnlyPrimary, fSigma, fStripMatching, fThresh, BmnSiliconStation::GetModule(), CbmMCTrack::GetMotherId(), BmnSiliconStation::GetNModules(), BmnSiliconModule::GetNStripLayers(), BmnSiliconModule::GetStripMatchInZone(), BmnSiliconLayer::GetZoneID(), GlobalModTransfSet, signal(), 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:

◆ ProcessMCPoints() [2/2]

void BmnSiliconDigitizer::ProcessMCPoints ( )

◆ SetCurrentConfig() [1/2]

void BmnSiliconDigitizer::SetCurrentConfig ( BmnSiliconConfiguration::SILICON_CONFIG config)
inline

Definition at line 42 of file BmnSiliconDigitizer.h.

References fCurrentConfig.

Referenced by run8_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_filter(), run_sim_src(), and SimulateLambdaPassing().

Here is the caller graph for this function:

◆ SetCurrentConfig() [2/2]

void BmnSiliconDigitizer::SetCurrentConfig ( BmnSiliconConfiguration::SILICON_CONFIG config)
inline

Definition at line 42 of file BmnSiliconDigitizer.h.

References fCurrentConfig.

◆ SetNoise() [1/2]

void BmnSiliconDigitizer::SetNoise ( Double_t sigma,
Double_t thresh )
inline

Definition at line 50 of file BmnSiliconDigitizer.h.

References fSigma, and fThresh.

Referenced by run_sim_bmn(), run_sim_bmn(), and run_sim_bmn().

Here is the caller graph for this function:

◆ SetNoise() [2/2]

void BmnSiliconDigitizer::SetNoise ( Double_t sigma,
Double_t thresh )
inline

Definition at line 50 of file BmnSiliconDigitizer.h.

References fSigma, and fThresh.

◆ SetOnlyPrimary() [1/2]

void BmnSiliconDigitizer::SetOnlyPrimary ( Bool_t opt = kFALSE)
inline

Definition at line 36 of file BmnSiliconDigitizer.h.

References fOnlyPrimary.

Referenced by run_sim_filter(), run_sim_src(), and SimulateLambdaPassing().

Here is the caller graph for this function:

◆ SetOnlyPrimary() [2/2]

void BmnSiliconDigitizer::SetOnlyPrimary ( Bool_t opt = kFALSE)
inline

Definition at line 36 of file BmnSiliconDigitizer.h.

References fOnlyPrimary.

◆ SetStripMatching() [1/2]

void BmnSiliconDigitizer::SetStripMatching ( Bool_t opt = kTRUE)
inline

Definition at line 38 of file BmnSiliconDigitizer.h.

References fStripMatching.

Referenced by run_sim_filter().

Here is the caller graph for this function:

◆ SetStripMatching() [2/2]

void BmnSiliconDigitizer::SetStripMatching ( Bool_t opt = kTRUE)
inline

Definition at line 38 of file BmnSiliconDigitizer.h.

References fStripMatching.

◆ SetUseRealEffects() [1/2]

void BmnSiliconDigitizer::SetUseRealEffects ( Bool_t opt = kTRUE)
inline

Definition at line 40 of file BmnSiliconDigitizer.h.

References fUseRealEffects.

Referenced by run8_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_bmn(), run_sim_filter(), and SimulateLambdaPassing().

Here is the caller graph for this function:

◆ SetUseRealEffects() [2/2]

void BmnSiliconDigitizer::SetUseRealEffects ( Bool_t opt = kTRUE)
inline

Definition at line 40 of file BmnSiliconDigitizer.h.

References fUseRealEffects.

◆ SetXMLConfig() [1/2]

void BmnSiliconDigitizer::SetXMLConfig ( TString xml_file)
inline

◆ SetXMLConfig() [2/2]

void BmnSiliconDigitizer::SetXMLConfig ( TString xml_file)
inline

Member Data Documentation

◆ fBmnSiliconDigitMatchesArray

TClonesArray * BmnSiliconDigitizer::fBmnSiliconDigitMatchesArray
private

◆ fBmnSiliconDigitsArray

TClonesArray * BmnSiliconDigitizer::fBmnSiliconDigitsArray
private

◆ fBmnSiliconPointsArray

TClonesArray * BmnSiliconDigitizer::fBmnSiliconPointsArray
private

Definition at line 62 of file BmnSiliconDigitizer.h.

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

◆ fCurrentConfig

BmnSiliconConfiguration::SILICON_CONFIG BmnSiliconDigitizer::fCurrentConfig
private

◆ fField

FairField * BmnSiliconDigitizer::fField
private

Definition at line 77 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer().

◆ fInputBranchName

TString BmnSiliconDigitizer::fInputBranchName
private

Definition at line 57 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer(), and Init().

◆ fMCTracksArray

TClonesArray * BmnSiliconDigitizer::fMCTracksArray
private

Definition at line 65 of file BmnSiliconDigitizer.h.

Referenced by Init(), and ProcessMCPoints().

◆ fOnlyPrimary

Bool_t BmnSiliconDigitizer::fOnlyPrimary
private

Definition at line 73 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer(), Init(), ProcessMCPoints(), and SetOnlyPrimary().

◆ fOutputDigitMatchesBranchName

TString BmnSiliconDigitizer::fOutputDigitMatchesBranchName
private

Definition at line 59 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer(), and Init().

◆ fOutputDigitsBranchName

TString BmnSiliconDigitizer::fOutputDigitsBranchName
private

Definition at line 58 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer(), and Init().

◆ fSigma

Double_t BmnSiliconDigitizer::fSigma
private

Definition at line 84 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer(), ProcessMCPoints(), and SetNoise().

◆ fStripMatching

Bool_t BmnSiliconDigitizer::fStripMatching
private

◆ fThresh

Double_t BmnSiliconDigitizer::fThresh
private

Definition at line 85 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer(), ProcessMCPoints(), and SetNoise().

◆ fUseRealEffects

Bool_t BmnSiliconDigitizer::fUseRealEffects
private

Definition at line 75 of file BmnSiliconDigitizer.h.

Referenced by BmnSiliconDigitizer(), and SetUseRealEffects().

◆ GlobalModTransfSet

BmnSiliconTransform * BmnSiliconDigitizer::GlobalModTransfSet
private

◆ StationSet

BmnSiliconStationSet * BmnSiliconDigitizer::StationSet
private

◆ XMLConfigFile

TString BmnSiliconDigitizer::XMLConfigFile
private

Definition at line 80 of file BmnSiliconDigitizer.h.

Referenced by Init(), and SetXMLConfig().


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